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
85
S
27
G
85
Posts: 5,062
Reputation: 57,858


Return to How do I....?

Who is online

Users browsing this forum: KittenKatja, LaDestitute, ladjuric, SnipG, Zjahel0001 and 10 guests