Engine selection
Pick tools that match delivery target, interaction model, and team constraints. Engines serve the game type — not the reverse.
Fit questions (ask first)
- Platform: Web, mobile, PC, console, VR?
- Primary loop: Action/physics, turn-based, narrative branch, management/UI, hybrid?
- Presentation: Full-screen canvas, DOM/UI chrome, or both?
- Toolchain: No-build / ESM OK, or bundler + editor OK?
- Authoring: Code-only, or designers need Twine/Ink/Godot/Unity editors?
Architecture patterns
| Pattern |
When |
Notes |
| Full engine shell |
Game is the canvas/scene |
Phaser, Godot, Unity, Kaplay as app root |
| Renderer + custom logic |
You want draw power, own gameplay |
PixiJS, Three.js + your systems |
| Hybrid shell + guest |
Dense UI/text + occasional skill-checks |
DOM/app shell; mount canvas engines in modals/viewports only |
| Narrative runtime |
Branching prose is the product |
Ink, Twine; host chrome separately |
| Content-as-data |
Levels/events authored as packs |
JSON/YAML + thin loader; engine optional |
Web — decision tree
What type of game?
│
├── Mostly DOM / panels / forms / text UI
│ ├── + small arcade/spatial challenges
│ │ └── Hybrid: custom shell + guest
│ │ Raw Canvas/WebGL → Kaplay → Phaser → PixiJS
│ └── + branching story
│ └── Ink (inkjs) or Twine export → host in DOM
│
├── Full-screen 2D game
│ ├── Full gameplay features (scenes, physics, input)
│ │ └── Phaser 4 (or Kaplay if you want lighter/faster prototype)
│ └── Mostly rendering / custom systems
│ └── PixiJS 8 (or Raw Canvas/WebGL if tiny scope)
│
└── Full-screen 3D game
├── Full engine / physics / XR
│ └── Babylon.js
└── Rendering-focused / lighter
└── Three.js
Quick comparison (web & common exports)
| Tool |
Type |
Best for |
Watch-outs |
| Raw Canvas / WebGL |
2D/low-level |
Tiny games, learning, no framework tax |
You own everything |
| Kaplay (ex-Kaboom) |
2D toolkit |
Fast prototypes, jam games |
Less “full product” structure than Phaser |
| Phaser 4 |
2D engine |
Complete 2D features |
Heavier; often bundled |
| PixiJS 8 |
2D renderer |
Performance, custom game code |
Not a full gameplay framework alone |
| Three.js |
3D renderer |
Visuals, lightweight 3D |
You add gameplay systems |
| Babylon.js |
3D engine |
Fuller 3D + XR |
Heavier than Three for simple scenes |
| Ink + inkjs |
Narrative |
Complex branching prose |
Weak for real-time multi-entity sims |
| Twine / Twison / TweeJS |
Narrative |
Educator-friendly branches |
Export/host glue; not a physics engine |
| Godot 4 |
Full engine |
2D/3D indie, open source |
Web export iteration cost |
| Unity |
Full engine |
Large teams, multi-platform |
Heavy for simple web UI games |
Editor-first web shells (Construct, GDevelop) fit visual prototyping; weaker when you need versioned code-first content pipelines.
Non-web defaults (see also platform skills)
| Target |
Lean toward |
| PC indie / open source |
Godot 4 |
| PC large team / multi-platform |
Unity |
| Mobile |
See game-development/mobile-games (touch, stores, battery) |
| VR/AR |
See game-development/vr-ar (+ Babylon/Three on web) |
Anti-patterns
| Don't |
Do |
| Choose Unity/Godot for a form-heavy browser tool |
Prefer DOM/hybrid |
| Force Ink to run real-time concurrent simulations |
Use narrative tools for branches; custom/sim code for clocks & entities |
| Use Phaser as “the whole app” when the surrounding UI is HTML |
Prefer a hybrid guest viewport |
| Optimize for WebGPU on day one |
Ship WebGL; add WebGPU + fallback when needed |
When to Use
Use when choosing or comparing game engines/frameworks before implementation, especially for hybrid DOM+canvas or narrative-first products.
Limitations
- Does not replace platform skills (
game-development/web-games, game-development/pc-games, …).
- Final choice still depends on team skill and shipping constraints.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---
2name: engine-selection
3description: Selects game engines and frameworks by platform, genre, and architecture (full canvas shell vs hybrid DOM shell + guest viewport). Covers Phaser, PixiJS, Kaplay, Canvas/WebGL, Three.js, Babylon.js, Go
4category: Creative & Media
5source: antigravity
6tags: [ai, design, presentation]
7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/game-development/engine-selection
8metadata:
9 source: https://skillmd.com/skills/sickn33/engine-selection
10---
11
12
13# Engine selection
14
15> Pick tools that match **delivery target**, **interaction model**, and **team constraints**. Engines serve the game type — not the reverse.
16
17---
18
19## Fit questions (ask first)
20
211. **Platform:** Web, mobile, PC, console, VR?
222. **Primary loop:** Action/physics, turn-based, narrative branch, management/UI, hybrid?
233. **Presentation:** Full-screen canvas, DOM/UI chrome, or both?
244. **Toolchain:** No-build / ESM OK, or bundler + editor OK?
255. **Authoring:** Code-only, or designers need Twine/Ink/Godot/Unity editors?
26
27---
28
29## Architecture patterns
30
31| Pattern | When | Notes |
32|---------|------|-------|
33| **Full engine shell** | Game *is* the canvas/scene | Phaser, Godot, Unity, Kaplay as app root |
34| **Renderer + custom logic** | You want draw power, own gameplay | PixiJS, Three.js + your systems |
35| **Hybrid shell + guest** | Dense UI/text + occasional skill-checks | DOM/app shell; mount canvas engines in modals/viewports only |
36| **Narrative runtime** | Branching prose is the product | Ink, Twine; host chrome separately |
37| **Content-as-data** | Levels/events authored as packs | JSON/YAML + thin loader; engine optional |
38
39---
40
41## Web — decision tree
42
43```
44What type of game?
45│
46├── Mostly DOM / panels / forms / text UI
47│ ├── + small arcade/spatial challenges
48│ │ └── Hybrid: custom shell + guest
49│ │ Raw Canvas/WebGL → Kaplay → Phaser → PixiJS
50│ └── + branching story
51│ └── Ink (inkjs) or Twine export → host in DOM
52│
53├── Full-screen 2D game
54│ ├── Full gameplay features (scenes, physics, input)
55│ │ └── Phaser 4 (or Kaplay if you want lighter/faster prototype)
56│ └── Mostly rendering / custom systems
57│ └── PixiJS 8 (or Raw Canvas/WebGL if tiny scope)
58│
59└── Full-screen 3D game
60 ├── Full engine / physics / XR
61 │ └── Babylon.js
62 └── Rendering-focused / lighter
63 └── Three.js
64```
65
66---
67
68## Quick comparison (web & common exports)
69
70| Tool | Type | Best for | Watch-outs |
71|------|------|----------|------------|
72| **Raw Canvas / WebGL** | 2D/low-level | Tiny games, learning, no framework tax | You own everything |
73| **Kaplay** (ex-Kaboom) | 2D toolkit | Fast prototypes, jam games | Less “full product” structure than Phaser |
74| **Phaser 4** | 2D engine | Complete 2D features | Heavier; often bundled |
75| **PixiJS 8** | 2D renderer | Performance, custom game code | Not a full gameplay framework alone |
76| **Three.js** | 3D renderer | Visuals, lightweight 3D | You add gameplay systems |
77| **Babylon.js** | 3D engine | Fuller 3D + XR | Heavier than Three for simple scenes |
78| **Ink + inkjs** | Narrative | Complex branching prose | Weak for real-time multi-entity sims |
79| **Twine / Twison / TweeJS** | Narrative | Educator-friendly branches | Export/host glue; not a physics engine |
80| **Godot 4** | Full engine | 2D/3D indie, open source | Web export iteration cost |
81| **Unity** | Full engine | Large teams, multi-platform | Heavy for simple web UI games |
82
83Editor-first web shells (**Construct**, **GDevelop**) fit visual prototyping; weaker when you need versioned code-first content pipelines.
84
85---
86
87## Non-web defaults (see also platform skills)
88
89| Target | Lean toward |
90|--------|-------------|
91| PC indie / open source | Godot 4 |
92| PC large team / multi-platform | Unity |
93| Mobile | See `game-development/mobile-games` (touch, stores, battery) |
94| VR/AR | See `game-development/vr-ar` (+ Babylon/Three on web) |
95
96---
97
98## Anti-patterns
99
100| Don't | Do |
101|-------|-----|
102| Choose Unity/Godot for a form-heavy browser tool | Prefer DOM/hybrid |
103| Force Ink to run real-time concurrent simulations | Use narrative tools for branches; custom/sim code for clocks & entities |
104| Use Phaser as “the whole app” when the surrounding UI is HTML | Prefer a hybrid guest viewport |
105| Optimize for WebGPU on day one | Ship WebGL; add WebGPU + fallback when needed |
106
107## When to Use
108
109Use when choosing or comparing game engines/frameworks before implementation, especially for hybrid DOM+canvas or narrative-first products.
110
111## Limitations
112
113- Does not replace platform skills (`game-development/web-games`, `game-development/pc-games`, …).
114- Final choice still depends on team skill and shipping constraints.
115- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.