Phatsoftware

Ball Bouncer

games · v1.0

gamephysics

Description

A browser-based arcade game built with p5.js. Aim and fire a volley of balls to destroy tiles before they reach the bottom. Collect bonus balls, chain combos, and climb the high score table.

Updated 27 June 2026

▶ Launch

README

Ball Blaster

A browser-based arcade game built with p5.js. Aim and fire a volley of balls to destroy tiles before they reach the bottom. Collect bonus balls, chain combos, and climb the high score table.

How to Play

  1. Aim — drag or tap to set the launch angle. A bounce-path preview shows where the first ball will travel.
  2. Fire — release to launch all your balls one after another.
  3. Destroy tiles — each tile has a hit-point counter; hit it enough times to clear it. Tiles drop one row every round.
  4. Collect tokens — grab the glowing bonus-ball tokens to grow your volley.
  5. Speed up — tap the button (appears a moment after firing) to fast-forward the round.
  6. Survive — if any tile reaches the bottom row the game ends.

Features

  • Smooth p5.js physics with gravity and multi-wall bounce preview
  • Mobile-friendly touch controls and responsive layout
  • Particle effects on tile hits and destruction
  • Persistent high score stored in localStorage
  • Animated title screen
  • Speed-up mode (3× physics substeps per frame) with fade-in/out button

Tech Stack

Library Purpose
p5.js Rendering & input
Custom physics2D.js 2D vector helpers

No build step required — open index.html directly in a browser.

Controls

Input Action
Mouse drag / tap & drag Aim
Release Launch
Click / tap button Toggle speed-up