I've got enemy sprites that are different sizes, and when the player shoots them, I want them to spawn explosion sprites and I want to scale those explosion sprites so that they match the scale of the enemy sprite.
So right now I've got this:
ENEMY | HP <= 0 |
ENEMY | Spawn explosion on layer ENEMY.LayerNumber (image point 0)
ENEMY | Destroy
But how can I have it refer to the new explosion sprite and scale it the same as the enemy that spawned it?