summaryrefslogtreecommitdiff
path: root/scenes/level.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/level.tscn')
-rw-r--r--scenes/level.tscn25
1 files changed, 16 insertions, 9 deletions
diff --git a/scenes/level.tscn b/scenes/level.tscn
index 9c37e34..5dc83ea 100644
--- a/scenes/level.tscn
+++ b/scenes/level.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=7 format=2]
+[gd_scene load_steps=8 format=2]
[ext_resource path="res://textures/court_lines.png" type="Texture" id=1]
[ext_resource path="res://scenes/hoop.tscn" type="PackedScene" id=2]
@@ -9,31 +9,38 @@
[sub_resource type="LineShape2D" id=1]
d = 10.0
+[sub_resource type="LineShape2D" id=2]
+normal = Vector2( -1, 0 )
+
[node name="Node2D" type="Node2D"]
[node name="Interface" parent="." instance=ExtResource( 4 )]
-[node name="Floor" type="StaticBody2D" parent="."]
+[node name="Background" type="StaticBody2D" parent="."]
position = Vector2( 684, 510 )
z_index = -1
-[node name="Sprite" type="Sprite" parent="Floor"]
-position = Vector2( -548, -446 )
+[node name="Sprite" type="Sprite" parent="Background"]
+position = Vector2( -550, -454 )
texture = ExtResource( 1 )
-[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
+[node name="FloorCollider" type="CollisionShape2D" parent="Background"]
position = Vector2( -591, -397 )
shape = SubResource( 1 )
-[node name="TextureRect" type="TextureRect" parent="Floor"]
-margin_left = -684.0
-margin_top = -502.0
-margin_right = -619.0
+[node name="TextureRect" type="TextureRect" parent="Background"]
+margin_left = -886.0
+margin_top = -518.0
+margin_right = -629.0
margin_bottom = -390.0
mouse_filter = 2
texture = ExtResource( 5 )
stretch_mode = 2
+[node name="WallCollider" type="CollisionShape2D" parent="Background"]
+position = Vector2( -490, -490 )
+shape = SubResource( 2 )
+
[node name="Hoop" parent="." instance=ExtResource( 2 )]
position = Vector2( 163, 37 )