Skip to content

msitarzewski/thezonexr

Repository files navigation

TheZoneXR

TheZoneXR is a modern, browser-based homage to Atari Battlezone with a practical development strategy:

  • Build a solid desktop-playable game loop first.
  • Keep the architecture WebXR-first so the same core gameplay maps cleanly into immersive mode.

Project Goal

The primary target is WebXR gameplay from a tank cockpit perspective, with desktop mode acting as the fast iteration environment for movement, aiming, combat, and battlefield flow.

In short:

  1. Desktop = fast development and tuning.
  2. WebXR = primary end-user interface.

Current Direction

  • Tank movement tuned for heavy, deliberate motion.
  • Structured battlefield lanes inspired by classic Battlezone.
  • Enemy tanks with wave-based loop management.
  • Projectile and collision systems shared across desktop and XR contexts.
  • UI/cockpit layers that can degrade gracefully between input modes.

Controls (Desktop)

  • W / S or Arrow Up / Arrow Down: move forward/reverse
  • A / D or Arrow Left / Arrow Right or Q / E: turn
  • Space (hold): charge cannon
  • Space (release): fire

Run Locally

Serve over HTTP(S), do not use file://.

Example:

php -S localhost:8077

Then open:

Why Not file://

WebXR/WebGL assets and browser security policies can break behavior when loaded directly from disk. Local server hosting avoids those issues and matches production behavior.

Tech

  • A-Frame
  • Three.js (via A-Frame)
  • Vanilla JavaScript components for gameplay systems

Roadmap (High-Level)

  1. Lock desktop gameplay feel (movement, aiming, firing, enemy behavior).
  2. Align cockpit UX with classic Battlezone readability.
  3. Harden WebXR input paths (controllers + hand tracking).
  4. Improve tank/enemy fidelity while preserving frame budget.

License

Open source, public repository.

About

The primary target is WebXR gameplay from a tank cockpit perspective, with desktop mode acting as the fast iteration environment for movement, aiming, combat, and battlefield flow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors