Destructible Terrain/Buildings

Get help using Construct 2

Post » Sun Mar 31, 2013 2:25 am

@Ylando, I heard physics objects can dramatically slow the game if you use lots of them, so you may want to come up with a way to do it with sprites/reuse the physics objects (make physics objects invisible and attach to sprites on-screen at all times?)

Not sure how easy that'd be, but using one screens worth of physics objects instead of a whole layout should save some lag
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sun Mar 31, 2013 2:33 am

I wanted to do something similar to this. I started out with small bricks and tried linking them together, but that was disaterious. I ended up making this game:
http://www.newgrounds.com/portal/view/612857
It's just stacking platforms on top of each other and the physics engine freaks out and collapses the building, but I thought it made for an interesting idea. That's one simple way of doing destruction.
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Sun Mar 31, 2013 12:02 pm

@Jayjay Yeah, I heard the same thing.... So far I've made the bricks have health, which diminishes over time/with hits. So HOPEFULLY if I make certain objects only spawn when they're visible all should be ok :)
B
3
Posts: 9
Reputation: 320

Post » Sun Mar 31, 2013 12:05 pm

@Sushin Very interesting... That is pretty much what I'm going for :) Except with more explosions :D
B
3
Posts: 9
Reputation: 320

Post » Mon Apr 01, 2013 5:35 pm

Sushin, I like that game, although it's flawed. If you could fix it so everything doesn't just instantly collapse when I enter the levels, it would be really fun. Right now it's just a bit too mad, as soon as I enter level 2 the whole building collapses, lol. But the idea is good and if you polish it up a bit I reckon it could be great. I've given you 5 stars anyway :)
B
25
S
5
G
3
Posts: 446
Reputation: 5,633

Previous

Return to How do I....?

Who is online

Users browsing this forum: MarkThomas and 0 guests