Posted By
|
Message
|
..:.Phox.:..
Registered 18/02/2005
Points 646
|
5th August, 2005 at 07:34:52 -
Hey,
I'm working on a new game, where you can personalize your character: name;age;Race;Abbilitie;and then I want to chose a sprito to be him in the next frame.
I'd like to have lot's of sprites side by side, and then when I click the character,
that character would be in the next frame...
Can anyone help me?
THANX
Profile edited as it messed the layout of the site up.
|
Radix hot for teacher
Registered 01/10/2003
Points 3139
|
5th August, 2005 at 12:16:19 -
Number all your sprites on the selection screen. When the user picks one, have it's number (whatever you want it to be) stored somewhere global.
Have all the possible sprites used at the same time in your code. Have them all positioned in the same place and have an event that applies to one apply to all. Then make them all invisible, and at runtime use the number stored when the user selected their sprite to determine which one is made visible. Or you could destroy the rest. Whatever.
Name and stats are the same thing. Store them somewhere global and retrieve them when you need them.
n/a
|
..:.Phox.:..
Registered 18/02/2005
Points 646
|
5th August, 2005 at 20:44:42 -
Can I use this same method to make MMORPG's?
Like, When I chose a character, for the other to see the one I selected...
Profile edited as it messed the layout of the site up.
|
Deleted User
|
5th August, 2005 at 21:36:46 -
uhhh yeh i think that would ork fo MMORPGS
|
Radix hot for teacher
Registered 01/10/2003
Points 3139
|
5th August, 2005 at 21:44:00 -
Sgt.ShadowStorm: Yeah, basically you'd just transmit the ID number of your selected sprite to the other players. But MOGs are probably a bit beyond you at this point.
n/a
|
|
|