This is a sample of sprite animation implementation of an effect using flutter's game engine, flame.
Click here to see a sample of how it works on the web.
flutter run
Executes the animation of the effect selected by the DropdownButton component.
SpriteAnimationData.sequenced
is used to perform animation with multi-line sprite images.
- Physical attack animation x 3 types
- Animation for skills x 7 types
Type | File and parameter names | amount (Cells) | amountPerRow (Row) | animation |
---|---|---|---|---|
Slash | slash | 30 | 5 | |
Thrust | thrust | 30 | 5 | |
Punch | punch | 30 | 5 |
These settings are specified in sprite_list.dart, which reads the image in assets and performs the animation.
無料素材集Vol.1 - The Free Archives
I appreciate it very much.
Daisuke Takayama