Repository navigation
Releases
Fox / Dino Run 1.0.0
An original pixel-art runner with two playable characters, two worlds and an optional Endless mode. Built with vanilla JavaScript and Canvas, with no additional runtime packages.
Faster mobile touch response
- A stationary playfield touch now triggers one full jump after a short 80 ms intent window, without waiting for release. A quicker tap still jumps on release.
- Early downward and upward swipes remain distinct from taps: movement beyond 10 CSS pixels cancels the pending jump, allowing the swipe to finish without an accidental takeoff.
- A contact that has already committed to jumping cannot be retroactively reclassified as ducking. Begin a swipe within the recognition window; late movement cannot undo a jump.
- Dino's double jump still requires fresh input. Holding a contact never causes bunny hopping or spends the second jump. Arrow buttons continue responding immediately on contact.
- Cancellation, pause, restart, goals, character changes and focus/visibility changes clear pending jump callbacks.
- Updated the in-game guide and both READMEs. The owner tested and approved the matching website release before the standalone game merge.
Maintenance cleanup
- Removed the unused
jumpHeldstate, redundantholdJump()wrapper and obsoleteflightmetadata. Fresh jump inputs, variable jump height and Dino's double jump keep their existing behavior. - Renamed shared DOM IDs and CSS classes from
dino-*to character-neutralrunner-*names. Integrations should use the updated shared template and styles together. - Made the shared template use relative
assets/paths. The standalone demo no longer needs website-specific/404/aliases; the website host build resolves asset paths when embedding the game. - Kept both existing high-score storage keys unchanged, preserving saved records.
- Updated English and German documentation and added standalone component regression tests.
Highlights
- Fox Run: jump over rocks and hedgehogs, duck under birds and reach the den beneath the tree. Continue through the forest in Endless mode.
- Dino Run: dodge land dinosaurs, duck under pterosaurs and double-jump past meteors. Survive beyond the ending in a ruined, ash-covered world.
- Keyboard controls, touch gestures and on-screen buttons, with feedback for jump and duck inputs.
- Pixel-based collisions, separate browser-local high scores and an illustrated in-game guide.
- Light and dark themes, original pixel artwork and original control icons.
- English and German READMEs, plus a standalone demo requiring only Node.js 22 or newer.
Smoother speed progression
The same score-based curve applies to both characters on phones and desktops. Speed increases immediately, with no 250-point grace period.
| Score | Pace |
|---|---|
| 0 to 5,000 | 1x to 1.75x |
| 5,000 to 7,500 | 1.75x to 2x |
| 7,500 to 10,000 | 2x to 2.25x |
| 10,000 and beyond | Capped at 2.25x |
Movement and jumps speed up together. Endless starts at 5,000 points with a gentler 1.5x pace, blending into the current score-based curve over six seconds of active play. Pauses and cutscenes do not advance this warmup.
Dino meteors still appear from 250 points. At a current pace of 1.75x or above, nearby meteors briefly slow the simulation to help time the double jump. Pterosaurs must still be ducked under.
Play locally
git clone https://github.com/felix-henry/runner-game.git
cd runner-game
git checkout v1.0.0
npm run devOpen http://127.0.0.1:8233 in your browser. No npm install is required. Run npm test for the standalone checks.
Documentation and license
- English README
- Deutsche README
- MIT license, copyright (c) 2026 Felix Henry.
High scores stay in the browser's Local Storage; the game does not send scores to a server or set high-score cookies. The license covers this game project, not the rest of felixhenry.de.