-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tscn
67 lines (51 loc) · 2.32 KB
/
Main.tscn
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[gd_scene load_steps=11 format=2]
[ext_resource path="res://Main.gd" type="Script" id=1]
[ext_resource path="res://Spinach.tscn" type="PackedScene" id=2]
[ext_resource path="res://art/background.png" type="Texture" id=3]
[ext_resource path="res://Player.tscn" type="PackedScene" id=4]
[ext_resource path="res://HUD.tscn" type="PackedScene" id=5]
[ext_resource path="res://art/House In a Forest Loop.ogg" type="AudioStream" id=6]
[ext_resource path="res://art/gp_1.wav" type="AudioStream" id=7]
[ext_resource path="res://art/gp_2.wav" type="AudioStream" id=8]
[ext_resource path="res://art/gp_3.wav" type="AudioStream" id=9]
[ext_resource path="res://art/gameover.wav" type="AudioStream" id=10]
[node name="Main" type="Node2D"]
script = ExtResource( 1 )
Spinach = ExtResource( 2 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_left = 3.17334
margin_top = -3.17334
margin_right = 1203.17
margin_bottom = 797.827
color = Color( 0.423529, 0.65098, 0.976471, 1 )
[node name="Background" type="Sprite" parent="."]
visible = false
position = Vector2( 601.349, 401.428 )
texture = ExtResource( 3 )
[node name="Player" parent="." instance=ExtResource( 4 )]
visible = false
position = Vector2( 856.804, 717.176 )
[node name="SpinachTimer" type="Timer" parent="."]
wait_time = 0.25
[node name="GameOverTimer" type="Timer" parent="."]
wait_time = 30.0
one_shot = true
[node name="SecondsTimer" type="Timer" parent="."]
[node name="StartPosition" type="Position2D" parent="."]
position = Vector2( 155, 755 )
[node name="HUD" parent="." instance=ExtResource( 5 )]
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
[node name="Sweaks" type="Node" parent="."]
[node name="one" type="AudioStreamPlayer" parent="Sweaks"]
stream = ExtResource( 7 )
[node name="two" type="AudioStreamPlayer" parent="Sweaks"]
stream = ExtResource( 8 )
[node name="three" type="AudioStreamPlayer" parent="Sweaks"]
stream = ExtResource( 9 )
[node name="EndSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
[connection signal="timeout" from="SpinachTimer" to="." method="_on_SpinachTimer_timeout"]
[connection signal="timeout" from="GameOverTimer" to="." method="game_over"]
[connection signal="timeout" from="SecondsTimer" to="." method="_on_SecondsTimer_timeout"]
[connection signal="start_game" from="HUD" to="." method="new_game"]