hey guys!
In theory my code should working but when ball overlaping enemy it take its energy more than once, so they die.
Enemie hited(overlaped) by ball should lose 5 points energy only.
thanks
Just change it to ShadowBall on collision with Enemies > Subtract 5 from Live. That's all you need.
Develop games in your browser. Powerful, performant & highly capable.
—
yeah heh that was simple, don't know why I chosed damn "overlaping"
thanks!