Cannon rotation problems...

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
I'm really struggling with this. I just can't seem to get this to work for me today.

My game is in a profile layout. I have a cannon at the center at the bottom. Bricks fly in from the top of the screen and the player shoots the cannon at the bricks to beat the level. Simple, right?

I want my cannon to rotate to where the player shoots towards. Since the game is in profile mode, the cannon .png file is obviously facing to the right.

When the level starts, i want the cannon facing upwards (towards where the bricks are flying in from) but still be able to rotate to where the player shoots. As it starts now, the paddle is rotated to the right before the player clicks/touches anywhere.

How do I fix this?

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    Whoa. I'm dumb today. I figured it out. Just put in a change attribute self.rotation to 90 in the OTHERWISE section of my rule.
Sign In or Register to comment.