How do I make animation simply

Get help using Construct 2

Post » Tue Aug 16, 2016 8:03 pm

How do I make animation like this simply

Image
B
18
S
6
G
2
Posts: 41
Reputation: 1,895

Post » Tue Aug 16, 2016 8:23 pm

Well, there's quite a bit going on in that image.
I would break it into 3 separate parts; The background image, the radial wipe, and the counter. There's also the text at the top, but I'm going to ignore that.

First, create whatever background image you want. Simple enough.
Second, create the radial wipe. Now this is probably the most complicated part as you could use math to mask off more of a semi-transparent black square over time, or you could use a frame animated wipe and overlay that on top of the image. Either way will work, depending on your skills.
Third, creating the counter. This is just as simple as creating a text object and using events to count it down. You could do something like set up some variables to hold the number, and every 1/10 of a second subtract 1 from that number.

Overlay all the parts on top each other and you have yourself a nifty little cool-down sprite.
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683

Post » Tue Aug 16, 2016 8:35 pm

@ryanrybot please help I cant make round sprite counter like this, please make some capx file
B
18
S
6
G
2
Posts: 41
Reputation: 1,895

Post » Wed Aug 17, 2016 4:03 am

I'll see what I can do for you. No promises though. :)
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683

Post » Sat Aug 20, 2016 5:57 pm

I whipped this up real quick. It could be more efficient with some functions, but you should get the idea.
Just click on the timer buttons.
https://dl.dropboxusercontent.com/u/305 ... index.html

Here's the capx.
https://dl.dropboxusercontent.com/u/305 ... ircle.capx



Here's some more reading on the subject.
https://www.scirra.com/tutorials/1377/h ... onstruct-2
clock-wipe-effect_t116106
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683

Post » Sun Aug 21, 2016 9:53 am

@ryanrybot thanks
B
18
S
6
G
2
Posts: 41
Reputation: 1,895


Return to How do I....?

Who is online

Users browsing this forum: lahbach, ST314, Waltuo and 27 guests