mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	Some more adjustments
This commit is contained in:
		@ -60,7 +60,7 @@ class MyGame extends BaseGame with TapDetector {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    const s = 100.0;
 | 
					    const s = 100.0;
 | 
				
			||||||
    final animationComponent2 = SpriteAnimationComponent(s, s, animation);
 | 
					    final animationComponent2 = SpriteAnimationComponent(s, s, animation);
 | 
				
			||||||
    animationComponent2.x = size.width / 2 - s;
 | 
					    animationComponent2.x = size.x / 2 - s;
 | 
				
			||||||
    animationComponent2.y = s;
 | 
					    animationComponent2.y = s;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    final reversedAnimationComponent = SpriteAnimationComponent(
 | 
					    final reversedAnimationComponent = SpriteAnimationComponent(
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@ import 'dart:convert' show base64;
 | 
				
			|||||||
import 'dart:typed_data';
 | 
					import 'dart:typed_data';
 | 
				
			||||||
import 'dart:ui';
 | 
					import 'dart:ui';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import 'flame.dart';
 | 
					import '../flame.dart';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Images {
 | 
					class Images {
 | 
				
			||||||
  final Map<String, _ImageAssetLoader> _loadedFiles = {};
 | 
					  final Map<String, _ImageAssetLoader> _loadedFiles = {};
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user