Now that I have bullets, the objective is to knock out incoming badGuys (in the form of blocks((at this stage)).
The badGuys randomly spawns at the top of the screen and slowly descends.
WHAT AM I TRYING TO DO?
. each badGuy has a Instance variable (health). I used PIN to pin a textbox to that badGuy.
.. when a ball strikes, the badGuy's health goes down.
... if badGuy's health is <=0, he is destroyed && so is the textbox that's pinned.
The issue(s) I'm having:
. some badGuy's lose their health textbox
. other's inherit other badGuy's loss.
Hope this make's sense. I'm not sure if this is caused by over-lapping badGuy sprites?????
I've updated the URL to show you what's happening.
http://robfreeman.co.uk/demo/