mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Creating AssetsCache class
This commit is contained in:
@ -16,7 +16,7 @@ class MyGame extends BaseGame {
|
||||
|
||||
final animation = await FlameAnimation.Animation.fromAsepriteData(
|
||||
"chopper.png",
|
||||
"./assets/chopper.json"
|
||||
"chopper.json"
|
||||
);
|
||||
final animationComponent = AnimationComponent(200, 200, animation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user