Small browser games as isometric pixel dioramas. No build step, no dependencies.
The project's README from github.com/amirmushichge/pixel-plays. As one markdown file: README.md.
Small browser games shown as isometric pixel dioramas. Every game is one page of plain JavaScript with its own software rasteriser: no build step, no dependencies, no sprites or image assets.
Play: https://pixel-plays-ruby.vercel.app/
Concept by abhi. Game by AmirMushich. Visual reference for the style: shawn.'s Small plays; no assets or subjects were copied.
| Game | What you do | Input |
|---|---|---|
| Balote | Bocce against a bot, first to 5 | Drag back and release; arrows + space |
| Stari Most | Five dives off the old bridge, flip and enter the water vertically | Hold and release |
| Rooftop Laundry | Get the washing into the basket before the storm | Drag; space |
| Tie-Break | Clay-court tie-break against a bot, the moment you hit decides where the ball lands | Tap; space |
| Mini Ramp | 60 seconds on a skateboard ramp, pump for height and grab in the air | Hold and release; space |
Requires Node.js; nothing to install.
node serve.mjs
Then open http://127.0.0.1:5300/. Any static file server works, and the site deploys as plain static files.
Create <id>/index.html, load ../shell.js, call PixelPlays.mount({ id, rules }), set window.PP_SCENE, load ../engine.js, then add the game to GAMES in shell.js. The page needs a #mute button. Put its background track at <id>/<id>.mp3.
shell.js provides the game menu, the Rules popup, the credits and the background music.engine.js provides the camera, depth buffer, colour ramps, shadows, edges, figures, trees and wind as globals.groundColor, bake, update and draw.prefers-reduced-motion.The code is under the MIT License. The music is not: see MUSIC.md.
Small browser games as isometric pixel dioramas. No build step, no dependencies.