summaryrefslogtreecommitdiff
path: root/scenes/level.tscn
blob: 1840d761b4f7d579738bd836131a0924edb22f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[gd_scene load_steps=7 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]
[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]

[sub_resource type="LineShape2D" id=1]
d = 10.0

[node name="Node2D" type="Node2D"]

[node name="Interface" parent="." instance=ExtResource( 4 )]

[node name="Hoop" parent="." instance=ExtResource( 2 )]
position = Vector2( 164, 38 )

[node name="Floor" type="StaticBody2D" parent="."]
position = Vector2( 684, 510 )

[node name="Sprite" type="Sprite" parent="Floor"]
position = Vector2( -547, -408 )
texture = ExtResource( 1 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
position = Vector2( -591, -397 )
shape = SubResource( 1 )

[node name="TextureRect" type="TextureRect" parent="Floor"]
anchor_right = 1.0
margin_left = -684.0
margin_top = -426.0
margin_right = -619.0
margin_bottom = -390.0
grow_horizontal = 0
mouse_filter = 2
texture = ExtResource( 5 )
stretch_mode = 2

[node name="Basketball" parent="." instance=ExtResource( 3 )]
position = Vector2( 31, 73 )

[connection signal="score" from="Hoop" to="Interface" method="_on_Hoop_score"]