I thought i would have a go at making a platform game in Flash MX 2004.
However i can’t get my charecter move
I have tried so much, however, i’m just stupid!
I am trying to script my movie clip so that:
When the key ‘E’ is pressed the charecter moves right.
When the key ‘Q’ is pressed the charecter moves left.
When the key ‘W’ is pressed the charecter jumps.
When the key ‘S’ is pressed the charecter crouches (either changses to crouching movie clip or squashes current movie script if this is possible.).
When the key ‘D’ is pressed the charecter moves right while crouched.
When the key ‘A’ is pressed the charecter moves left while crouched.
I have a charecter that is a movie clip. This is what i want to move.
When the charecter jumps or is in the air i want my charecter to fall down until it reaches a movie clip with the instance name of ‘platform’
When the charecter crouches i either want it to change movieclip or sqaush the current movie clip.
The charecter must alwaysbe touching a platform unless if it is jumping
Please can someone help me?
This is what i have. I have removed the actionscript that i had because it didn’t work Please can someone tell me what i should put, or even better alter the file for me