Play in your browser: https://abesto.github.io/rktrl/
A toy roguelike built by following https://bfnightly.bracketproductions.com/rustbook/, with a few twists. Major ones:
- Using the
legion
ECS system instead of Specs- See this for my experience on the Specs -> Legion migration
- Using maximal magic for serialization using
legion_typeuuid
(limited by the lack of WASM support in thector
crate)
- Cause-and-effect pattern instead of
...Intent
components RunState
is managed through a Deque- Development features controlled with Cargo features
- Rendering is done in an ECS system, using
DrawBatch
es instead of directly writing to the console