-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTutorial.tscn
171 lines (130 loc) · 5.08 KB
/
Tutorial.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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[gd_scene load_steps=12 format=2]
[ext_resource path="res://Images/Bug1.png" type="Texture" id=1]
[ext_resource path="res://Images/Butterfly2.png" type="Texture" id=2]
[ext_resource path="res://Images/Butterfly3.png" type="Texture" id=3]
[ext_resource path="res://Images/Bug3.png" type="Texture" id=4]
[ext_resource path="res://Images/Bug4.png" type="Texture" id=5]
[ext_resource path="res://Tutorial.gd" type="Script" id=6]
[ext_resource path="res://Images/Butterfly1.png" type="Texture" id=7]
[ext_resource path="res://Images/Bug2.png" type="Texture" id=8]
[ext_resource path="res://Images/Lamp.png" type="Texture" id=9]
[ext_resource path="res://Images/Lamp_off.png" type="Texture" id=10]
[ext_resource path="res://Images/Light.png" type="Texture" id=11]
[node name="Tutorial" type="Node2D"]
script = ExtResource( 6 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 257.0
margin_bottom = 155.0
color = Color( 0.054902, 0.0392157, 0.0941176, 1 )
[node name="Button" type="Button" parent="."]
margin_left = -8.0
margin_top = -8.0
margin_right = 269.0
margin_bottom = 158.0
flat = true
[node name="States" type="Node" parent="."]
[node name="State1" type="Label" parent="States"]
margin_right = 257.0
margin_bottom = 150.0
text = "
Light Attracts Bugs
Click the bugs to get points
+1 +3
+2 +4"
[node name="Bug1" type="Sprite" parent="States/State1"]
position = Vector2( 45, 91 )
texture = ExtResource( 1 )
[node name="Bug2" type="Sprite" parent="States/State1/Bug1"]
position = Vector2( -2, 32 )
texture = ExtResource( 8 )
[node name="Bug3" type="Sprite" parent="States/State1/Bug1/Bug2"]
position = Vector2( 163, -33 )
texture = ExtResource( 4 )
[node name="Bug4" type="Sprite" parent="States/State1/Bug1/Bug2"]
position = Vector2( 164, 2 )
texture = ExtResource( 5 )
[node name="State2" type="Label" parent="States"]
visible = false
margin_right = 257.0
margin_bottom = 150.0
text = "
Light Attracts Bugs
Butterflies take away points
-1 -3
-2 "
[node name="Bug1" type="Sprite" parent="States/State2"]
position = Vector2( 45, 91 )
texture = ExtResource( 7 )
[node name="Bug2" type="Sprite" parent="States/State2/Bug1"]
position = Vector2( -2, 32 )
texture = ExtResource( 2 )
[node name="Bug3" type="Sprite" parent="States/State2/Bug1/Bug2"]
position = Vector2( 163, -33 )
texture = ExtResource( 3 )
[node name="State3" type="Label" parent="States"]
visible = false
margin_right = 257.0
margin_bottom = 150.0
rect_pivot_offset = Vector2( -91, 18 )
text = "
Light Attracts Bugs
You can turn off the lights with
[SPACE]
OR WITH THE LIGHT BUTTON"
[node name="Light" type="Sprite" parent="States/State3"]
visible = false
position = Vector2( 134, 126 )
texture = ExtResource( 11 )
[node name="State4" type="Label" parent="States"]
visible = false
margin_right = 257.0
margin_bottom = 150.0
rect_pivot_offset = Vector2( -33, 40 )
text = "
Light Attracts Bugs
Lights on will spawn more bugs
Lights off will make them flee "
[node name="Lamp" type="Sprite" parent="States/State4"]
position = Vector2( 18, 51 )
scale = Vector2( 0.71875, 0.71875 )
texture = ExtResource( 9 )
[node name="Lamp" type="Sprite" parent="States/State4/Lamp"]
position = Vector2( 1.3913, 59.8261 )
scale = Vector2( 0.968071, 0.968071 )
texture = ExtResource( 10 )
[node name="State5" type="Label" parent="States"]
visible = false
margin_right = 257.0
margin_bottom = 150.0
rect_pivot_offset = Vector2( -33, 40 )
text = "
Light Attracts Bugs
If bugs flee you lose
If butterflies flee they disappear"
[node name="Lamp" type="Sprite" parent="States/State5"]
position = Vector2( 19, 57 )
scale = Vector2( 1.29688, 1.48438 )
texture = ExtResource( 4 )
[node name="Lamp" type="Sprite" parent="States/State5/Lamp"]
position = Vector2( 1.54217, 22.2316 )
scale = Vector2( 0.968071, 0.968071 )
texture = ExtResource( 7 )
[node name="State6" type="Label" parent="States"]
visible = false
margin_right = 257.0
margin_bottom = 150.0
rect_pivot_offset = Vector2( -33, 40 )
text = "
GET READY
CLICK THE BUGS
FLEE THE BUTTERFLIES
CLICK TO START"
[node name="Lamp" type="Sprite" parent="States/State6"]
position = Vector2( 19, 57 )
scale = Vector2( 1.29688, 1.48438 )
texture = ExtResource( 4 )
[node name="Lamp" type="Sprite" parent="States/State6/Lamp"]
position = Vector2( 1.54217, 22.2316 )
scale = Vector2( 0.968071, 0.968071 )
texture = ExtResource( 7 )
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]