# PolyBonk XR
Standalone WebXR AR and VR tabletop edition of PolyBonk rendered onto a circular miniature diorama table right in front of you, with VR thumbstick controls and 3D spatial sound effects.

![PolyBonk XR icon](pwa-192x192.png)

**PolyBonk XR** brings all **6 low-poly worlds** of **PolyBonk** onto a handcrafted circular walnut-and-brass gaming table directly in front of you! On mixed-reality headsets such as **Meta Quest 3**, the game automatically launches in **WebXR AR passthrough** so the circular miniature arena—complete with winding rivers, lava channels, bridges, pine woods, pyramids, glowing mushrooms, shrines, loot pots, swarming enemies, and towering bosses—sits right inside your real room.

![PolyBonk XR circular tabletop arena](screenshot.png)

## Features

- **Circular Tabletop AR & VR Experience:** Prefers **immersive-ar** passthrough whenever supported so you see the circular PolyBonk table standing in your own physical environment, and automatically falls back to a biome-matched **immersive-vr** studio room on VR-only headsets.
- **No Separate Control App Needed:** Everything plays standalone inside the headset (or desktop preview) with 360-degree VR thumbstick movement, automatic weapon attacks, controller haptics, and an orbiting floating 3D tabletop HUD for stats, 3-choice upgrade cards, victory screens, and world switching.
- **3D Spatialized Sound Effects:** Every sound originates from its live 3D position on the circular table in HRTF spatial audio—hear your hero's footsteps and creek wading, melee swings, crackling Storm Staff lightning jumping from your hero to enemies, monster hits and death pops, clay pots shattering, shrines chiming, approaching enemies vocalizing around the table, and boss slams and charges booming across the tabletop.
- **All 6 PolyBonk Worlds, Bosses & Adaptive Music:** Battle through **Sunlit Bonk Valley** (King Bonk), **Amber Dune Oasis** (Pharaoh Hex), **Frostbite Glacier** (Frostfang Rex), **Neon Fungal Hollow** (Mycelia Prime), **Obsidian Caldera** (Ignis Rex), and **Astral Star Citadel** (Overlord Polyon), each with its own circular biome landscape and toggleable adaptive multi-layer soundtrack.
- **Score & Green-Diamond Super Attack:** Collecting green XP diamonds dropped by enemies and loot pots builds your live **Score** (with saved Best Score) and charges your green **Super Attack** bar—when full, your hero automatically unleashes a sweeping emerald-gold **Super Attack** shockwave and lightning blast across the circular table!
- **Clear 3-Bar Tabletop HUD:** The floating panel above the middle of the table displays a large **red Health bar**, a **blue Weapon Upgrade countdown bar**, and a **green Super Attack bar**, plus live Score and Bonks.
- **Adjustable Table Size & Placement:** Switch between **Compact (0.9 m)**, **Standard (1.2 m)**, and **Grand (1.8 m)** circular table sizes, toggle the **Floor Pedestal** off for **Tray Only** placement on a real desk or table, or hold Grip and move the thumbsticks to spin, slide, or adjust table height.

## VR & AR Controls

- **Left or Right Thumbstick:** Move your hero 360 degrees relative to whichever side of the circular table you are viewing from (your weapons auto-attack nearby enemies).
- **Upgrades & Victory Screens:** Aim a controller ray at any card or button and pull **Trigger**, or push **Thumbstick Left / Right** and press **A / X** to confirm.
- **Hold Grip (Grab Button):** Grab the circular table directly and move your hand anywhere in 3D space to slide, raise, or lower it. Hold **both Grips** to rotate the table like a turntable, or use **Grip + Thumbsticks** for fine adjustment.
- **Thumbstick Click (L3 / R3):** Recenter the circular table directly in front of you.
- **B / Y Button:** Show or hide the floating tabletop menu (Switch Worlds, Table Size, Recenter, Pedestal/Tray, Music, Sound, Restart, Exit AR/VR).

## Desktop Preview Controls

- **Play on Screen:** Click **Play on Screen** (or press **WASD** / **Arrow Keys** / left-drag) to move your hero around the circular table directly in a desktop or mobile browser.
- **Upgrades:** Click any upgrade card or press **1**, **2**, or **3**.
- **Right-Drag / Q / E / Mouse Wheel:** Orbit 360 degrees around the circular table and zoom in or out.
- **[ / ] / G / R / M / I:** Switch Worlds / Cycle Table Size / Reset Orbit Camera / Mute Sound / Open Controls & Info.
