Back to works
PlateII

Hit the Balloon

A 2D arcade game in C++ with OpenGL and GLUT.

Stack

C++OpenGLGLUT

Overview

A 2D arcade game in C++ with OpenGL and GLUT. You control a bow, fire arrows, and pop moving balloons before a 30-second timer runs out.

What it does

  • IBow-and-arrow shooting with a 30-second round
  • IIA streak system that doubles points after consecutive hits
  • IIIA score-based fire rate that speeds up as you play
  • IVExplosion animations and an animated scenic background

Technical notes

  • IThe whole game runs on a single GLUT loop with manual state management and no game engine.
  • IICollision detection between arrows and balloons is written by hand.

What I learned

My first time building real-time, interactive graphics; it changed how I think about state and timing in a program.