How to repeat a movement?
Games4life
Member, PRO Posts: 279
Hey all,
At the beginning of the game I want my finger actor to move to the right of the screen and repeat this action. This is almost like a mini tutorial of how to move the main character.
Example
1= The finger
1------>1
repeats
the finger goes back to starting point and repeats
1------>1
1------>
Thanks
~G4L
Comments
Constrain X position to:
R *cos((( self.Time *S)%180)+180)+C
R=Range of movement
S=Speed
C=Centre of movement
Demo file attached:
Thanks for your help!