Destroy Buildings in Construct 2?

Get help using Construct 2

Post » Sat Nov 24, 2012 10:27 pm

I was wondering if it's possible to destroy a building piece by piece.

I have an object (castle) I made in an image editor. It's made of blocks. Can it be destroyed block by block or do I have to assemble the castle in Construct 2 block by block for it to be destroyed in such a manner kinda like breakout?

Thanks for any help.
B
31
S
16
G
11
Posts: 450
Reputation: 9,721

Post » Sat Nov 24, 2012 11:13 pm

I think the "kinda like breakout" answer is the correct one.
If your castle is only a single sprite, you don't really have ways of "dividing" it.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Sat Nov 24, 2012 11:59 pm

You could maybe do it with the Canvas Plugin , But I don't think collisions will work ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Sun Nov 25, 2012 1:05 am

You can create sprites that spawn on top of the areas that are destroyed effectively masking the building piece by piece.

So you can have your building sprite covered by a bunch of invisible collision enabled areas. Set you condition for destroying "part" of the building, have the secondary sprite become visible with appropriate change of appearance and if applicable disable collision.
B
20
S
4
G
2
Posts: 124
Reputation: 2,482

Post » Sun Nov 25, 2012 1:47 am

Thanks for the replies and help, to all. I've only been using construct for a very short time. Most of that has been creating my sprites and running animations: on a budget. Dang that's hard!

IsometricRobot, so what would the sprites look like. It's only going to be a 640 x 480 screen. No scrolling. The only movement will be left & right.

Would I make the sprites look like the background that would be visible if that part of the building were destroyed?

Thanks again.
B
31
S
16
G
11
Posts: 450
Reputation: 9,721

Post » Sun Nov 25, 2012 2:27 am

You could have the individual sprites show destruction animation in steps until finally you can show the building coming down. It would require a bit of art to be done, but using the sprites like tiles would allow you to reuse instances of the same sprite to save time in deploying the work. (Better than trying to animate the whole building.)
B
20
S
4
G
2
Posts: 124
Reputation: 2,482


Return to How do I....?

Who is online

Users browsing this forum: Nifl and 23 guests