summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan <logan@cflip.net>2022-09-30 19:16:00 -0600
committerLogan <logan@cflip.net>2022-09-30 19:16:00 -0600
commitb57627b9d5226bb21e397ffef692eac23f4293fa (patch)
tree90eea514af8686c89381332a026948d3b0b7fb55
parent041052d87e9181d0b3108057af26d9ae1cd6913f (diff)
Make wall sprites appear taller.
-rw-r--r--scenes/level.tscn37
1 files changed, 26 insertions, 11 deletions
diff --git a/scenes/level.tscn b/scenes/level.tscn
index 1f89e81..7dcf4ff 100644
--- a/scenes/level.tscn
+++ b/scenes/level.tscn
@@ -32,34 +32,49 @@ script = ExtResource( 6 )
[node name="Interface" parent="." instance=ExtResource( 4 )]
[node name="Background" type="StaticBody2D" parent="."]
-position = Vector2( 684, 510 )
z_index = -1
-[node name="Sprite" type="Sprite" parent="Background"]
-position = Vector2( -550, -454 )
+[node name="CourtLines" type="Sprite" parent="Background"]
+position = Vector2( 134, 56 )
texture = ExtResource( 1 )
[node name="FloorCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( -591, -397 )
+position = Vector2( 93, 113 )
shape = SubResource( 1 )
-[node name="TextureRect" type="TextureRect" parent="Background"]
-margin_left = -886.0
-margin_top = -518.0
-margin_right = -629.0
-margin_bottom = -390.0
+[node name="CourtTile" type="TextureRect" parent="Background"]
+margin_left = -202.0
+margin_top = -8.0
+margin_right = 55.0
+margin_bottom = 120.0
mouse_filter = 2
texture = ExtResource( 5 )
stretch_mode = 2
[node name="RightWallCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( -490, -490 )
+position = Vector2( 194, 20 )
shape = SubResource( 2 )
[node name="LeftWallCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( -886, -490 )
+position = Vector2( -202, 20 )
shape = SubResource( 3 )
+[node name="WallCourtLines" type="Sprite" parent="Background"]
+position = Vector2( 141, -128 )
+scale = Vector2( 1, 2 )
+texture = ExtResource( 1 )
+centered = false
+region_enabled = true
+region_rect = Rect2( 87, 0, 73, 60 )
+
+[node name="WallCourtTile" type="Sprite" parent="Background"]
+position = Vector2( -202, -128 )
+scale = Vector2( 10.719, 2 )
+texture = ExtResource( 5 )
+centered = false
+region_enabled = true
+region_rect = Rect2( 0, 0, 32, 60 )
+
[node name="Hoop" parent="." instance=ExtResource( 2 )]
position = Vector2( 163, 37 )