How do I create a glass break effect?

Get help using Construct 2

Post » Sat Jan 28, 2017 8:49 am

I'd like to make the screen shatter for a second and then have all the pieces fall down off screen - any ideas on the best way to go about this?

EDIT: Let me clarify that I just want to make glass above everything shatter, not all the objects and stuff. Just a glass mask shatter, if that makes sense.
B
24
S
10
G
1
Posts: 153
Reputation: 2,660

Post » Sat Jan 28, 2017 2:47 pm

Create a glass shatter sprite animation and play it?
B
46
S
16
G
73
Posts: 2,086
Reputation: 43,681

Post » Sat Jan 28, 2017 10:04 pm

See following posts:
To create glass shatter into pieces: viewtopic.php?f=147&t=124321&p=883434&hilit=+glass#p883434

Example how masking work (jigsaw puzzle): viewtopic.php?f=180&t=182600&p=1075158&hilit=+puzzle#p1075158
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Sat Jan 28, 2017 11:26 pm

I would use a sprite that is large enough to cover entire layout.

Start with a blank animation and then have lines for cracks radiating out from the center in a few frames and then have those solid pieces falling down in the next frames until it is done.

Probably could do it in 20 frames or less.

I will work on a sprite and see how it looks.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,780

Post » Sun Jan 29, 2017 12:01 am

Here you go using a sprite.

https://www.scirra.com/arcade/tutorial-games/glass-screen-breaking-demo-14924

Capx is available on that link. Uses 13 simple animations and you can make your own more detailed.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,780

Post » Sun Jan 29, 2017 12:41 am

Might want to make the glass slightly hazy for effect and very light blue or gray would work. Adds more depth when the screen clears to what is under neath I think.
Banned User
B
27
S
7
G
58
Posts: 1,229
Reputation: 34,780


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, guannstar, marcinkowski and 24 guests