blob: 371338479d1af815bafacb4e146516da8a30182b (
plain)
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
|
[gd_scene load_steps=10 format=3 uid="uid://b21nrnkygiyjt"]
[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_a1566"]
[ext_resource type="Script" path="res://menu/popup_message.gd" id="2_sbew6"]
[ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="3_2vnom"]
[ext_resource type="FontFile" uid="uid://bk704sc5gkrb3" path="res://menu/theme/font-azaret-mono.woff2" id="4_wsrnf"]
[ext_resource type="Texture2D" uid="uid://b2uv5rf0enikf" path="res://menu/hint.svg" id="5_2dxsd"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_k0m35"]
shader = ExtResource("3_2vnom")
shader_parameter/blur_amount = 3.5
shader_parameter/mix_amount = 0.85
shader_parameter/color_over = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_vq4dg"]
bg_color = Color(1, 1, 1, 0.878431)
corner_radius_top_left = 16
corner_radius_top_right = 16
corner_radius_bottom_right = 16
corner_radius_bottom_left = 16
[sub_resource type="FontVariation" id="FontVariation_qfltj"]
base_font = ExtResource("4_wsrnf")
variation_embolden = 0.75
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_3rgop"]
content_margin_left = 32.0
content_margin_top = 8.0
content_margin_right = 32.0
content_margin_bottom = 8.0
[node name="PopupMessage" type="MarginContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("1_a1566")
script = ExtResource("2_sbew6")
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 2
mouse_filter = 2
[node name="ServerMessage" type="PanelContainer" parent="VBox"]
visible = false
material = SubResource("ShaderMaterial_k0m35")
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_vq4dg")
[node name="CenterContainer" type="CenterContainer" parent="VBox/ServerMessage"]
layout_mode = 2
[node name="Label" type="Label" parent="VBox/ServerMessage/CenterContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = SubResource("FontVariation_qfltj")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3rgop")
text = "Server message"
[node name="HintMessage" type="PanelContainer" parent="VBox"]
visible = false
material = SubResource("ShaderMaterial_k0m35")
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_vq4dg")
[node name="CenterContainer" type="HBoxContainer" parent="VBox/HintMessage"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="VBox/HintMessage/CenterContainer"]
layout_mode = 2
theme_override_constants/margin_left = 4
theme_override_constants/margin_top = 4
theme_override_constants/margin_right = 4
theme_override_constants/margin_bottom = 4
[node name="TextureRect" type="TextureRect" parent="VBox/HintMessage/CenterContainer/MarginContainer"]
custom_minimum_size = Vector2(28, 28)
layout_mode = 2
texture = ExtResource("5_2dxsd")
expand_mode = 1
stretch_mode = 4
[node name="Label" type="Label" parent="VBox/HintMessage/CenterContainer"]
layout_mode = 2
theme_override_fonts/font = SubResource("FontVariation_qfltj")
theme_override_styles/normal = SubResource("StyleBoxEmpty_3rgop")
text = "A hint is worth more than a thousand manuals"
[node name="ServerTimer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true
[node name="HintTimer" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
[node name="AutoHintTimers" type="Node" parent="."]
[node name="Move" type="Timer" parent="AutoHintTimers"]
wait_time = 5.0
one_shot = true
[node name="Boost" type="Timer" parent="AutoHintTimers"]
wait_time = 90.0
one_shot = true
[node name="Interact" type="Timer" parent="AutoHintTimers"]
wait_time = 20.0
one_shot = true
[node name="Reset" type="Timer" parent="."]
wait_time = 10.0
one_shot = true
[connection signal="timeout" from="ServerTimer" to="." method="_on_server_timer_timeout"]
[connection signal="timeout" from="HintTimer" to="." method="_on_hint_timer_timeout"]
[connection signal="timeout" from="AutoHintTimers/Move" to="." method="_on_move_timeout"]
[connection signal="timeout" from="AutoHintTimers/Boost" to="." method="_on_boost_timeout"]
[connection signal="timeout" from="AutoHintTimers/Interact" to="." method="_on_interact_timeout"]
[connection signal="timeout" from="Reset" to="." method="_on_reset_timeout"]
|