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
88
S
30
G
89
Posts: 5,113
Reputation: 60,337


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest