[QUOTE=alspal] [QUOTE=Ashley] awesome8x, that's one way of doing it, but the other way saves you having to create and position those 'detector' objects.[/QUOTE]
The benefit though is that the detector method allows you to have the enemy killed only at the point you desire. For instance many times you may be above the enemy but still hitting a part of the enemy that should hurt you (in this case, touching the side of the Goomba's face while you're falling should hurt you and not kill the Goomba). [/QUOTE]
Agreed, this method makes more sense to avoid allowing the player to kill the enemy when landing on the side of the enemy.
How would this be applied to multiple enemies though?
Awesome8x suggested recreating the events for each enemy, but i'm not sure how I would go about that in a game where the enemies are constantly spawning.