summaryrefslogtreecommitdiff
path: root/scenes/level.tscn
blob: cd1b8df6cf0e18f22f5ed351225fd7a1748ebdfe (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
[gd_scene load_steps=6 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]

[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( 796, 215 )

[node name="Floor" type="StaticBody2D" parent="."]
position = Vector2( 684, 510 )
__meta__ = {
"_edit_group_": true
}

[node name="Sprite" type="Sprite" parent="Floor"]
position = Vector2( -3.05176e-05, 2.52724e-05 )
scale = Vector2( 5, 5 )
texture = ExtResource( 1 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor"]
shape = SubResource( 1 )

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

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