-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.tscn
More file actions
41 lines (30 loc) · 1.4 KB
/
Main.tscn
File metadata and controls
41 lines (30 loc) · 1.4 KB
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
[gd_scene load_steps=10 format=2]
[ext_resource path="res://Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Main.gd" type="Script" id=2]
[ext_resource path="res://ColorBlock.tscn" type="PackedScene" id=3]
[ext_resource path="res://config/Main_Config.tres" type="Resource" id=4]
[ext_resource path="res://Hud.tscn" type="PackedScene" id=5]
[ext_resource path="res://backgrounds/Floor.tscn" type="PackedScene" id=6]
[ext_resource path="res://config/Audio_Player.tscn" type="PackedScene" id=7]
[ext_resource path="res://GameOver.tscn" type="PackedScene" id=8]
[sub_resource type="Curve2D" id=1]
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 480, 0 )
}
[node name="Main" type="Node2D"]
script = ExtResource( 2 )
ColorBlock = ExtResource( 3 )
mainConfig = ExtResource( 4 )
[node name="Player" parent="." instance=ExtResource( 1 )]
z_index = 500
[node name="ColorPath" type="Path2D" parent="."]
curve = SubResource( 1 )
[node name="ColorSpawn" type="PathFollow2D" parent="ColorPath"]
[node name="ColorTimer" type="Timer" parent="."]
wait_time = 2.0
[node name="Hud" parent="." instance=ExtResource( 5 )]
[node name="GameOver" parent="." instance=ExtResource( 8 )]
[node name="Floor" parent="." instance=ExtResource( 6 )]
z_index = -1000
[node name="audio_player" parent="." instance=ExtResource( 7 )]
[connection signal="timeout" from="ColorTimer" to="." method="_on_ColorTimer_timeout"]