Move in the circle
IsabelleK
Member, Sous Chef Posts: 2,807
Hello, is it possible to make in GS:
1. I have a long actor (20x100), and he is placed in the middle of the screen. I designed game for iPhone, and I would like to be able to rotate this actor, holding it with my finger. It have to move in the perfect circle (somthing like propeller).
If this is possible, how to do it?
Thank you very much.
1. I have a long actor (20x100), and he is placed in the middle of the screen. I designed game for iPhone, and I would like to be able to rotate this actor, holding it with my finger. It have to move in the perfect circle (somthing like propeller).
If this is possible, how to do it?
Thank you very much.
Comments
should work if i understood your problem ok
if you only want it to rotate while the touch is on the actor, put the constrain inside a rule if touch is inside.
http://2.bp.blogspot.com/_K0mZvoYUgnQ/S3wEaTVGcAI/AAAAAAAAABM/9t_z2s-8drE/s320/golden+key.png
Player is able to tap on the hand of a clock, and holding his finger on this actor, move him in the circle. When he releases his finger, the hand of clock will stay on the current position.
So I want to make something like that, but with the propeller:
http://www.timtim.com/public/images/drawings/large/001516_Propeller.gif
Thank you for your reply
firemaplegames's Rotation DEMO