About
How to play: Drag and release your mouse to launch! Be aware of the red square and spike, they'll kill you... Escape this room! Lecture detail: State Machine: I used a state machine for my enemy object, it has 3 states; Idle, Chase, and Touch. The Idle state sets the enemy to stay and do nothing, it's a default state I used as a bridge. The enemy object will turn into the Chase state when the p…