Lightweight, ECS-like package for Flame and Flutter. Backbone doesn't seek to replace the component system in Flame, it extends it by ECS patterns and a unified multi-platform input system.
No, we are still working on this package, currently we are using it in a not yet announced project.
It helps you to organize and structure features of your game and still use the many great features Flame ships. With backbone you can also increase the reusability of code. Backbone comes with a some build in features to support you.
- Multiplatform input system for:
- Taps
- Drags
- Long press
- Keyboard events
- All pointer types are supported (touch, mouse, stylus)
- Message system to decouple game elements from each other
- Fast queries for your nodes (game elements)
Yes! Backbone doesn't try to replace the component system at all. You can see it as an addition/upgrade to it.
No! You can add backbone to any Flame game and use it alongside the existing components.
Yes, there is simple example application that showcases all basic uses-cases of backbone. The code for the app can be found in example, a live demo can be found here.
Check out our documentation here in the repository or directly in the code.