summaryrefslogtreecommitdiff
path: root/scenes/level.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/level.tscn')
-rw-r--r--scenes/level.tscn97
1 files changed, 47 insertions, 50 deletions
diff --git a/scenes/level.tscn b/scenes/level.tscn
index 43f5689..91f685f 100644
--- a/scenes/level.tscn
+++ b/scenes/level.tscn
@@ -1,88 +1,85 @@
-[gd_scene load_steps=11 format=2]
+[gd_scene load_steps=11 format=3 uid="uid://cdtc5xcoq0iun"]
-[ext_resource path="res://textures/court_lines.png" type="Texture" id=1]
-[ext_resource path="res://scenes/hoop.tscn" type="PackedScene" id=2]
-[ext_resource path="res://scenes/basketball.tscn" type="PackedScene" id=3]
-[ext_resource path="res://scenes/interface.tscn" type="PackedScene" id=4]
-[ext_resource path="res://textures/court_tile.png" type="Texture" id=5]
-[ext_resource path="res://scripts/camera.gd" type="Script" id=6]
-[ext_resource path="res://scenes/audio.tscn" type="PackedScene" id=7]
+[ext_resource type="PackedScene" path="res://scenes/hoop.tscn" id="2"]
+[ext_resource type="PackedScene" uid="uid://dnb0otlc0mnc5" path="res://scenes/basketball.tscn" id="3"]
+[ext_resource type="Texture2D" uid="uid://cw2d7vif3odgj" path="res://textures/court_lines.png" id="3_y2ldl"]
+[ext_resource type="PackedScene" uid="uid://cixqgc85i5wnn" path="res://scenes/interface.tscn" id="4"]
+[ext_resource type="Texture2D" uid="uid://bnptqq0g60r6q" path="res://textures/court_tile.png" id="4_pw3tr"]
+[ext_resource type="Script" path="res://scripts/camera.gd" id="6"]
+[ext_resource type="PackedScene" uid="uid://ckf344kaw3ak6" path="res://scenes/audio.tscn" id="7"]
-[sub_resource type="LineShape2D" id=1]
-d = 10.0
+[sub_resource type="WorldBoundaryShape2D" id="1"]
-[sub_resource type="LineShape2D" id=2]
-normal = Vector2( -1, 0 )
+[sub_resource type="WorldBoundaryShape2D" id="2"]
+normal = Vector2(-1, 0)
-[sub_resource type="LineShape2D" id=3]
-normal = Vector2( 1, 0 )
+[sub_resource type="WorldBoundaryShape2D" id="3"]
+normal = Vector2(1, 0)
[node name="Node2D" type="Node2D"]
[node name="Camera2D" type="Camera2D" parent="."]
-position = Vector2( 123, 55 )
-current = true
+position = Vector2(123, 55)
limit_left = -202
limit_top = -202
limit_right = 214
limit_bottom = 120
-smoothing_enabled = true
-smoothing_speed = 7.0
-script = ExtResource( 6 )
+position_smoothing_speed = 7.0
+script = ExtResource("6")
-[node name="Interface" parent="." instance=ExtResource( 4 )]
+[node name="Interface" parent="." instance=ExtResource("4")]
[node name="Background" type="StaticBody2D" parent="."]
z_index = -1
-[node name="CourtLines" type="Sprite" parent="Background"]
-position = Vector2( 134, 56 )
-texture = ExtResource( 1 )
+[node name="CourtLines" type="Sprite2D" parent="Background"]
+position = Vector2(134, 56)
+texture = ExtResource("3_y2ldl")
[node name="FloorCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( 93, 113 )
-shape = SubResource( 1 )
+position = Vector2(93, 113)
+shape = SubResource("1")
[node name="CourtTile" type="TextureRect" parent="Background"]
-margin_left = -202.0
-margin_top = -8.0
-margin_right = 55.0
-margin_bottom = 120.0
+offset_left = -202.0
+offset_top = -8.0
+offset_right = 55.0
+offset_bottom = 120.0
mouse_filter = 2
-texture = ExtResource( 5 )
-stretch_mode = 2
+texture = ExtResource("4_pw3tr")
+stretch_mode = 1
[node name="RightWallCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( 194, 20 )
-shape = SubResource( 2 )
+position = Vector2(194, 20)
+shape = SubResource("2")
[node name="LeftWallCollider" type="CollisionShape2D" parent="Background"]
-position = Vector2( -202, 20 )
-shape = SubResource( 3 )
+position = Vector2(-202, 20)
+shape = SubResource("3")
-[node name="WallCourtLines" type="Sprite" parent="Background"]
-position = Vector2( 141, -161 )
-scale = Vector2( 1, 2.55 )
-texture = ExtResource( 1 )
+[node name="WallCourtLines" type="Sprite2D" parent="Background"]
+position = Vector2(141, -161)
+scale = Vector2(1, 2.55)
+texture = ExtResource("3_y2ldl")
centered = false
region_enabled = true
-region_rect = Rect2( 87, 0, 73, 60 )
+region_rect = Rect2(87, 0, 73, 60)
-[node name="WallCourtTile" type="Sprite" parent="Background"]
-position = Vector2( -202, -161 )
-scale = Vector2( 10.719, 2.55 )
-texture = ExtResource( 5 )
+[node name="WallCourtTile" type="Sprite2D" parent="Background"]
+position = Vector2(-202, -161)
+scale = Vector2(10.719, 2.55)
+texture = ExtResource("4_pw3tr")
centered = false
region_enabled = true
-region_rect = Rect2( 0, 0, 32, 60 )
+region_rect = Rect2(0, 0, 32, 60)
-[node name="Hoop" parent="." instance=ExtResource( 2 )]
-position = Vector2( 163, 37 )
+[node name="Hoop" parent="." instance=ExtResource("2")]
+position = Vector2(163, 37)
-[node name="Basketball" parent="." instance=ExtResource( 3 )]
-position = Vector2( 123, 73 )
+[node name="Basketball" parent="." instance=ExtResource("3")]
+position = Vector2(123, 73)
-[node name="Audio" parent="." instance=ExtResource( 7 )]
+[node name="Audio" parent="." instance=ExtResource("7")]
[connection signal="score" from="Hoop" to="Interface" method="_on_Hoop_score"]
[connection signal="score" from="Hoop" to="Basketball" method="_on_Hoop_score"]