Cube Stacker
README.md
CubeStacker
A 3D physics block-stacking game, self-contained in one component.
Attach CubeStacker to a single entity in a play-mode scene. It builds the
arena (platform, studio lights, camera orbit pivot, dropper rail), drives the
game loop, renders the HUD, and tears everything down on destroy.
Controls
- A / D — move the dropper left / right
- Space — release the carried block (it falls and stacks physically)
- Right mouse + drag — orbit the camera
- Scroll — zoom
- R — restart after a collapse
Gameplay
A dropper sweeps a block back and forth above the platform. Time the release to land each block on the growing stack. Score is the number of blocks placed plus a bonus for clean centered drops; height is the world-height of the highest resting block. A block that falls off the platform (below the kill-plane) ends the run. Blocks shrink and the dropper speeds up as you climb.
All spawned entities are named with the cs_ prefix so a rebuild clears the
previous run; no entities leak across restarts or teardown.