Jam 2 State Machine
The player can move using WASD or the arrow keys.
When the player gets close to a ghost, the ghost will start chasing the player.
The player can click the left mouse button to repel ghosts.
If two ghosts collide with each other, they both die.
The player wins when all ghosts are eliminated.
If a ghost touches the player, the game is over.
Download
Download
SimpleEnemyController.cs 6.4 kB



Leave a comment
Log in with itch.io to leave a comment.