Destroy pinned instance

Get help using Construct 2

Post » Sun Nov 18, 2012 7:45 pm

Hi,
I am wondering how to destroy all instances pinned to another instance.

In my case I need do destroy healthBar instance pinned to enemy instance when enemy Hp is =< 0

Any idea?
B
3
Posts: 3
Reputation: 331

Post » Tue Nov 20, 2012 12:51 am

The latest Construct beta (r110) should help - we finally get Containers!
B
9
S
2
G
3
Posts: 75
Reputation: 1,964

Post » Tue Nov 20, 2012 7:23 pm

Is there any reference page about Containers?

Could you help me, where to download r110: I've got r108 and I have no idea how to update.
B
3
Posts: 3
Reputation: 331

Post » Tue Nov 20, 2012 10:48 pm

Here's the link to r110:
https://www.scirra.com/construct2/releases/r110

I don't think there's a manual entry for containers yet, but here's one for the first Construct that should help you understand how they work:
http://sourceforge.net/apps/mediawiki/construct/index.php?title=Containers

Simply put, you can place the enemy and its health bar into a container. Once you destroy the enemy, the attached health bar will be destroyed as well.
B
9
S
2
G
3
Posts: 75
Reputation: 1,964


Return to How do I....?

Who is online

Users browsing this forum: farfetchd83, makkancs and 25 guests