i really need an urgent help from veteran of construct, i think there is something in the way i code some action who should be incorrect or i've missed something
anyway, i'm not able to understand correctly the "for each" when i have multiple instance of the same monsters.
Attached a very detailled but simple example.
i have multiple instance of the same monster "this monster is composed of a monster box (having platform behavior) and a monster sprite (for all animation) both are in the same container and monster sprite are linked to a "monsters Family".
Now try my sample ,
-On Mouse left button or touch screen, you will spawn bullet
-By default monsters are in "stand action" and "sleep state" (when you're mouse cursor is 200px close a monster it should swtich to "move_left" action and "awake" state)
if you shoot a monsters (request 2 bullets), each monster, should :
2- jump (simulate by a vector y, in case monster are not on the ground)
3 -then fall through the ground.
Current problem :
1 - Killing monster when they are in stand action not work
hope someone could help me very soon to fix this problem, i'm pretty sure it's nothing. but it will be a big help for my construct understanding.
thanks again for your time guys !