How do I make a Sprite go in a circle?

Get help using Construct 2

Post » Sat Oct 22, 2016 10:27 pm

How do I make a Sprite go in a circle?
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 5:09 am

You can simply give it Bullet behavior and Rotate behavior.
B
50
S
23
G
17
Posts: 291
Reputation: 12,432

Post » Sun Oct 23, 2016 3:11 pm

This is an example I made a while ago.
You can use the slider on the Bottom in this example to move a box along a circle.
I hope this helps! :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Oct 23, 2016 11:03 pm

@aquadijoib how do i make it go automatically in a circle without me doing anything
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 11:03 pm

Sup with that? wrote:You can simply give it Bullet behavior and Rotate behavior.
How do i make it spin in the opposite direction tho
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 11:19 pm

Set the Rotate behavior's spin speed to something negative, this will make it go counterclockwise.
B
50
S
23
G
17
Posts: 291
Reputation: 12,432

Post » Sun Oct 23, 2016 11:24 pm

Sup with that? wrote:Set the Rotate behavior's spin speed to something negative, this will make it go counterclockwise.
it doesnt spin on the same path though
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Sun Oct 23, 2016 11:34 pm

B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Mon Oct 24, 2016 12:33 am

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.
B
50
S
23
G
17
Posts: 291
Reputation: 12,432

Post » Mon Oct 24, 2016 9:47 am

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.
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Next

Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 14 guests