If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Turn into a ghost to pass through floors, and obstacles. Become enemies and use their abilities.
Arrow keys to move.
X to jump.
C to turn into a ghost.