How do I make a Sprite go in a circle?

Get help using Construct 2

Post » Mon Oct 24, 2016 1:14 pm

Maybe this behavior helps you : behavior-circle_t115947?&hilit=circle
B
17
S
10
G
19
Posts: 140
Reputation: 11,457

Post » Mon Oct 24, 2016 8:07 pm

In my example just set the variable for the angle on the circle to something between 0 to 360 degrees. You can do it like this:
Every tick
- Add 1 to Variable

If Variable is > 360
- Set Variable to 0
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Mon Oct 24, 2016 9:03 pm

Ayolabi12345 wrote:
Sup with that? wrote:The same path as it did when spinning clockwise? Just rotate the sprite 180 degrees in the editor so it starts off traveling in the opposite direction.
But I'm trying to make it do that in-game.

Okay so, add an event that flips it 180 degrees and reverses spin during the game.

Like, maybe there's something in the big picture I'm not getting.
B
49
S
23
G
17
Posts: 291
Reputation: 12,407

Previous

Return to How do I....?

Who is online

Users browsing this forum: wizdigitech, Zamargo and 14 guests