Modules
A module extends engine capabilities in composable pieces. Each module can contribute a component catalog, runtime handlers, editor panels, asset kinds, FileViews and AI skills without touching the engine itself.
| Module | ID | Version | Docs |
|---|---|---|---|
| 9-Slice | nineSlice | 0.7.0 | Planned |
| Actor | actor | 0.23.2 | Planned |
| Platformer 2D | platformer2d | 0.13.1 | Planned |
| Skeleton | skeleton | 0.13.1 | Planned |
| Sprite Animation | spriteAnim | 0.12.1 | Planned |
| Tilemap | tilemap | 0.28.1 | Planned |
| UI Motion | motion | 0.9.0 | Planned |
| Virtual Joystick | joystick | 0.5.0 | Planned |
Module contract
| File / capability | Purpose |
|---|---|
suity.plugin.json | Identity, version, compatible engine range, sdkApiVersion |
schema/components.json | Module component types, fields and defaults |
dist/runtime | Component handlers and runtime registration |
dist/editor | FileView, asset editors, inspector UI |
dependency/ | Asset dependency scanner (used by builds and downloads) |
skills/ | Optional AI skill instructions |
Modules do not import the Runtime Core directly; they integrate through SDK types and host capabilities such as registerComponentApi.
Modules and scenes
- Module components use neutral
suity.*types (for examplesuity.actor,suity.tilemap) defined by the merged catalog. - The engine and module catalogs are merged when a project opens. The downloaded
.suity/catalog.jsonmust include module components, otherwise renderers do not run after switching scenes. - Modules may create nodes under the canvas at runtime (for example tilemap entity layers), but editor previews stay static.
Roadmap
Per-module docs (configuration, fields, examples, API) will be added under:
modules/actor/— Actor blueprints, animation, socket bindingsmodules/tilemap/— layers, IntGrid, auto rules, entity layers and physicsmodules/platformer2d/— controller projects, moving platforms, pickups, external propertiesmodules/skeleton/— bones, skin attachments, meshes and FFDmodules/sprite-animation/— multiple SpriteSheets, clips, Actor previewmodules/motion/— UI motion and the Director previewmodules/nine-slice/— 9-slice bordersmodules/joystick/— virtual joystick and touch controllers
Until then, each module's dist/*.d.ts is the source of truth; add the module to typedoc.json entryPoints to generate API pages.
