ECS framework in Go
Represent game objects with entities and Go struct components. Typed queries give systems direct access to the data they need.
A 2D game framework for Go
Castrum is an ECS framework for building 2D games in Go. Its built on Ebitengine which provides rendering, input, audio and window management.

What Castrum brings
Represent game objects with entities and Go struct components. Typed queries give systems direct access to the data they need.
Build scenes in Go or describe them as data. Spawn them with different properties, compose hierarchies, and preload their assets.
Give characters reusable animation sets with states like idle, run, and attack. Layer tracks, blend transitions, and respond to playback signals.
Play music and sound effects, mix them on separate buses, and place sounds in the world with distance-based attenuation.
Bring your game together with cameras, collision detection, input bindings, timers, and more.