mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 11:43:19 +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(
|
||||
|
||||
@ -3,7 +3,7 @@ import 'dart:convert' show base64;
|
||||
import 'dart:typed_data';
|
||||
import 'dart:ui';
|
||||
|
||||
import 'flame.dart';
|
||||
import '../flame.dart';
|
||||
|
||||
class Images {
|
||||
final Map<String, _ImageAssetLoader> _loadedFiles = {};
|
||||
|
||||
Reference in New Issue
Block a user