fix: placed right some moved sprites

pull/164/head
RuiAlonso 4 years ago
parent 51b7f478af
commit 2b109b8623

@ -115,7 +115,7 @@ class _DinoTopWallSpriteComponent extends SpriteComponent with HasGameRef {
); );
this.sprite = sprite; this.sprite = sprite;
size = sprite.originalSize / 10; size = sprite.originalSize / 10;
position = Vector2(27, -28.2); position = Vector2(22, -41.8);
} }
} }
@ -200,7 +200,7 @@ class _DinoBottomWall extends BodyComponent with InitialPosition {
@override @override
Future<void> onLoad() async { Future<void> onLoad() async {
await super.onLoad(); await super.onLoad();
renderBody = false; //renderBody = false;
await add(_DinoBottomWallSpriteComponent()); await add(_DinoBottomWallSpriteComponent());
} }
@ -215,6 +215,6 @@ class _DinoBottomWallSpriteComponent extends SpriteComponent with HasGameRef {
); );
this.sprite = sprite; this.sprite = sprite;
size = sprite.originalSize / 10; size = sprite.originalSize / 10;
position = Vector2(31.7, 18); position = Vector2(23.8, -9.5);
} }
} }

@ -140,9 +140,9 @@ class _SpaceshipRampBackgroundRampSpriteComponent extends SpriteComponent
Assets.images.spaceship.ramp.main.keyName, Assets.images.spaceship.ramp.main.keyName,
); );
this.sprite = sprite; this.sprite = sprite;
size = Vector2(38.3, 35.1); size = sprite.originalSize / 10;
anchor = Anchor.center; anchor = Anchor.center;
position = Vector2(-12.2, -543.5); position = Vector2(-12.2, -53.5);
} }
} }

Loading…
Cancel
Save