Hero Square: A Game by Joseph Rioux

“Hero Square” is a small HTML/JavaScript game I wrote in 2014. The titular Hero Square is trying to save the Princess Square. To do so, he must defeat the evil rectangles by jumping on their heads.

This game draws on two others for thematic inspiration: the colors and basic atmosphere come from the game Eversion, and the idea of using quadrilaterals as characters comes from the indie game Thomas Was Alone.

How to Play

  • Move with the left and right arrow keys
  • Jump with Z
  • Pause with Space
  • You can climb up the left and right edges of the screen by jumping.
  • 3+ consecutive bounces gives a life unit.
  • Flashing red-eyed rectangles are are worth 2 points.
  • Killing blue-eyed rectangles gives a life unit.
  • Killing white-eyed rectangles makes you invincible.