-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMain.tscn
More file actions
119 lines (100 loc) · 4.1 KB
/
Copy pathMain.tscn
File metadata and controls
119 lines (100 loc) · 4.1 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Stack.tscn" type="PackedScene" id=1]
[ext_resource path="res://SpawnBlock.tscn" type="PackedScene" id=2]
[ext_resource path="res://Main.gd" type="Script" id=3]
[ext_resource path="res://TrashBlock.tscn" type="PackedScene" id=4]
[ext_resource path="res://OrderList.tscn" type="PackedScene" id=5]
[ext_resource path="res://CanvasLayer.gd" type="Script" id=6]
[ext_resource path="res://EndScreen.tscn" type="PackedScene" id=7]
[node name="Level" type="Node"]
script = ExtResource( 3 )
[node name="Stack" parent="." instance=ExtResource( 1 )]
position = Vector2( 339.685, 568.175 )
scale = Vector2( 0.25, 0.25 )
[node name="Cam2" type="Camera2D" parent="."]
position = Vector2( 512.947, -304.404 )
[node name="Cam1" type="Camera2D" parent="."]
position = Vector2( 512.947, 302.878 )
[node name="Button" type="Button" parent="."]
margin_left = 186.323
margin_top = 28.4054
margin_right = 215.323
margin_bottom = 48.4054
text = "^"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Button2" type="Button" parent="."]
margin_left = 214.864
margin_top = -34.6226
margin_right = 243.864
margin_bottom = -14.6226
rect_rotation = 179.888
text = "^"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="CanvasLayer" type="CanvasLayer" parent="."]
script = ExtResource( 6 )
[node name="OrderList" parent="CanvasLayer" instance=ExtResource( 5 )]
position = Vector2( 920.508, 18.8494 )
scale = Vector2( 0.25, 0.25 )
possible_dishes = [ "Cake", "Frosted Cake" ]
time_low = 20
time_high = 30
interval_low = 5
interval_high = 10
order_count = 10
[node name="SpawnBlock" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 518.03, 544.43 )
scale = Vector2( 0.25, 0.25 )
type = "Milk"
[node name="SpawnBlock2" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 519.29, 464.464 )
scale = Vector2( 0.25, 0.25 )
type = "Flour"
[node name="SpawnBlock4" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 660.401, 463.204 )
scale = Vector2( 0.25, 0.25 )
type = "Sugar"
[node name="SpawnBlock5" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 518.03, 388.869 )
scale = Vector2( 0.25, 0.25 )
type = "Baking Powder"
[node name="SpawnBlock6" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 662.921, 387.609 )
scale = Vector2( 0.25, 0.25 )
type = "Bake"
isOperator = true
[node name="SpawnBlock7" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 664.181, 317.054 )
scale = Vector2( 0.25, 0.25 )
type = "Apply"
isOperator = true
[node name="SpawnBlock8" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 516.77, 317.054 )
scale = Vector2( 0.25, 0.25 )
type = "Frosting"
[node name="SpawnBlock3" parent="CanvasLayer" instance=ExtResource( 2 )]
position = Vector2( 656.361, 542.728 )
scale = Vector2( 0.25, 0.25 )
type = "Mix"
isOperator = true
[node name="Trash" parent="CanvasLayer" instance=ExtResource( 4 )]
position = Vector2( 115, 443 )
scale = Vector2( 0.25, 0.25 )
[node name="EndScreen" parent="." instance=ExtResource( 7 )]
star1thresh = 100
star2thresh = 200
star3thresh = 300
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_Button2_pressed"]
[connection signal="level_over" from="CanvasLayer/OrderList" to="." method="_on_OrderList_level_over"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock2" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock4" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock5" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock6" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock7" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock8" to="." method="_on_SpawnBlock_spawn"]
[connection signal="spawn" from="CanvasLayer/SpawnBlock3" to="." method="_on_SpawnBlock_spawn"]