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
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
- Aim — drag or tap to set the launch angle. A bounce-path preview shows where the first ball will travel.
- Fire — release to launch all your balls one after another.
- Destroy tiles — each tile has a hit-point counter; hit it enough times to clear it. Tiles drop one row every round.
- Collect tokens — grab the glowing bonus-ball tokens to grow your volley.
- Speed up — tap the 2× button (appears a moment after firing) to fast-forward the round.
- 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 2× button | Toggle speed-up |