Laser Escape
A grid of deadly laser beams sweeps and shifts unpredictably — one touch means a hit. Navigate the field precisely, using every gap you can find to stay alive.
With only 3 HP, there's little room for error. Lasers grow more complex and faster as your score increases.
How to Play
- Move: WASD or Arrow Keys
- Avoid all laser beams
- Use gaps in the laser patterns to survive
- Mobile: touch controls supported
About This Game
Laser Escape is a spatial puzzle disguised as an action game. The lasers don't shoot — they sweep, shift, and close in. Surviving means reading the pattern in advance and positioning yourself in the gap before it closes. One wrong move and a beam finds you.
Why We Built It
We wanted a dodge game with a different feel from simple projectile avoidance. Laser walls force you to think about area rather than point-based collision — you can't thread a needle through a wall, you have to find and reach the right gap ahead of time. The sci-fi laser aesthetic fits naturally and makes the danger feel visually clear even at high speeds.
How It Works
Laser walls are generated as horizontal or vertical line segments that sweep across the canvas at a fixed velocity. Each wall has a single gap — a break in the line — positioned at a random location. The gap width shrinks slightly as score increases. The player character uses standard WASD/arrow movement clamped to the canvas bounds. Collision is detected when the player's hitbox overlaps any filled portion of an active laser segment.
Tips & Strategy
- Identify the gap in an incoming wall before it reaches you — then move to that row or column rather than waiting until the last moment.
- Stay near the center of the screen when possible; it maximizes your range of motion in any direction.
- Never move parallel to an incoming wall — you'll end up racing it instead of crossing through the gap.
- In late game, treat two incoming walls as a unit and find the position that satisfies both gaps simultaneously.
Ideas for Improvement
- Diagonal lasers — beams at 45° angles that require movement along both axes to avoid.
- Rotating laser arms — beams that pivot from a fixed point, requiring circular movement to stay clear.
- Pulse lasers — beams that flash on and off in a rhythm, rewarding timing rather than just positioning.
- Color-coded danger — visual cues that show which walls are about to accelerate.