How do I create an animation of a circle being drawn?

Get help using Construct 2

Post » Fri Feb 06, 2015 5:36 pm

Hello Everyone,

I'm just starting to learn how to use Construct 2, and I am looking for some help in creating an animation. I'm trying to create an animation of a circle being drawn on the screen (I'm using it as a timer), but I'm having problems creating an animation like this. Most of the tutorials are on moving and rotating sprites on the screen, but doesn't really cover how to draw something like this. I've tried creating a dot and rotating it around a point in a 360 degree circle, but I can't seem to create a trail that would be left behind to create the circle. I tried a few other ways, but I can't seem to create this animation. I'm pretty new to Construct 2, or just creating animated PNG files in general, so any help would be greatly appreciated.
B
5
Posts: 2
Reputation: 229

Post » Fri Feb 06, 2015 5:39 pm

Depending on how resource intensive your scene is - the easiest way is to make that one dot you have rotating spawn other dots - frequency depends on movement speed.
B
19
S
6
G
7
Posts: 1,101
Reputation: 6,146

Post » Sat Feb 07, 2015 5:08 am

Thanks for your suggestion. I'm a little concerned about spawning so many objects to build the circle, but I'll give it a try.
B
5
Posts: 2
Reputation: 229

Post » Sat Feb 07, 2015 6:03 am

@JeffreyT
I put together an example for you. Its not the most elegant thing in the world and it has its limitation but I figured it might give you some inspiration. I have a circle that has 4 frames of animations, one for each quadrant, then I have a mask that rotates around revealing the circle a bit at a time. The mask only works if its the same color as the background. So if you are planning on putting your clock on top of a solid color this could work for you.
You do not have the required permissions to view the files attached to this post.
B
33
S
8
G
2
Posts: 100
Reputation: 2,635


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 9 guests