Fixed Starting background seems.

This commit is contained in:
Marco Salazar 2021-09-05 12:55:13 -06:00
parent c75935db19
commit 9802a5c7ba

View File

@ -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);