diff --git a/lib/game/components/jetpack_ramp.dart b/lib/game/components/jetpack_ramp.dart index 1761aaf6..88a8ec6e 100644 --- a/lib/game/components/jetpack_ramp.dart +++ b/lib/game/components/jetpack_ramp.dart @@ -28,7 +28,7 @@ class JetpackRamp extends Component with HasGameRef { await add( Pathway.arc( color: const Color.fromARGB(255, 8, 218, 241), - position: position, + center: position, width: _width, radius: _radius, angle: _angle, diff --git a/lib/game/components/launcher_ramp.dart b/lib/game/components/launcher_ramp.dart index 2c6e6700..94a768b3 100644 --- a/lib/game/components/launcher_ramp.dart +++ b/lib/game/components/launcher_ramp.dart @@ -29,7 +29,6 @@ class LauncherRamp extends Component with HasGameRef { await add( Pathway.straight( color: const Color.fromARGB(255, 34, 255, 0), - position: position, start: Vector2(0, 0), end: Vector2(0, 600), width: 80, @@ -40,7 +39,7 @@ class LauncherRamp extends Component with HasGameRef { await add( Pathway.arc( color: const Color.fromARGB(255, 251, 255, 0), - position: position + Vector2(-28.8, -6), + center: position + Vector2(-28.8, -6), radius: _radius, angle: _angle, width: _width, diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index c5780829..0abb13b1 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -42,7 +42,7 @@ class PinballGame extends Forge2DGame await _addGameBoundaries(); unawaited(_addPlunger()); - unawaited(_addPaths()); + //unawaited(_addPaths()); // Corner wall above plunger so the ball deflects into the rest of the // board.