Log inGet started
World

Hole.io

Branchmain
Branchesmain
Commit2c0a6540a7

README.md

HoleGame

The whole Hole.io game in one world-component. Attach it to a single controller entity (the scene entrypoint does this) and it owns everything: the state machine (menu / level-select / settings / playing / paused / results / defeat), all zui screens, the player hole, 2–3 rival AI holes, the procedurally-scattered city, the eat-and-grow loop, the top-down follow camera, and procedural audio.

It ticks from both update (play) and editorUpdate (edit), so the game runs in either engine mode. All UI callbacks route through onCallback.

Public fields

  • bestLevel — highest level reached this session (drives unlocks).
  • bestMass — best mass achieved.

Dependencies

References committed sibling assets by bare name: the holeio_* materials and the holeio_audio/*.wav sound effects. All are pre-created so nothing is authored at runtime (play mode locks VFS writes).