Hello All!
I wanted to rotate a Rectangle Clockwise which has different colors, on every click it change its angle like
On touch object----> Rotate 90 degree
if touch 2nd time so rotate to 180, and then to 360
How can i do it by touching an object and rotate to every angle clockwise like in this link
http://tanksw.com/impossible-rush/
Thanks for help!
Develop games in your browser. Powerful, performant & highly capable.
Hello All! I wanted to rotate a Rectangle Clockwise which has different colors, on every click it change its angle like On touch object----> Rotate 90 degree if touch 2nd time so rotate to 180, and then to 360 How can i do it by touching an object and rotate to every angle clockwise like in this link http://tanksw.com/impossible-rush/ Thanks for help!
it's very easy to do,
on object rectangle touched condition -> set angle -> self.angle+90
[quote:lnh1mlwy]it's very easy to do,
Thank you very much i got that and implement it,
Its work fine now
I really appreciated friend!
[quote:1znoi1jh]it's very easy to do, on object rectangle touched condition -> set angle -> self.angle+90
[quote:1znoi1jh]it's very easy to do,
pleased to be helpful to you
Thanks you