AURA

JSGG

AuraJS
DOCSEXAMPLESGITHUB
Runtime and 2D Exact Reference
Exact routing page for lifecycle, window, input, draw2d, 2D camera, assets, audio, storage, and related runtime helpers.
docs/reference/runtime-and-2d-exact-reference.md

Runtime and 2D Exact Reference

Use this page when the task is in the main game loop, 2D rendering path, or the always-nearby runtime helpers.

Table of Contents

  1. Covers
  2. Narrower Split Routes
  3. Fast Routing
  4. Namespace Map
  5. Exact Reading Order
  6. Practical Rule

Covers

  • lifecycle callbacks
  • aura.window
  • aura.input
  • aura.draw2d
  • 2D camera
  • color and vector constructors
  • aura.assets, aura.audio, aura.storage, aura.fs

Narrower Split Routes

Fast Routing

If you need... Open this first Canonical contract
setup/update/draw lifecycle ../external/game-dev-api/01-runtime-lifecycle-and-module-gates.md ../api-contract.md
window sizing, fullscreen, cursor, screenshots ../external/game-dev-api/02-window-input-and-2d-camera.md ../api-contract.md
keyboard, mouse, gamepad, action-map bindings ../external/game-dev-api/02-window-input-and-2d-camera.md ../api-contract.md
sprites, text, transforms, immediate-mode 2D draw ../external/game-dev-api/03-draw2d-sprites-text-and-transforms.md ../api-contract.md
image, font, audio, JSON, and raw asset loading ../external/game-dev-api/04-assets-audio-and-persistence.md ../api-contract.md
asset/media extension truth ../external/game-dev-api/assets-media.md ../api-contract.md

Namespace Map

  • lifecycle: aura.setup, aura.update(dt), aura.draw, aura.onResize, aura.onFocus, aura.onBlur, aura.onQuit
  • runtime shell: aura.window, aura.input
  • 2D render path: aura.draw2d, 2D camera helpers
  • content and persistence: aura.assets, aura.audio, aura.storage, aura.fs
  • primitives and values: aura.rgb, aura.rgba, aura.Color, aura.vec2, aura.vec3

Exact Reading Order

  1. Use the matching handbook section above.
  2. If you already know the subsystem, move to one of the narrower split routes above.
  3. Confirm the exact method or option shape in ../api-contract.md.

Practical Rule

If the work is in a normal first game loop, start here before opening the full contract from the top. This family covers most early AuraJS work.

DOCUMENT REFERENCE
docs/reference/runtime-and-2d-exact-reference.md
AURAJS
Cmd/Ctrl+K
aurajsgg