How do I make glass shatter

Get help using Construct 2

Post » Thu Feb 05, 2015 9:40 pm

Hello,

I am new on this forum and I want to say that so far this engine helped me a lot. I want to ask you, how do I make a glass shatter effect? Basically I have a piece of glass and I want to shatter in contact with my character. Is there any plugin or something?
B
4
Posts: 23
Reputation: 246

Post » Thu Feb 05, 2015 11:06 pm

You can use physics. See my example below
You do not have the required permissions to view the files attached to this post.
ImageImageImage
B
87
S
41
G
17
Posts: 667
Reputation: 17,978

Post » Thu Feb 05, 2015 11:13 pm

@Alextro thank you for your time, but isn't there a more fps efficient sollution?I want to break the glass in more pieces, like 4-5 and i can't assemble the glass from 5 pieces everytime(I intend to have like 3-4 glasses at any time on the layer)
B
4
Posts: 23
Reputation: 246

Post » Thu Feb 05, 2015 11:56 pm

Does the shape need to be accurate? Basically it's just spawning the pieces & make them rotate & collide.
ImageImageImage
B
87
S
41
G
17
Posts: 667
Reputation: 17,978

Post » Fri Feb 06, 2015 12:17 am

A particle whould do the trick i guess. Just make a particle that looks like a glass piece and change its attribute to one-shot and rate to like 5 if thats how many pieces you want.
B
11
S
4
G
2
Posts: 116
Reputation: 1,936

Post » Fri Feb 06, 2015 8:30 am

Okay I created a demonstration how to shatter a glass in pieces
You do not have the required permissions to view the files attached to this post.
ImageImageImage
B
87
S
41
G
17
Posts: 667
Reputation: 17,978

Post » Fri Feb 06, 2015 12:45 pm

@alextro , thank you a lot
B
4
Posts: 23
Reputation: 246


Return to How do I....?

Who is online

Users browsing this forum: Raikage4269, SnipG and 6 guests