ignifx
GitHubnpm · soon

Guides

One task each, with code the engine's documentation checks compile and run. Every guide is a page of the Agent Skill that ships with the engine.

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