aboutsummaryrefslogtreecommitdiff
path: root/client/menu/popup_message/popup_message.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/popup_message/popup_message.tscn')
-rw-r--r--client/menu/popup_message/popup_message.tscn150
1 files changed, 150 insertions, 0 deletions
diff --git a/client/menu/popup_message/popup_message.tscn b/client/menu/popup_message/popup_message.tscn
new file mode 100644
index 00000000..3669724a
--- /dev/null
+++ b/client/menu/popup_message/popup_message.tscn
@@ -0,0 +1,150 @@
+[gd_scene load_steps=12 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/popup_message.gd" id="2_sbew6"]
+[ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="3_2vnom"]
+[ext_resource type="PackedScene" uid="uid://dq61p3a8og2b6" path="res://menu/popup_message/server_message.tscn" id="3_m3rok"]
+[ext_resource type="Script" path="res://menu/blur_setup.gd" id="4_pvwmw"]
+[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/mix_amount_no_blur = 1.0
+shader_parameter/color_over = Color(0, 0, 0, 1)
+shader_parameter/enable_blur = null
+
+[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" parent="VBox" instance=ExtResource("3_m3rok")]
+visible = false
+layout_mode = 2
+
+[node name="HintMessage" type="PanelContainer" parent="VBox"]
+visible = false
+material = SubResource("ShaderMaterial_k0m35")
+layout_mode = 2
+size_flags_vertical = 0
+mouse_filter = 2
+theme_override_styles/panel = SubResource("StyleBoxFlat_vq4dg")
+script = ExtResource("4_pvwmw")
+
+[node name="CenterContainer" type="HBoxContainer" parent="VBox/HintMessage"]
+layout_mode = 2
+alignment = 1
+
+[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
+size_flags_horizontal = 3
+theme_override_fonts/font = SubResource("FontVariation_qfltj")
+theme_override_styles/normal = SubResource("StyleBoxEmpty_3rgop")
+text = "A hint is worth more than a thousand manuals"
+autowrap_mode = 3
+
+[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 = 2.0
+one_shot = true
+
+[node name="Performance" type="Timer" parent="AutoHintTimers"]
+wait_time = 20.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 = 15.0
+one_shot = true
+
+[node name="RotateCamera" type="Timer" parent="AutoHintTimers"]
+wait_time = 120.0
+one_shot = true
+
+[node name="Zoom" type="Timer" parent="AutoHintTimers"]
+wait_time = 135.0
+one_shot = true
+
+[node name="Nametags" type="Timer" parent="AutoHintTimers"]
+wait_time = 160.0
+one_shot = true
+
+[node name="Reset" type="Timer" parent="."]
+wait_time = 10.0
+one_shot = true
+
+[node name="JoinWhileRunning" type="Timer" parent="."]
+wait_time = 5.0
+one_shot = true
+
+[node name="ServerMessagePositional" type="Node2D" parent="."]
+visible = false
+
+[node name="ServerMessage" parent="ServerMessagePositional" instance=ExtResource("3_m3rok")]
+
+[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/Performance" to="." method="_on_performance_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="AutoHintTimers/RotateCamera" to="." method="_on_rotate_camera_timeout"]
+[connection signal="timeout" from="AutoHintTimers/Zoom" to="." method="_on_zoom_timeout"]
+[connection signal="timeout" from="AutoHintTimers/Nametags" to="." method="_on_nametags_timeout"]
+[connection signal="timeout" from="Reset" to="." method="_on_reset_timeout"]
+[connection signal="timeout" from="JoinWhileRunning" to="." method="_on_join_while_running_timeout"]