Is this possible in construct 2?

0 favourites
  • 12 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • 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

  • 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

  • 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.

  • 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.

  • 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!

  • 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 ^^

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I drew the lines in black, flood filled the areas to erase in black as well then flood filled with transparent.

  • 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

  • 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

  • frozze towFrag sprite plays animation. You should have stopped it. Set animation speed to 0 or On towFrag created, then stop animation

  • frozze towFrag sprite plays animation. You should have stopped it. Set animation speed to 0 or On towFrag created, then stop animation

    Yay that worked, thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)