Is this possible in construct 2?

Discussion and feedback on Construct 2

Post » Fri Apr 18, 2014 6:38 pm

Hi.

I saw this video on youtube: /watch?v=BhwtIs5J8Ns

And I was wondering, is it possible to make breakable objects that fracture into smaller pieces, similar to what is shown in the video?
I know it's in 3D, but could be possible in 2D?

Best regards

frozze
Last edited by frozze on Fri Apr 18, 2014 8:03 pm, edited 1 time in total.
B
4
S
1
Posts: 12
Reputation: 374

Post » Fri Apr 18, 2014 7:32 pm

It is possible but you got to know quite a bit about construct event system. As it stands there is no behavior that would take care of it. Someone could make a plugin for that if we would ask nicely ^^''
@rexrainbow
@R0J0hound
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

Post » Fri Apr 18, 2014 8:43 pm

You can, but it's mainly up to you to make the pieces.
https://dl.dropboxusercontent.com/u/542 ... cture.capx

My workflow:
1. clone the object that I want to fracture.
2. open the image editor and draw lines on it to split it up into parts.
3. duplicate that frame for every part.
4. Then I edit each duplicate frame and erase each other part off the image.
5. Adjust the collision polygons and crop. (don't touch the origin point)
6. After that I had to click the Make 1:1 to fix the scale.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Fri Apr 18, 2014 9:21 pm

R0J0hound wrote:You can, but it's mainly up to you to make the pieces.
https://dl.dropboxusercontent.com/u/542 ... cture.capx

My workflow:
1. clone the object that I want to fracture.
2. open the image editor and draw lines on it to split it up into parts.
3. duplicate that frame for every part.
4. Then I edit each duplicate frame and erase each other part off the image.
5. Adjust the collision polygons and crop. (don't touch the origin point)
6. After that I had to click the Make 1:1 to fix the scale.


Yeah was thinking about that. Although, as we talked in your own post, I will try spawning few very small canvas instances on different parts of the object I want to destroy ( probably using image points ), and then bounce them in different directions while removing original object.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

Post » Sat Apr 19, 2014 7:44 am

Message: frozze is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
R0J0hound wrote:You can, but it's mainly up to you to make the pieces.My workflow:
1. clone the object that I want to fracture.
2. open the image editor and draw lines on it to split it up into parts.
3. duplicate that frame for every part.
4. Then I edit each duplicate frame and erase each other part off the image.
5. Adjust the collision polygons and crop. (don't touch the origin point)
6. After that I had to click the Make 1:1 to fix the scale.


Ah thank you, this seems to work!
B
4
S
1
Posts: 12
Reputation: 374

Post » Sat Apr 19, 2014 7:46 am

megatronx wrote:It is possible but you got to know quite a bit about construct event system. As it stands there is no behavior that would take care of it. Someone could make a plugin for that if we would ask nicely ^^''
@rexrainbow
@R0J0hound


Thanks, yeah i could try to ask them if its possible ^^
B
4
S
1
Posts: 12
Reputation: 374

Post » Sat Apr 19, 2014 5:54 pm

Message: frozze is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
R0J0hound wrote:You can, but it's mainly up to you to make the pieces.My workflow:
1. clone the object that I want to fracture.
2. open the image editor and draw lines on it to split it up into parts.
3. duplicate that frame for every part.
4. Then I edit each duplicate frame and erase each other part off the image.
5. Adjust the collision polygons and crop. (don't touch the origin point)
6. After that I had to click the Make 1:1 to fix the scale.


Btw how did you erase parts of the image? The only way I can see is with the eraser, but i cannot draw lines with it
B
4
S
1
Posts: 12
Reputation: 374

Post » Sat Apr 19, 2014 6:57 pm

I drew the lines in black, flood filled the areas to erase in black as well then flood filled with transparent.
B
92
S
32
G
107
Posts: 5,274
Reputation: 69,959

Post » Sat Apr 19, 2014 8:33 pm

R0J0hound wrote:I drew the lines in black, flood filled the areas to erase in black as well then flood filled with transparent.


Ah thanks, that worked
B
4
S
1
Posts: 12
Reputation: 374

Post » Sun Apr 20, 2014 4:49 pm

@ R0j0hound Hmm I can't figureout what I'm doing wrong. When i smash the bird into the line i've made, it acts weird. I have the same events as you. But when i use your boxes and smash the bird into them, then it works just fine.

I've attached the file
You do not have the required permissions to view the files attached to this post.
B
4
S
1
Posts: 12
Reputation: 374

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 29 guests