Random characters

Recommended Posts

dthrasher90, what are you looking for in your random npc?

Do you want a random name?

Do you want a random sprite?

Do you want an npc that will walk around randomly?

There are a lot of different factors that define what an "npc" is. What are you trying to do here?

Share this post

Link to post
Share on other sites

Okay, so you need a name. First name and last name? One word? Two? Special characters?

What kind of stats? What does your game need? Health? Number of fingers? Are the values strings? Arrays? Whole numbers? Fractions?

All the properties you're looking for are unique to your game, and the only API for that is one that you build. Define the list of all the properties that you need for each NPC, then start looking for ways to come up with those values.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.