Improve background tiling, move parallax layers vertically

This commit is contained in:
Nathan Lovato
2020-02-12 07:47:56 -06:00
parent bebf8e8249
commit 75df35b165
3 changed files with 7 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -20,6 +20,7 @@ centered = false
[node name="Clouds" type="ParallaxLayer" parent="."]
motion_scale = Vector2( 0.1, 1 )
motion_offset = Vector2( -550, 0 )
[node name="Sprite1" type="Sprite" parent="Clouds"]
position = Vector2( 28, 127 )
@@ -82,19 +83,21 @@ texture = ExtResource( 5 )
centered = false
[node name="Mountains2" type="ParallaxLayer" parent="."]
position = Vector2( 0, 481 )
motion_scale = Vector2( 0.2, 1 )
[node name="Sprite" type="Sprite" parent="Mountains2"]
position = Vector2( 0, 353 )
position = Vector2( 0, -114.388 )
texture = ExtResource( 1 )
region_enabled = true
region_rect = Rect2( 0, 0, 4096, 256 )
region_rect = Rect2( 0, 0, 3072, 256 )
[node name="Mountains1" type="ParallaxLayer" parent="."]
position = Vector2( 0, 481 )
motion_scale = Vector2( 0.4, 1 )
[node name="Sprite" type="Sprite" parent="Mountains1"]
position = Vector2( 0, 353 )
position = Vector2( 0, -100.279 )
texture = ExtResource( 6 )
region_enabled = true
region_rect = Rect2( 0, 0, 4096, 256 )
region_rect = Rect2( 0, 0, 3072, 256 )