Explosion not working

When the enemy ship dies, it should explode. However, the explosion is not spawning in the right place. Can someone help?

2 Likes

Ok, so I fixed it.
The problem is with the hitboxes when you set a color in the editor to Alpha 0.
When you set the color to alpha zero, the hitbox of that color no longer exists, which is a huge problem that @grazer should fix.
Anyways sorry for wasting your time :3

2 Likes

When you set the alpha to 0, it doesn’t detect any color (and its basically an eraser),
use alpha of 1 in the sprite editor (as I said in the previous post).

2 Likes

Got it :grin:
I’ll make sure to do that next time!

2 Likes