Simple Goomba-like enemy. Can be jumped on or slashed to be killed instantly. Jumping on him should provide a little bounce.
Rather than being placed directly in the world, the level designer should place some sort of "enemy spawner" object that can keep track of the state of the enemies it spawns. This will allow us to have callbacks when all the enemies are destroyed, or control respawn rates.
Touching the enemy should damage the player, and this is the first thing in our game that can do so. For that reason, this task should also include implementing version 1 of health.
Simple Goomba-like enemy. Can be jumped on or slashed to be killed instantly. Jumping on him should provide a little bounce.
Rather than being placed directly in the world, the level designer should place some sort of "enemy spawner" object that can keep track of the state of the enemies it spawns. This will allow us to have callbacks when all the enemies are destroyed, or control respawn rates.