* Added FlameAnimationController class * Added MainAnimationController class * Update doc comments * formatting * rename MainAnimationController * Added tests for StandardAnimationController * Added more tests * comment * Added changelog note * Export StandardAnimationController * formatting * Use a default for 'curve' parameter * rename onsetDelay -> startDelay * Added Transofm2DEffect * Added EffectComponent * Added .transform getter * formatting * Rename EffectComponent -> Effect * Add documentation for the Effect class * minor * Added a test for Effect class * Adding tests for removeOnFinish * Adding tests for onStart and onFinish * Also check the effect after reset * Fix-up merge * formatting * added doc-comments * changelog note * Added test for transform2DEffect * Adjusted comments * Make PositionComponent._transform public * change changelog * Added SimpleEffectController * Added DestroyEffect * Changelog note * Rename DestroyEffect -> RemoveEffect * Added example for RemoveEffect * flutter format * Move description of the RemoveEffectExample game * move the description again * minor
Flame examples
This is a set of small examples showcasing specific features of the Flame Engine, it's a great source of learning how to use certain things. See it live here.
This app is composed of a main menu in which you can select one of the examples and play with it. Each example is a standalone game and is contained within its own file, so you can easily checkout the code and see how it works.
For a very simple but complete game in Flame, check the example folder inside the Flame package.
These examples are kept up-to-date with the main branch of Flame. We are still working on v1 and
these will be the official examples when we launch, but for now it is a playground for us to test
release candidates and make sure that it all works as intended.
Help
If you have questions about this:
- Check the source code, the examples are meant to be simple, short, and easy to read.
- Check our extensive documentation, links to which can be found on the main repo (faq, docs folder, code/api docs, tutorials, flame-awesome).
- Join Blue Fire's Discord, we have a #flame channel where you can find lots of people to help and get help from.
- Use the
flametag on StackOverflow.