How to make a sprite rotating?

Just started using Construct 2? Post your questions here

Post » Tue Jul 12, 2016 8:36 am

Hello!
Sorry, but I'm a complete beginner! and I would really like to make a circle (Sprite) spinning around and around.
and I also created a little bit cut on the circle, as it is spinning, If an object goes in and goes out again, it can create a throw effect.

That's all!
Thank you very much everyone :)
B
6
S
1
Posts: 7
Reputation: 364

Post » Tue Jul 12, 2016 5:17 pm

You can use the "Rotate" behavior to create the spin effect. Use the collision polygon to shape the groove for the mechanics in the circle. After that you'd have to figure out the particulars for the effects with other behaviors like using the pin behavior to hold the object that goes and one of the movement behaviors to control how it gets thrown back out. You're really going to have to experiment.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,273

Post » Mon Jul 18, 2016 1:59 am

You try something as simple as:
Every Tick: object angle = object angle + 1

Test it out and see if you want it faster or slower and adjust the number.
ImageImageImage
B
39
S
22
G
11
Posts: 486
Reputation: 9,913


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest