$ ./guess_the_languageGame Dev
Game Dev · easy · #2

What does this condition check?

if (player.isGrounded) jump();
  1. Whether the player is on the ground
  2. Whether the player has a key
  3. Whether the game is over
  4. Whether the camera is zoomed
The isGrounded flag commonly represents whether the player can jump.
Play Game Dev ▸