Page 1 of 1

Charecter select

PostPosted: Sun Aug 27, 2006 3:47 pm
by zatchbell
is there anyway i can make a charecter select screen for my megaman game i want to be able for the player to play more than megaman oh yah and in the charecter select is there any way i can make the charecters locked and put a way to unlock them one by one :D :D plz respond i only have 11 more trial days left :cry:

PostPosted: Mon Aug 28, 2006 5:28 pm
by makslane
There is other ways, but now, I can think you can use multiple actors, one for each character. You can try this:

1) Make a base actor thats will hold all character actions (move, attack ...)
2) Create the 'skin' actors that will have the animations and will inherit the events from the base actor.

So, you will need make just one actor to make all work, and put the animations in the skin actors.

To make the selection, you can use a 'Mouse Button Down' event, check the name of the actor (an skin), and create the player with the same name.



To control the lock, you can create a lock variable, and check this when the user try select the actor.

PostPosted: Tue Sep 19, 2006 3:26 pm
by relaxis
I'm interested in this too -

I want the player to be able to select 1 of 4 different characters and depending on the character, start in a different map.

Anyone have any ideas?

PostPosted: Sat Sep 30, 2006 5:17 am
by Koba
Just as mak said. Make an actor, and put all 4 characters' animations inside it. then, for the chatacter selection screen, just make 4 dummy clones of the actor, and leave one original off the screen for gameplay usage. then make your button events and everything, and when a certain character is selected, simply delete the 4 dummy actors, move the original actor to the desired place on the screen, and change its animation to the character that was selected. you now have a custom selected character, and can set its power and capabilities according to which one was picked :P

PostPosted: Sat Sep 30, 2006 7:19 am
by Fuzzy
Put an actor with an image of all the characters in one, then use a click event, and get the x and y of the mouse at that time. use that you look up the actor from a list.

This is the way to do it with the least amount of actors.