-
Notifications
You must be signed in to change notification settings - Fork 0
/
Start.tscn
94 lines (78 loc) · 2.86 KB
/
Start.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Xolonium-Regular.tres" type="DynamicFont" id=1]
[ext_resource path="res://Start.gd" type="Script" id=2]
[ext_resource path="res://Mob.tscn" type="PackedScene" id=3]
[sub_resource type="Curve2D" id=1]
_data = {
"points": PoolVector2Array( 0, 0, 0, 0, 2.9187, -1.70639, 0, 0, 0, 0, 1024, -4.98304, 0, 0, 0, 0, 1023, 603, 0, 0, 0, 0, -4.02041, 599.975, 0, 0, 0, 0, 2.9187, -1.70639 )
}
[node name="Node" type="Node"]
script = ExtResource( 2 )
Mob = ExtResource( 3 )
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer"]
margin_left = -5.0
margin_top = -0.999996
margin_right = 1019.0
margin_bottom = 597.0
custom_constants/margin_right = 80
custom_constants/margin_top = 80
custom_constants/margin_left = 80
custom_constants/margin_bottom = 80
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/MarginContainer"]
margin_left = 80.0
margin_top = 80.0
margin_right = 944.0
margin_bottom = 518.0
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/MarginContainer/HBoxContainer"]
margin_right = 291.0
margin_bottom = 438.0
size_flags_horizontal = 3
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/MarginContainer/HBoxContainer"]
margin_left = 295.0
margin_right = 569.0
margin_bottom = 438.0
[node name="Message" type="Label" parent="CanvasLayer/MarginContainer/HBoxContainer/VBoxContainer"]
margin_right = 274.0
margin_bottom = 159.0
custom_fonts/font = ExtResource( 1 )
text = "JUST
DODGE!"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/MarginContainer/HBoxContainer/VBoxContainer"]
margin_top = 163.0
margin_right = 274.0
margin_bottom = 350.0
size_flags_vertical = 3
[node name="StartButton" type="Button" parent="CanvasLayer/MarginContainer/HBoxContainer/VBoxContainer"]
margin_top = 354.0
margin_right = 274.0
margin_bottom = 438.0
custom_fonts/font = ExtResource( 1 )
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer2" type="HBoxContainer" parent="CanvasLayer/MarginContainer/HBoxContainer"]
margin_left = 573.0
margin_right = 864.0
margin_bottom = 438.0
size_flags_horizontal = 3
[node name="MobSpawnPath" type="Path2D" parent="."]
position = Vector2( -0.975773, 3.90942 )
scale = Vector2( 1.00095, 0.985225 )
curve = SubResource( 1 )
[node name="MobSpawnPoint" type="PathFollow2D" parent="MobSpawnPath"]
position = Vector2( 2.9187, -1.70639 )
rotation = -0.00320899
[node name="MobSpawnTimer" type="Timer" parent="."]
wait_time = 0.5
autostart = true
[connection signal="pressed" from="CanvasLayer/MarginContainer/HBoxContainer/VBoxContainer/StartButton" to="." method="activate_game" flags=6]
[connection signal="timeout" from="MobSpawnTimer" to="." method="spawn_mob"]