Description
Avoid Me | HTML5 Game – Phaser 4
Avoid Me | HTML5 Game – Phaser 4 is a fast-paced reflex avoidance game template (built with Phaser 4 + TypeScript) where you run through an open field, dodge enemies that replay your every move, and collect coins for bonus points. Survive as long as you can, beat your high score, and unlock new characters.
Core Gameplay
- Run & dodge — move freely around the arena using WASD / Arrow Keys (desktop) or a floating virtual joystick (mobile & mouse). Press anywhere and drag — the joystick appears right where your finger touches.
- Unique trail-chasing mechanic — every enemy replays your own movement path to hunt you down. The trail you leave behind becomes the exact route they follow, so sharp turns and sudden stops are deadly.
- 3 enemy types — red Chasers that relentlessly follow your trail, magenta Shooters that fire sword projectiles at you, and cyan Orbiters that carry a spinning blade around them. Each one demands a different escape strategy.
- Data-driven difficulty curve — enemies spawn on an exponential schedule (1s, 4s, 8.5s, 15.25s, …). The pressure builds naturally as the run progresses, keeping every session intense.
- Distance + coin scoring — earn 1 point per meter traveled and +5 bonus points for every coin you grab, with a sparkle burst effect on collection.
- Instant game over — touching any enemy, projectile, or orbiting sword triggers a dramatic death sequence with impact shake, a hit burst effect, and a full screen summary of your score, best score, and coins earned.
Template Features
- Reskin-ready with a dedicated reskin guide and comprehensive documentation.
- Complete documentation including architecture overview, gameplay rules, asset catalog, and reskin guide.
- Designed for 1080×1920 (9:16 portrait) mobile target resolution.


