How do you make a sprite move in circles and forward?

Get help using Construct 2

Post » Sun Dec 06, 2015 7:38 am

I know how you make a sprite move in circles. You make it move in waves forward and make it change direction after one way and you got a circle movement. But this only makes the sprite move in circles in one life not forward. So how do you make a sine sprite move forward.
B
11
S
2
Posts: 262
Reputation: 1,309

Post » Sun Dec 06, 2015 8:36 am

Here's one way

Every tick
> Sprite: move forward 100*dt pixels
> Sprite: rotate 10*dt degrees clockwise
> Sprite: set X to self.x+50*dt
B
91
S
31
G
99
Posts: 5,192
Reputation: 65,670


Return to How do I....?

Who is online

Users browsing this forum: giorgio1982, Google [Bot], Xh3maa and 2 guests