View Single Post
Stuck making a platform game! Please help!
Old
mcb0193
Guest
 
Status:
Posts: n/a
Unhappy Stuck making a platform game! Please help! - 04-03-2011, 06:39 PM

I am making a side-scrolling platformer, and would like to make it so that the character turns in the direction that she moves (ex: if she is facing right, and the user tells her to move left, she turns around before moving). I also want to make it so that the turn method won't be called if she is already facing in the direction of the movement. I figured I'd need to use an if/else statement for this, but I can't find a function for it.

I've uploaded the file below for reference. I will greatly appreciate any help.
Attached Files
File Type: a2w platform game.a2w (1.38 MB, 16 views)
   
Reply With Quote