Crypto Sprint
Pseudo-3D endless runner built with Phaser 3 - sprint a neon crypto highway, swipe between three lanes, jump walls and hoover up spinning coins
Crypto Sprint is a complete, polished HTML5 endless runner built with Phaser 3. Sprint down a neon crypto highway, swipe between three lanes, jump over walls and blocks, and hoover up spinning coins - the longer you survive, the faster it gets. One crash ends the run and your best distance is saved, so there is always a record to beat. 100% procedurally generated graphics and audio - zero external image or audio downloads.
Highlights
- Pseudo-3D perspective road with true depth projection (world x/y/z to screen)
- Three lanes with smooth animated switching - arrows / A-D or swipe
- Jump over walls and blocks with guaranteed-jumpable obstacle spacing
- Spinning fake-3D coins with collect sparkles and streak bonus audio
- Procedural track generation - no two runs feel the same, difficulty ramps with distance
- Live HUD: distance, coins, coin streak, speed and pause button
- Crash sequence with impact burst, camera shake and a results screen with NEW BEST celebration and one-key instant retry
- Menu scene with animated runner preview, best score and control tutorial
- Settings panel with music and sound toggles, pause / resume flow and auto-pause on tab focus loss
- Fully procedural WebAudio SFX plus a scheduled synthwave music loop - no audio files
- Object pooling for obstacles, coins and scenery - zero garbage in the hot loop
- Delta-time movement, resolution-independent FIT scaling - desktop, tablet and mobile
Technology
- Phaser 3.80 vendored locally (no CDN needed), vanilla JavaScript ES modules
- Code-drawn SVG assets and runtime canvas textures
- WebAudio API for all sound effects and music
- localStorage persistence for best score, best coins and audio settings
- Central theme + config files - recolor and retune the whole game from one place
- No build step required - serves statically as-is, 100% offline
Requirements
- Any modern browser; any static web server for development or any static host to publish
- No accounts, no keys, no external requests at runtime
What You Get
- Full unminified ES-module source with a clean folder structure (scenes, entities, systems, rendering, UI)
- Documented perspective renderer and track generator - the core of the pseudo-3D look
- Step-by-step documentation with screenshots: setup, renaming, re-theming, tuning difficulty, publishing
- Full rights to rebrand, reskin, extend and publish anywhere
Please note: this is a source code template, not a hosted game. Basic JavaScript knowledge is helpful for customization. If you have questions, use the contact form on the site, I usually reply within 24 hours.


