As my actor moves, have it go slightly up and down
daverenner
Member Posts: 133
i have actors that automatically move across the screen. How can i have it so they kinda move up and down sorta like a sine wave?
Comments
when RIGHT = true (or whatever tells your character to move right).
RULE - if self.positionY=120 (characters height on screen)
interpolate self.positionY to 123 - Linear
duration 0.1
RULE - if self.positionY=123
interpolate self.positionY to 120 - Linear
duration 0.1
Change the amount and duration for the effect you need..