Apogee Keep, a 3D orbital star station glowing above sunlit Earth, exchanges fire with invading alien fleets.

APOGEE KEEP is the fifth Production Release from Ant Games: a 3D orbital star-station tower defense roguelite set in sunlit orbit above Earth. You build an octagonal orbital fortress ring by ring, combine 27 modules into synergies and pair-fusions, and hold the line against 127 alien warship styles and multi-phase Sector Bosses.

It is free, with no pay to win and no sign-up, and plays directly in the browser on desktop and iPhone/iPad touch — in English and Simplified Chinese, alongside 10-language Player's Guides.

1. Solving Tower Defense's Stuck-Straggler Problem With the Central Apogee Lance

Radial base-defense games have a classic pacing bug: a damaged flanking ship drifts just outside your outer turret arc, or circles an armored corner for thirty seconds while the wave refuses to end.

Instead of silently teleporting stragglers or inflating every turret's range until positioning stops mattering, we built a permanent dorsal sniper spire right at the heart of the station: the Apogee Lance (E).

In the simulation (src/sim/core-sniper.ts), the Apogee Lance is intentionally architectural:

  • Mounted at world (0, 0) on the Core Hub — kept outside station.parts[], occupying 0 deck cells, and excluded from station.reach and enemy warp radius.
  • Indestructible and brownout-immune (0 power draw), with 999u 360-degree range and 6.0 rad/s traverse speed.
  • Four switchable targeting modes (straggler, boss, strongest, nearest). Its default straggler scorer explicitly gives a high priority boost to enemies sitting beyond station.reach + 1.5 or left unengaged for 6.0+ seconds, keeping waves crisp without removing the tactical value of short-range flank defences.
  • Upgrades all the way to Rank 10 Singularity Lance, jumping from 25% to 50% shield pierce, piercing +18u behind its primary target, and triggering shockwave + low-HP execute/boss bonuses.

2. 4-Fold Symmetry Placement and 27 Zero-Overlap Rank 10 APEX Modules

Building a sprawling octagonal space station click by click gets tedious fast once you expand into outer rings. APOGEE KEEP treats station ergonomics as a core mechanic:

  • 4-Fold Symmetry (Y): Toggle symmetry on to mirror every placement across all four quadrants of the octagonal hull simultaneously, with R rotating directional firing arcs and H expanding the next ring.
  • Batch Upgrade Ergonomics: Upgrade a single module with U (Shift+U to max), upgrade every copy of that module across the station with K, lift your lowest-rank module with B, or relocate/swap slots with M.
  • 27 Curated Modules, 10 3D Ranks Each: Rather than padding the pool with near-duplicate stat sticks, every one of the 27 curated modules has a distinct mechanical role and unlocks a bespoke, strictly range-respecting Rank 10 APEX ability when maxed:
    • Reactor (APEX_SOLAR_FUSION): +25% output and -20% energy draw in a 1-cell Power Halo, plus an emergency +600 energy surge when the bank drops below 15%.
    • Cannon (APEX_SIEGE_BARRAGE): Every 3rd shot fires a 2.0x HE Apex shell with a 2.2u blast radius and 40% armour shred.
    • Small Shield (APEX_PHASE_BASTION): Triggers a 1.5s Phase Invulnerability Shell on shield break with instant emitter restore.
    • Armour (APEX_TITANIUM_BULWARK): Absorbs 30% of hull damage taken by adjacent 1-cell neighbours and self-regenerates 4% max HP/s.
    • Capacitor (APEX_QUANTUM_SURGE): +18% weapon damage in a 2-cell Overcharge Field above 75% energy while venting Overload heat.
    • Micro Repair (APEX_NANO_RESURRECTION): Heals two wounded modules at once and automatically reconstructs a destroyed module in range for 0 energy.

Under the hood, every build, upgrade, move, or draft pick runs a pure, deterministic synergy pass (src/sim/synergy-eval.ts) that writes into pre-allocated Float32Array and Float64Array scratch buffers (zero heap allocation per recompute). That pass evaluates 6-tag cumulative resonances (tiers at 2, 4, and 6 standing modules), 15 Pair-Fusions, strict-radius boost auras, and per-part rank multipliers without double-dipping.

3. Making Waves Active: Multi-Phase Bosses, Stagger Interrupts, and Orbital Contracts

Purely passive tower defenses can drift into a screensaver once a build comes online. We added three active decision loops that reward watching the battlefield:

  1. Multi-Phase Sector Bosses & Stagger Interrupts (src/sim/boss-phases.ts): Five Sector Boss archetypes — Gunship (Wave 5), Battlecruiser (Wave 10), Fleet Carrier (Wave 15), Siege Juggernaut (Wave 20), and Void Leviathan (Wave 25) — shift phases at 66% HP (+30% shield restore) and 33% HP (+35% shield restore). Each cycles through 2.4s telegraphed super-attacks: Solar Lance (countered by shifting power to Q DEFENCE), Swarm Drop (spawns flanking Viper Rammers), and EMP Barrage (interceptable missile volley countered by Point Defence and Shields). Focusing fire and bursting a boss during its 2.4s telegraph triggers a 3.5s Stagger interrupt — cancelling the cast, resetting its cast cooldown to 11.0s, and applying +30% bonus damage taken.
  2. Power Routing & Overload (Q / W / V / Shift+V): Shift reactor output on the fly between Defence, Attack, and Overload (or arm Auto-Overload when you want automated spikes).
  3. Golden Supply Meteors & Orbital Contracts: Tap drifting Golden Supply Meteors for jackpot Energy, complete 3 tactical Orbital Contracts every run, and decide after the Wave 25 Boss whether to claim Victory Extraction (also available at Waves 50 and 75) or push into Endless Overdrive. Between runs, Star Medals fuel 9 Armory tracks, 5 Command Doctrines with Mastery stamps, Threat Ascension 0–10, and Prestige.

4. Shipping Desktop 4K and iPhone/iPad Touch From One WebGL2 Codebase

APOGEE KEEP runs a deterministic 30 Hz simulation (DT = 1/30, zero Math.random calls inside src/sim/) decoupled from a Three.js WebGL2 renderer and DOM HUD, packaged into a single self-contained page (dist/index.html) backed by 253 unit tests across 32 suites.

Keeping 127 alien warship styles, 3D rank upgrades, shield domes, and 4K orbital backdrops smooth across both high-DPI desktop monitors and iPhone/iPad Safari took a strict rendering budget (src/render/stage/mobile-perf.ts):

  • GPU Instancing & Merged Geometry: Merging and instancing enemy styles and rank artifacts cut draw calls by more than 90%.
  • Shared Shield Geometry & Early-Z: Station and enemy shields share a single SphereGeometry with Early-Z depth discipline and mobile LOD.
  • Deterministic FramePacer & Dynamic Resolution: Desktop High runs full 4096 PCF shadows, 5-level bloom, and 16x anisotropy; Phone and Battery Saver tiers step down DPR dynamically when frame times rise and pause redraws completely on settled static menus.
  • Zero-Reflow HUD & Native Touch Ergonomics: World-space markers avoid layout thrash, bars animate on GPU scaleX, and touch layouts enforce safe-area insets with 44x44px hit targets plus pinch/drag camera orbit.

Try APOGEE KEEP

Every wave auto-saves locally, runs last 15 to 60+ minutes depending on whether you extract at Wave 25 or push Endless Overdrive, and there is nothing to install or register.