Quote:
Originally Posted by mcb0193
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.
|
im kinda stumped on this one, try using some boleon variables though