mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Some more adjustments
This commit is contained in:
@ -60,7 +60,7 @@ class MyGame extends BaseGame with TapDetector {
|
||||
|
||||
const s = 100.0;
|
||||
final animationComponent2 = SpriteAnimationComponent(s, s, animation);
|
||||
animationComponent2.x = size.width / 2 - s;
|
||||
animationComponent2.x = size.x / 2 - s;
|
||||
animationComponent2.y = s;
|
||||
|
||||
final reversedAnimationComponent = SpriteAnimationComponent(
|
||||
|
||||
Reference in New Issue
Block a user