Random Person/Name Generator

Show us your completed creations made in Construct 2

Post » Wed Mar 23, 2016 4:23 am

Not a game. Thought this might be useful for those that need randomly generated names (for example: zombie survival game where you randomly find another person to add to your party; random name suggestions for characters, etc.)

I made this a while ago so a little rough looking and no frills added but serves its purpose as an example:
Preview: http://www.loubagel.com/RandomPeople/index.html
(click on sprites to see the randomly given names and location)

capx: https://www.dropbox.com/s/vkn2q2c8zfcl6 ... .capx?dl=0

In my example the XML Contains:
Top 100 male first names in US
Top 100 female first names in US (not used as I was too lazy to make female sprites)
Top 1000 last names in US
Most populous States cities in US (maybe top 250, can't remember)
I took these all from internet lists I found, copied into Excel and converted to an XML file.

Using random value between 1 and nodeCount it will randomly assign a name and location.

For those not familiar with XML you can take a look at the path expressions here and that's pretty much all you need to know to use with Construct:
http://www.w3schools.com/xsl/xpath_syntax.asp
(boo W3schools all you want but best explanation I've seen for beginners)

Let me know if I can clarify anything, any thoughts/ideas, or have any questions about it.

I've found XML very useful and an organized way to deal with a lot of aspects: lines of text for the story or that characters say, enemy stats, instructions at beginning of game, even calling Construct functions from it. Just saying this as if you have any other XML related questions feel free to ask me.

Hope some people find it useful!
ImageImageImage
B
48
S
27
G
11
Posts: 549
Reputation: 10,772

Post » Wed Mar 30, 2016 2:08 am

Thank you very much. It helped me quite a bit :)
Cheers.
B
37
S
4
G
5
Posts: 6
Reputation: 5,040

Post » Fri Jan 05, 2018 12:03 am

Message: kaushalmalkan11 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Temoana wrote:Thank you very much. It helped me quite a bit :)
Cheers.


There are already several such tools to generate unique username. Some of them are:

1 Jimpix
2 Best Username Generator
3 Speedy Password (Personal Favourite)
4 SpinXO
5 Screen Name Generator
6 Rum & Monkey

There are other great https://www.techwhoop.com/random-username-generator/ Random Username Generator websites too but I would suggest you to read more about them before deciding which one would be best for you.

Hope it helps you.
Banned User
B
2
Posts: 1
Reputation: 152


Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 2 guests