View Full Version : help with game component...
08-04-2003, 10:17 AM
ok guys im at the start of making a fighting game in flash , but i wanna make a create a char option where people can scroll through numerious heads / bodies and legs to eventually create the look of their character how ever i want the character to minatain his looks in the fight ...how would i go about this?
any help at all is greatly appreciated
08-05-2003, 02:21 AM
make a variable equal the persons choice, not sure just guessing.
and then use that varible in the rest of the game
08-05-2003, 02:36 AM
I am working on a game with a similar requirement. Basically when the user goes through and chooses the different components of the character you set a variable for which one is chosen. Then you have a movie clip that is the character that has all possible options for the different pieces that make up the character. Then you just tell each clip what label it needs to be on.
If you want to store the infor for later plays you can even store the "DNA" in a cookie and parse the cookie in flash.
Just a few thoughts.
08-05-2003, 06:32 AM
anychance you could show me some sample code so i know which direction to be working in?
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.