Character design

Need help with an engine or coding not on the list? Need help with a game or the website and forums here? Direct all questions here.

Character design

Postby Connor » Fri Jan 20, 2017 12:57 am

How would i go about creating a "character design" script?
For example, you chose a male or female body with the default clothing, and then as you progress in the game you will be able to changs their eyes, hair, coat, t-shirt etc

Is something like this hard to do?

Thanks!
Connor
 
Posts: 11
Joined: Wed Jan 18, 2017 12:41 am
Has thanked: 1 time
Been thanked: 0 time

Re: Character design

Postby hallsofvallhalla » Fri Jan 20, 2017 1:46 am

I am assuming web browser. You could do it with javascript and Divs or HTML5. Basically just have a image location on each area and change the image via script based on what is stored in the db.
User avatar
hallsofvallhalla
Site Admin
 
Posts: 11634
Images: 13
Joined: Wed Apr 22, 2009 6:29 pm
Location: mobile, al
Has thanked: 11 times
Been thanked: 132 times
Blog: View Blog (3)

Re: Character design

Postby Oroton » Sat Mar 04, 2017 8:34 pm

If you search the web there was a website addon called Living Avatars which was a standalone dynamic avatar system.

it was an amazing way to add images to make an avatar and was fairly lightweight

similar to the nulavatar days of phpbb.. I believe this project is dead, but it was written in codeignitor.
https://github.com/tylerdiaz/Crysandrea
Oroton
 
Posts: 36
Joined: Tue Dec 01, 2015 11:56 pm
Has thanked: 9 times
Been thanked: 1 time

Re: Character design

Postby Jackolantern » Mon Mar 06, 2017 11:47 pm

If the images are static (as in, no animation) there are several libraries out there that handle stuff like this. I don't know of any off the top of my head but they are often called "paper doll" or "human avatar" systems. If the characters are animated, it gets a bit more complicated then and no off-the-shelf library is going to meet that need. At that point it becomes more about trying to find a way to prevent having to animate all of the pieces of clothing, hair, etc. That is why in most 16-bit era RPGs, character's hair and shirt don't move when they walk so they just need the 3 directions of the hat and shirt art assets (you only need one left or right of course, since they can be reversed) and position them over the base avatar sprite.
The indelible lord of tl;dr
User avatar
Jackolantern
 
Posts: 10621
Joined: Wed Jul 01, 2009 6:00 pm
Location: Houston, TX
Has thanked: 20 times
Been thanked: 73 times
Blog: View Blog (1)


Return to Advanced Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x