-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnoEnd.tscn
68 lines (61 loc) · 2 KB
/
noEnd.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
[gd_scene load_steps=4 format=3 uid="uid://cxml1y1grkrd7"]
[ext_resource type="FontFile" uid="uid://dw7kouprdlve2" path="res://assets/font/Chunk Five Print.otf" id="1_m1b5f"]
[ext_resource type="Script" path="res://no_end.gd" id="1_naixi"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vv712"]
bg_color = Color(0.203822, 0.0181469, 1.8049e-08, 1)
corner_radius_top_left = 20
corner_radius_top_right = 20
corner_radius_bottom_right = 20
corner_radius_bottom_left = 20
[node name="noEnd" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_naixi")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -602.0
offset_top = 57.0
offset_right = 603.0
offset_bottom = 108.0
grow_horizontal = 2
theme_override_fonts/font = ExtResource("1_m1b5f")
theme_override_font_sizes/font_size = 50
text = "Since a loop can't end. You can only do one thing!"
[node name="Button" type="Button" parent="."]
custom_minimum_size = Vector2(290, 60)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -4.0
offset_top = -4.0
offset_right = 4.0
offset_bottom = 4.0
grow_horizontal = 2
grow_vertical = 2
theme_override_fonts/font = ExtResource("1_m1b5f")
theme_override_font_sizes/font_size = 40
theme_override_styles/focus = SubResource("StyleBoxFlat_vv712")
theme_override_styles/disabled = SubResource("StyleBoxFlat_vv712")
theme_override_styles/hover = SubResource("StyleBoxFlat_vv712")
theme_override_styles/pressed = SubResource("StyleBoxFlat_vv712")
theme_override_styles/normal = SubResource("StyleBoxFlat_vv712")
text = "Continue!"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]