Create a new Scene with Node2D as root
Add a new TextureRect as child
Set the Custom Minimum Size
Create a new scene with Node2D as root
Add a new Area2D node as child
Add a new Sprite2D as child of Ground1
Set the texture of the sprite to base.png
Add a CollisionShape2D node as a child of Sprite1
Add a new RectangleShape2D
Rename Sprite1 to Sprite2
Move Ground2 to the end of Ground1
Add a new script to ScrollingGround
Add an export variable for the scroll speed
Add references to the ground nodes
Add a variable for the width of the sprite texture
(This is the distance ground needs to move left)
Extract the width of the texture
Ensure ground2 starts at the exact
Constantly move both grounds LEFT
If ground1 has moved off-screen
Move ground1 to the right of ground2
If ground2 has moved off-screen
Move ground2 to the right of ground1
Instantiate the ScrollingGround