Hi when i kill 1 enemy all enemies dies with him. How can i kill only 1? i just copy pasted the enemies so they have the same code and all.
You can use 'for each' for that. It's explained in this thread:
Hope it helps!
Develop games in your browser. Powerful, performant & highly capable.
Be sure your enemy is properly picked before you destroy it.
solved : instance variables