scrapyard-io / game-engine
Godot-inspired 2D scene tree game engine for ScrapyardIO (UX + tubes).
0.7.x-dev
2026-08-12 03:29 UTC
Requires
- php: ^8.4|^8.5|^8.6
- ext-pdo: *
- fabricate/contracts: ^0.7.0
- fabricate/nuts-and-bolts: ^0.7.0
- fabricate/sketches: ^0.7.0
- scrapyard-io/ux: ^0.7.2
- tubes/canvas: ^0.7.0
- tubes/contracts: ^0.7.0
- tubes/human-input: ^0.7.0
- tubes/inputs: ^0.7.0
- tubes/rendering: ^0.7.0
- tubes/windows: ^0.7.0
Requires (Dev)
- pestphp/pest: ^4
Suggests
- ext-pdo_sqlite: Required for the default SQLite ResourceStore path used in tests and demos.
This package is auto-updated.
Last update: 2026-08-12 03:31:49 UTC
README
Godot-inspired 2D scene-tree backend for ScrapyardIO 0.7 — nodes, signals, fixed-timestep physics, gfx-agnostic input, sprites, and Control UI — built on scrapyard-io/ux plus the tubes/Fabricate components this package actually uses.
# From an app (path repo example):
composer require scrapyard-io/game-engine:@dev
php workshop package:discover
./runner game-engine-sprite-demo
Dependencies
Direct runtime requires (no scrapyard-io/framework / scrapyard-io/tubes metapackages):
| Package | Why |
|---|---|
scrapyard-io/ux |
Node / Drawable / UIComponent / Scene seam |
tubes/canvas tubes/rendering tubes/windows |
paint / present surfaces |
tubes/inputs tubes/human-input tubes/contracts |
gfx-agnostic InputHandler / EngineInput |
fabricate/sketches fabricate/contracts fabricate/nuts-and-bolts |
sketch demo + service provider |
scrapyard-io/ux may still pull the tubes/framework metapackages until UX itself is narrowed.
Official Documentation
Docs live on the ScrapyardIO website when published. Package knowledge for agents is in .okf/.
License
MIT — see LICENSE.