diff options
| author | nokoe <nokoe@mailbox.org> | 2024-06-26 16:39:50 +0200 | 
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-06-26 16:39:50 +0200 | 
| commit | a8d17ba85a46169fa049c70e1a8f53ea97784c90 (patch) | |
| tree | f84853b18396e510149b0704e7238c1c22b87e98 /client/menu/ingame_menu.tscn | |
| parent | 5654b69e4c7e0aafe258ad0ab73105722a389def (diff) | |
| parent | 677b9c898b0fc3faac2aa505cce438a2b2189265 (diff) | |
| download | hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.bz2 hurrycurry-a8d17ba85a46169fa049c70e1a8f53ea97784c90.tar.zst  | |
Merge branch 'master' of ssh://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/menu/ingame_menu.tscn')
| -rw-r--r-- | client/menu/ingame_menu.tscn | 35 | 
1 files changed, 18 insertions, 17 deletions
diff --git a/client/menu/ingame_menu.tscn b/client/menu/ingame_menu.tscn index cf35a7e7..47b7cb54 100644 --- a/client/menu/ingame_menu.tscn +++ b/client/menu/ingame_menu.tscn @@ -1,16 +1,16 @@  [gd_scene load_steps=10 format=3 uid="uid://lxlgtjm8hw7v"]  [ext_resource type="Script" path="res://menu/ingame_menu.gd" id="1_gd1i3"] +[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme.tres" id="1_lb056"]  [ext_resource type="Shader" path="res://menu/blur_mix.gdshader" id="1_o42mc"] -[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme.tres" id="1_tm331"] -[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/font-sansita-swashed.woff2" id="2_4u0ox"] +[ext_resource type="FontFile" uid="uid://bo4vh5xkpvrh1" path="res://menu/theme/font-sansita-swashed.woff2" id="4_27kbu"]  [sub_resource type="Animation" id="Animation_8sedy"]  length = 0.001  tracks/0/type = "bezier"  tracks/0/imported = false  tracks/0/enabled = true -tracks/0/path = NodePath("side:position:x") +tracks/0/path = NodePath("Side:position:x")  tracks/0/interp = 1  tracks/0/loop_wrap = true  tracks/0/keys = { @@ -24,7 +24,7 @@ resource_name = "activate"  tracks/0/type = "bezier"  tracks/0/imported = false  tracks/0/enabled = true -tracks/0/path = NodePath("side:position:x") +tracks/0/path = NodePath("Side:position:x")  tracks/0/interp = 1  tracks/0/loop_wrap = true  tracks/0/keys = { @@ -46,7 +46,7 @@ shader_parameter/mix_amount = 0.3  shader_parameter/color_over = null  [sub_resource type="FontVariation" id="FontVariation_ud3l8"] -base_font = ExtResource("2_4u0ox") +base_font = ExtResource("4_27kbu")  variation_embolden = 0.5  [node name="IngameMenu" type="Control"] @@ -56,7 +56,7 @@ anchor_right = 1.0  anchor_bottom = 1.0  grow_horizontal = 2  grow_vertical = 2 -theme = ExtResource("1_tm331") +theme = ExtResource("1_lb056")  script = ExtResource("1_gd1i3")  [node name="AnimationPlayer" type="AnimationPlayer" parent="."] @@ -65,26 +65,27 @@ libraries = {  }  speed_scale = 8.0 -[node name="side" type="PanelContainer" parent="."] +[node name="Side" type="PanelContainer" parent="."]  material = SubResource("ShaderMaterial_o2vtr")  layout_mode = 1  anchors_preset = 9  anchor_bottom = 1.0  offset_left = -400.0  offset_right = -90.0 +offset_bottom = 1296.0  grow_vertical = 2 -[node name="margin" type="MarginContainer" parent="side"] +[node name="Margin" type="MarginContainer" parent="Side"]  layout_mode = 2  theme_override_constants/margin_left = 20  theme_override_constants/margin_top = 20  theme_override_constants/margin_right = 20  theme_override_constants/margin_bottom = 20 -[node name="options" type="VBoxContainer" parent="side/margin"] +[node name="Options" type="VBoxContainer" parent="Side/Margin"]  layout_mode = 2 -[node name="title" type="Label" parent="side/margin/options"] +[node name="Title" type="Label" parent="Side/Margin/Options"]  layout_mode = 2  auto_translate = false  theme_override_colors/font_outline_color = Color(0.566408, 0.208917, 0.266045, 1) @@ -93,25 +94,25 @@ theme_override_fonts/font = SubResource("FontVariation_ud3l8")  theme_override_font_sizes/font_size = 48  text = "Undercooked" -[node name="spacer" type="Control" parent="side/margin/options"] +[node name="Spacer" type="Control" parent="Side/Margin/Options"]  custom_minimum_size = Vector2(0, 10)  layout_mode = 2 -[node name="reconnect" type="Button" parent="side/margin/options"] +[node name="Reconnect" type="Button" parent="Side/Margin/Options"]  layout_mode = 2  text = "Reconnect"  alignment = 0 -[node name="main_menu" type="Button" parent="side/margin/options"] +[node name="MainMenu" type="Button" parent="Side/Margin/Options"]  layout_mode = 2  text = "Main Menu"  alignment = 0 -[node name="quit" type="Button" parent="side/margin/options"] +[node name="Quit" type="Button" parent="Side/Margin/Options"]  layout_mode = 2  text = "Quit"  alignment = 0 -[connection signal="pressed" from="side/margin/options/reconnect" to="." method="_on_reconnect_pressed"] -[connection signal="pressed" from="side/margin/options/main_menu" to="." method="_on_main_menu_pressed"] -[connection signal="pressed" from="side/margin/options/quit" to="." method="_on_quit_pressed"] +[connection signal="pressed" from="Side/Margin/Options/Reconnect" to="." method="_on_reconnect_pressed"] +[connection signal="pressed" from="Side/Margin/Options/MainMenu" to="." method="_on_main_menu_pressed"] +[connection signal="pressed" from="Side/Margin/Options/Quit" to="." method="_on_quit_pressed"]  |