Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 692 Bytes

File metadata and controls

35 lines (25 loc) · 692 Bytes

Gamengine Docs

This folder documents all public engine modules exported by lib/gamengine.dart.

Modules

Quick Start

import 'package:gamengine/gamengine.dart';

final world = World();
final engine = Engine(world: world);

engine.addSystem(
  PhysicsSystem(world: world),
  500,
);

engine.update(1 / 60);

Notes

  • Entities are lightweight component containers.
  • Systems hold behavior and run by priority (higher runs first).
  • Use persistence for save/load and optional system snapshots.