flame
flame copied to clipboard
feat: Animated tile support!
Description
Tiled supports animated tiles, and now Flame does as well...
Checklist
- [x] The title of my PR starts with a [Conventional Commit] prefix (
fix:
,feat:
,docs:
etc). - [x] I have followed the [Contributor Guide] when preparing my PR.
- [x] I have updated/added tests for ALL new/updated/fixed functionality.
- [x] I have updated/added relevant documentation in
docs
and added dartdoc comments with///
. - [x] I have updated/added relevant examples in
examples
ordocs
.
Breaking Change?
- [ ] Yes, this PR is a breaking change.
- [x] No, this PR is not a breaking change.
Related Issues
Closes #1914
converting to draft: more tests!
- Testing other map code paths
- I need to also fix #1932 in this commit.
Possible further optimization from discord chat:
- add frameTime and frame to TileFrames
- update(dt): 1: walk over all TileFrames (very small group), calculatate new frame.
- Walk over all TileAnimation (larger group) and update batchedSource if frame value changed
Would be good to have an example for the examples directory too.
Need to remember to update it to the newest version of Flame_tiled when it's available.
Need to remember to update it to the newest version of Flame_tiled when it's available.
The examples are managed by Melos, so Melos should be updating it automatically once we release a new version.
Need to remember to update it to the newest version of Flame_tiled when it's available.
The examples are managed by Melos, so Melos should be updating it automatically once we release a new version.
done!