Game Overview
Orbit Dodger is a fast-paced, arcade-style survival game where you pilot a spaceship rotating around a central planet. The gameplay takes place on three distinct orbital rings. Debris (asteroids) and treasures (coins) spiral inward from deep space toward the planet. Your goal is to switch between the three orbits to dodge incoming asteroids while collecting coins to upgrade your ship.
Controls
The game is designed for both desktop (keyboard/mouse) and mobile (touch) play.
-
Switch Orbit:
-
Keyboard: Spacebar
-
Mouse: Left Click anywhere on the game area
-
Touch: Tap anywhere on the screen
-
Action: Moves your ship to the next outer ring. If you are on the outermost ring, it cycles back to the innermost ring.
-
-
Slow Motion (Bullet Time):
-
Keyboard: Hold
Shift(Left or Right) -
Touch/Mouse: Hold the “SLOW MO” button in the HUD.
-
Action: Slows down time significantly, allowing you to make precise dodges in chaotic situations. Uses up the blue energy bar at the top.
-
-
System Controls:
-
Pause:
EscorPkey. -
Fullscreen: Toggle via the “FULL” button in the top-left or the menu options.
-
The 4 Worlds (Levels)
The game features four distinct biomes that increase in difficulty. You must travel a specific distance (survive for a set time) to unlock the next world.
1. Sky Ring (The Training Ground)
-
Theme: Deep blue space with a cyan planet.
-
Difficulty: Normal (Speed 1.0x).
-
Spawn Rate: Moderate (1.5s intervals).
-
Goal: Reach distance 800.
-
Description: A calm orbit designed to teach you the rhythm of switching lanes.
2. Jungle (The Emerald Sector)
-
Theme: Dark green nebula with a lush green planet.
-
Difficulty: Hard (Speed 1.25x).
-
Spawn Rate: Faster (1.3s intervals).
-
Goal: Reach distance 1200.
-
Description: The debris moves faster here. You will need to start using your Slow-Mo meter to navigate tight gaps.
3. Magma (The Volcanic Belt)
-
Theme: Intense red/maroon background with a fiery orange planet.
-
Difficulty: Very Hard (Speed 1.5x).
-
Spawn Rate: Fast (1.1s intervals).
-
Goal: Reach distance 1600.
-
Description: High-speed asteroids require reflex-based gameplay. Mistakes are punished quickly here.
4. Void (The Event Horizon)
-
Theme: Pitch black space with a violet/neon planet.
-
Difficulty: Expert (Speed 1.8x).
-
Spawn Rate: Hyper (0.9s intervals).
-
Goal: Reach distance 2000.
-
Description: A test of pure endurance. Objects spiral in at nearly double the speed of World 1. Only fully upgraded ships usually survive.
Upgrades & Economy
Coins collected during runs are saved permanently (using local storage). You can spend these in the Main Menu or Pause Menu to upgrade your ship.
-
Hull Integrity (Lives)
-
Increases your maximum starting lives.
-
Base: 3 Lives. Max Upgrade: 6 Lives.
-
-
Shield Gen (Auto-Shield)
-
Grants a temporary energy shield at the start of a run.
-
The shield absorbs hits before you lose any hearts/lives.
-
-
Chrono Unit (Slow-Mo)
-
Increases the capacity of your Slow-Mo energy bar.
-
Allows you to hold Slow-Mo for much longer durations.
-
-
Scavenger (Luck)
-
Increases the spawn rate of Coins vs. Asteroids.
-
Essential for farming currency to buy expensive late-game upgrades.
-
Visuals & “Juice”
The code includes several polish features to make the game feel modern:
-
Particles: Ships leave a glowing trail behind them.
-
HUD: A cyberpunk-style heads-up display showing real-time stats.
-
Responsive: It adapts to any container size or full-screen mode.
-
Dynamic Lighting: The background is a radial gradient that simulates the glow of the central star/planet.
Accessibility Features
-
Game Speed Toggle: In the main menu, there is a “SPEED: NORMAL” button. Clicking this toggles it to “SPEED: SLOW” (0.75x speed), making the game accessible to players who find the standard reaction times too demanding.
