From 9802a5c7bad686aa6159a98ac6428a959c82a2c0 Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 5 Sep 2021 12:55:13 -0600 Subject: [PATCH] Fixed Starting background seems. --- lib/CircuitBackground.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CircuitBackground.dart b/lib/CircuitBackground.dart index e39d8c3..4835c80 100644 --- a/lib/CircuitBackground.dart +++ b/lib/CircuitBackground.dart @@ -23,6 +23,8 @@ class CircuitBackground extends MovingObject { background1Size = Vector2( gameRef.size.y * (background!.width / background!.height), gameRef.size.y); + background2Position = + Vector2(background1Position.x + background1Size.x - 1, 0); background2Size = Vector2( gameRef.size.y * (background!.width / background!.height), gameRef.size.y);