ignifx

Docs

Start here, then read a guide that does one thing.

  • Getting started

    From nothing to a running template in five minutes.

  • Guides (16)

    Short guides, one task each, with code the engine's checks compile.

  • API reference

    Every public export of every package, generated from the source.

  • Templates

    Four small finished games to copy.

  • Browser support

    What WebGPU is, where it runs, and how to check.

  • Contributing

    How the project works and how to get a change in.

Guides

Scenes and assets

  • Load a modelA .glb or .gltf file loads as a ModelAsset, and a Model component instantiates it under an entity.
  • Spawn a prefabA prefab is a scene file (ADR-0005): the same ignifx.scene format, loaded as a SceneAsset and stamped out with world.instantiate.
  • Spawn a prefab on clickA click is a ray.

Rendering and motion

  • Tween a transformapp.tweens is core: it interpolates any number, Vec2, Vec3 or Quat property of any object, on the game clock, in PostUpdate — so a tween honours time.timeScale and stops with app.pause() unless it asks for updateWhenPaused.

Input

3D

2D

Audio

UI

  • Build a pause menuGame UI in ignifx is HTML, and @ignifx/ui's Menu is the list widget a front end is made of: a title, rows that declare what they edit, and one selection model that keyboard, gamepad and pointer all drive.

Saving

  • Save and load game stateapp.storage is the asynchronous key–value store behind save games, settings and input rebindings.

Tools