Some more adjustments

This commit is contained in:
Erick Zanardo
2020-09-30 00:07:10 -03:00
parent 8b75c79f6a
commit b314a9e8cf
2 changed files with 2 additions and 2 deletions

View File

@ -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(