Features

Every part of Just Game Engine 2.0.

Each area is a set of components and systems in one ECS world. Start with the default systems, add the rest as your game needs them, and opt into 3D.

Core

ECS world

Entities, components and systems in a World, with archetype storage, cached queries and a typed event bus.

  • Archetype storage and cached queries
  • Typed EventBus and a deferred command buffer
  • Prefabs stamped out with world.instantiate
  • Parent/child transform hierarchy
  • Signal-based views of the ECS
Read the docs

Engine lifecycle

Engines you create, initialize, start and dispose. Standard systems are opt-in through EngineConfig.

  • Engine() and await initialize(), no singletons
  • DefaultSystems.all, or headless for servers and tests
  • Per-engine context, registries and extensions
  • Fixed 1/60 s simulation step
  • Services and plugins that start and stop with the engine
Read the docs

Scenes

Levels are JSON scenes loaded at runtime: the same files the editor saves.

  • SceneLoader and a scenes.json play order
  • Prefab files with overrides, nesting and run-time spawning
  • ComponentDefinition describes each component once
  • Scenes from any earlier version migrate as they load
  • Your own components through engine extensions
Read the docs

Graphics

Rendering & layers

Self-drawing shapes, layers for draw order, batching, view culling, render hooks and parallax.

  • Rectangle, circle, capsule, polygon and line shapes
  • Gradients and paint styles
  • LayerComponent sets the draw order
  • 2D materials, lights and soft shadows
  • Parallax backgrounds
  • Render statistics every frame
Read the docs

Sprites & animation

Sprites, clips from atlases, and animator state machines with blend trees.

  • TexturePacker and Aseprite atlases
  • SpriteBatch draws a whole atlas in one call
  • Animator graphs: state machines driven by parameters
  • Shared easing functions
Read the docs

Timelines

Keyframe any saved component field, and sequence sprite clips, camera shots, audio and events.

  • Keyframes and curves on any saved field
  • Sprite, camera, audio, activation and event tracks
  • Nested timelines
  • Start one when something enters an area
Read the docs

Virtual cameras

Shots with priorities and blends, framing, confiners, noise, impulses and target groups.

  • A camera brain that blends between shots
  • Dead and soft zones with lookahead
  • Confiners, noise and impulse shakes
  • Target groups, trigger areas and dolly paths
Read the docs

Particles & effects

Particle emitters with presets, deterministic tick-based effects, and fragment-shader post-processing.

  • Presets: explosion, fire, smoke, rain, snow and more
  • Effects that serialize for networking and rollback
  • Full-frame and per-entity shader passes
Read the docs

Opt-in

3D graphics

glTF models, PBR materials, lights and environments on Flutter GPU, turned on when a game asks for them.

  • glTF and GLB models with skeletal animation
  • Eleven primitive shapes with materials
  • Directional, point and spot lights; sky and fog
  • A 2D game ships none of the 3D code
Read the docs

Gameplay

2D physics

Box2D v3 through FFI with a pure-Dart engine on the web: bodies, colliders, characters, joints and queries.

  • RigidBody2DComponent and Collider2DComponent, or a collider alone
  • CharacterBody2DComponent for slopes, steps and platforms
  • Joints with anchors, on both backends
  • Raycasts, circle casts, overlaps and bouncing rays
  • Collision and sensor events in the ECS
Read the docs

Opt-in

3D physics

Jolt Physics with the same names, fields and events as 2D, turned on when a game asks for it.

  • RigidBody3DComponent, Collider3DComponent, CharacterBody3DComponent
  • Box, sphere, capsule, cylinder, hull, mesh and height field
  • Six joint types
Read the docs

Input

Named actions over keyboard, mouse, gamepads and touch, with rebinding and local multiplayer.

  • Actions and bindings in an .input.json asset
  • Saved rebinding overrides
  • Local multiplayer with PlayerInputManager
  • On-screen touch controls
Read the docs

Level maps

Tile maps on four grid types, Tiled import and export, tile collision and editing while the game runs.

  • Orthogonal, isometric, staggered and hexagonal
  • Collision from the tiles, with one-way platforms
  • Terrain painting with Wang sets
  • A built-in tileset for blocking out levels
Read the docs

Tags & spawners

Indexed tags, entity targets by name or tag, and spawn points your game fills in.

  • findTagged and allTagged read an index
  • EntityTarget names an entity spawned later
  • Spawn points and spawners
Read the docs

Audio & content

Audio

Channels, buses, effects, streams and 3D sound with distance fading, doppler and muffling.

  • Sound from entities with AudioSourceComponent
  • 3D sources heard relative to a listener
  • On the web, audio starts at the first input
Read the docs

Assets & storage

An asset manager and a cache, with the engine keeping its data in a store of its own.

  • engine.assets loads and caches
  • engine.cache for saved data
  • GameAssetBundle loads a group in parallel
Read the docs

Localization

Translations with namespaces, fallbacks, plurals and selects, and a localized-text widget.

  • One LocalizationManager per engine
  • Plural and select forms
  • Fallback chains between locales
Read the docs

Dialogue & subtitles

Yarn Spinner 2.x scripts and timed subtitles, with ready-made dialogue widgets.

  • DialogueRunner and DialogueSystem
  • Timed subtitles with SubtitleController
  • Dialogue box widgets
Read the docs

Tooling

Flutter integration

The game draws inside GameWidget, with real Flutter widgets layered over it.

  • FPS badge, debug overlay and developer terminal
  • Overlays and widget layers with focus
  • Ready-made widgets in widgets.dart
Read the docs

Debugging & stats

Stats for the engine, world, physics and renderer, cheap enough to read every frame.

  • engine.performanceStats and frame budget
  • Per-system timings
  • Physics and render counters
Read the docs