rotation problem narrowed down

Hey all, so this is a tough one. Hope you like a challenge. I have a background set up that when I click it, an actor is spawned and it cause another actor to fly off. I have it so that as soon as the second actor flies actor1 is destroyed so you can click again and make actro2 rotate 360 degrees while it is flying. I am using interpolate and an attribute to cause actor1 self.rotate to rotate 360 degrees. I want to set it up so it counts the rotations and multiplies the over all score with each successful rotation.
I am having 3 problems with this though. The first is if you tap while the actor is rotating it slows down the rotation, I need touch to be turned off while it is rotating I guess. Second, I have a rule that when the actor reaches a certain degree value, 360 in this case, add +1 to an integer attribute I made in the main game called RotationCount.
Third, when I tap in the lower left area of the screen it messes up the trajectory and velocity rather severely by adding to it and making the actor fly really far.
My last question is this, my game is pretty complex and has a lot of actors and rules, is that normal? It's my first game. Thanks guys! Forum communication rules!
SM
`-- Merged with similar thread -- tenrdrmer`
I am having 3 problems with this though. The first is if you tap while the actor is rotating it slows down the rotation, I need touch to be turned off while it is rotating I guess. Second, I have a rule that when the actor reaches a certain degree value, 360 in this case, add +1 to an integer attribute I made in the main game called RotationCount.
Third, when I tap in the lower left area of the screen it messes up the trajectory and velocity rather severely by adding to it and making the actor fly really far.
My last question is this, my game is pretty complex and has a lot of actors and rules, is that normal? It's my first game. Thanks guys! Forum communication rules!
SM
`-- Merged with similar thread -- tenrdrmer`
Comments
The problem is if you tap while the actor is rotating it slows down the rotation, I need touch to be turned off while it is rotating I guess.
The last problem is that when I tap in the lower half of the screen the rotation messes up the trajectory and velocity rather severely by adding to it and making the actor fly really far.
My last question is this, my game is pretty complex and has a lot of actors and rules, is that normal? It's my first game. Thanks guys!
SM