Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Pinball Game

Welcome to our Pinball game, a modern take on the classic arcade game. The game begins with 5 balls. Players can launch a ball into the playfield by pressing the space bar. The objective is to accumulate as many points as possible. Achieving a score of 5000 points will release the next ball. Subsequent goals are set at 10000 points, 20000 points, and so on. The game only saves the highest score achieved by a player. To prevent cheating, our scoreboard and savegame data are stored as images.

Game Controls

  • Space: Launch a ball (only if there are no balls currently in play)
  • Left/Right Arrow Keys: Operate the flippers
  • Esc: Access the pause menu

Pause Menu

The pause menu allows you to adjust game settings or return to the Main Menu or Options Menu. When you exit to these menus, the current game state is saved and can be resumed later. The pause menu offers the following options:

  • Scale Application: Adjust the game's scale to fit your screen.
  • Change Master Volume: Modify the overall audio volume.
  • Change Music Volume: Adjust the background music volume.
  • Change SFX Volume: Alter the volume of sound effects.

Scoring System

Points are earned by hitting various targets on the playfield. Accumulating a certain number of points will release the next ball into play.

Licensing

Music

The background music used in this game is sourced from this YouTube video.

Sound Effects

The sound effects in this game were created using Sfxr (the web version), a tool for generating sound effects, particularly for video games.