Plugin: rex_Container (Update:2013/05/31)
Behavior: rex_Container tag
Container plugin try to store reference of instances. User could get these instances from SOL. Moreover, container has X,Y position, user could pin instances on it to move them together.
Sample capx:
Using pin behavior to move these sprite instance together
"Condition: pick container from instance"
"Condition: pick all instances in this container"
"Action: pick all instances in this container"
<img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/container.png" border="0">
In this capx, user first use "Condition:On touch object" to get touched instance, then use "Condition: pick container from instance" to get it's container. Finally, use "Condition: pick all instances in this container" to get other instances in this container in SOL, so that user could get these instances in actions.
However, container plugin add instance at runtime. User could use "container tag" behavior to add instance into container at layout editor.
Sample capx:
Instance will be added into container which has the same tag.