I just want to know the script so when you click on a character or stage you can play as that character. i have an idea of how it might work but i'm asking just to be sure so can anyone help me out?

Offline
Can someone help me please

Offline
<switch to costume[ <{ character }>

Offline
Bluestribute wrote:
<switch to costume[ <{ character }>
Actually i know that won't work. they to be individual sprites

Offline
joeisawesome wrote:
Bluestribute wrote:
<switch to costume[ <{ character }>
Actually i know that won't work. they to be individual sprites
<if><( <{ character }> <=> 1 )>
<if><( <{ character }> <=> 2 )>
<if><( <{ character }> <=> 3 )>
etc

Offline
I might have an idea!
for the charcter selectors:
<when green flag clicked>
<set{ character # }to( 0
<when[ character selector clicked ]clicked>
<set{ character # }to( the # of the character you clicked
And for the characters:
<when green flag clicked>
<hide>
<forever if>
<( <{ character # }> <=> this character's # )>
<show>
<end>

Offline
Hi joeisawesome,
I already tried out creating "select-a-character". You can see it here: joeisawesome Its my racing project.
Maybe it's too difficult to understand all of the other scripts , I'll explain it here:
On your menu, you have one sprite for each selectable character.
Create a script "When ___ clicked, set character_selected to 1 (replace 1 by the number of your character)
Now create: when i receive "start", if not charcacter_selected=1, hide
Is that clear? I'm not that good at explaining things...
Which is actually your example
PS: I removed one image from your signature, it was fun, but remember there are very young kids here - it was a bit violent, not?
Offline
<when[ picture ]clicked>
<broadcast[ MArio.
On mario start with all when I recieve scripts rather than useing a bunch of variable and stuff. An example wuold be my Super smash bros game.
Oh, and I agree with jso about the sig.
Last edited by Bobby500 (2008-08-08 06:33:44)
Offline
I'm gonna miss that sig... :'(

Offline