Character Facing and Firing?
Hello,
While waiting for my first game to get approved by Apple I'm starting another.
I'm working on a platformer. I have the player moving left and right based off of the accelerometer, even speeding up if the device is tilted further. What I can't figure out is how to make the actor turn to face the direction he is going. Also, My player can shoot, but again only in one direction even when moving the other way.
Is there a template that shows the settings I need to adjust? I looked through the GS ones and did not see anything.
Thanks!
While waiting for my first game to get approved by Apple I'm starting another.
I'm working on a platformer. I have the player moving left and right based off of the accelerometer, even speeding up if the device is tilted further. What I can't figure out is how to make the actor turn to face the direction he is going. Also, My player can shoot, but again only in one direction even when moving the other way.
Is there a template that shows the settings I need to adjust? I looked through the GS ones and did not see anything.
Thanks!
Comments
I've figured out the character facing issue, I set an attribute and change the image based off of that.
However the firing of the projectile is still buggy. It launches fine but the character changes directions after the launch the projectile changes too.
Rich