flame-games / sprite_anime

Sample sprite animation of effects using Flutter's Frame game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample sprite animation of effects

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.

Usage

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.

Effect Type Reference

  • Physical attack animation x 3 types
  • Animation for skills x 7 types

Physical Attack

Type File and parameter names amount (Cells) amountPerRow (Row) animation
Slash slash 30 5
Thrust thrust 30 5
Punch punch 30 5

Skills

Type File and parameter names amount (Cells) amountPerRow (Row) animation
Buff buff 60 5
DeBuff debuff 60 5
Shimmer shimmer 60 5
Cure cure 80 5
Shiled shield 60 5
Barrier barrier 100 5
Burst burst 100 5

These settings are specified in sprite_list.dart, which reads the image in assets and performs the animation.

Contributor

copyright holder

無料素材集Vol.1 - The Free Archives

© Dreams Circle

I appreciate it very much.

Author

Daisuke Takayama

About

Sample sprite animation of effects using Flutter's Frame game engine.


Languages

Language:Dart 65.9%Language:HTML 21.8%Language:Swift 12.3%