Destructible Environment & Trees

Get help using Construct 2

Post » Mon Aug 05, 2013 8:47 am

So I created a draft tile-based environment for a shooter game I'm making.

Basically, I already have the entire environment so that it is destructible.

Okay so this is a screenshot.



What I want is when all the "wood blocks" on a particular tree are destroyed,
I want all the leaves on that tree to be destroyed.

Now I could have separate image for each set of wood and leaves, and make an event like

if Wood1.Count = 0 {
destroy all Leaves1
}

But I'm sure their is an easier way than that, so I don't have to have 10 plus different versions of the same sprite.Sketchy772013-08-05 09:02:26
B
15
S
3
Posts: 29
Reputation: 1,037

Post » Mon Aug 05, 2013 1:59 pm

search the lemmings capx in the forums, needs Canvas plugin by R0j0hound.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079


Return to How do I....?

Who is online

Users browsing this forum: facecrime and 6 guests