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?
The latest Construct beta (r110) should help - we finally get Containers!
Develop games in your browser. Powerful, performant & highly capable.
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.
Here's the link to r110:
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:
sourceforge.net/apps/mediawiki/construct/index.php
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.