From dc5c38b8c2c73c68104f9976be3020f9a61d5cbf Mon Sep 17 00:00:00 2001 From: RuiAlonso Date: Fri, 11 Mar 2022 21:32:31 +0100 Subject: [PATCH] chore: increase sparky angle --- lib/game/components/sparky_ramp.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/game/components/sparky_ramp.dart b/lib/game/components/sparky_ramp.dart index 5f351a83..dfac15fd 100644 --- a/lib/game/components/sparky_ramp.dart +++ b/lib/game/components/sparky_ramp.dart @@ -19,7 +19,7 @@ class SparkyRamp extends PositionComponent with HasGameRef { final double _radius = 300; final double _width = 80; - final double _angle = math.pi; + final double _angle = radians(200); final Vector2 _position; @override @@ -36,8 +36,9 @@ class SparkyRamp extends PositionComponent with HasGameRef { ); await add( SparkyRampArea( - position: _position + Vector2(-19, 6), + position: _position + Vector2(-18, -2), orientation: RampOrientation.down, + rotation: radians(13), ), ); await add(