mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-01 01:18:38 +08:00 
			
		
		
		
	docs: Fix examples for v1.9.0 (#2757)
Fixed up some examples that needed fixing before releasing v1.9.0
This commit is contained in:
		| @ -21,16 +21,16 @@ starts to drop in FPS, this is without any sprite batching and such. | ||||
|   Future<void> onLoad() async { | ||||
|     await camera.viewport.addAll([ | ||||
|       FpsTextComponent( | ||||
|         position: size - Vector2(0, 50), | ||||
|         position: size - Vector2(10, 50), | ||||
|         anchor: Anchor.bottomRight, | ||||
|       ), | ||||
|       emberCounter = TextComponent( | ||||
|         position: size - Vector2(0, 25), | ||||
|         position: size - Vector2(10, 25), | ||||
|         anchor: Anchor.bottomRight, | ||||
|         priority: 1, | ||||
|       ), | ||||
|     ]); | ||||
|     world.add(Ember(size: emberSize, position: size / 2)); | ||||
|     world.add(Ember(size: emberSize)); | ||||
|     children.register<Ember>(); | ||||
|   } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Lukas Klingsbo
					Lukas Klingsbo