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
12
S
2
Posts: 267
Reputation: 1,344

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
100
S
38
G
134
Posts: 5,554
Reputation: 85,321


Return to How do I....?

Who is online

Users browsing this forum: burak22, kelany, R0J0hound and 7 guests