I'm in a trouble, here. I'm trying to make a prototype for an isometric 4+ player vs game. One of the mechanics is you can block incoming projectiles with a shield.
The thing is, I tried a couple of methods and the one that sounds like it should suit it the most is using the container plugin so I can:
1)Have just 1 object of the player's "hitboxs" (and multiple instances for each player)
2)With the container, 1 "shield" object so I can link them to each Hitbox instance.
This way I can really simplify the ammount of events for each player interaction and having centralized everything just with variables.
It seems to work fine making each shield invisible/visible with each player's input, but the problem is that multiple inputs seem to interfere/bug the link between hitboxes and their correspondant shields:
If more than one players shields, none of them can "stop" (the shield wont go invisible) until the last one releases its button.