Added world env to menu
This commit is contained in:
@@ -3,6 +3,14 @@
|
||||
[ext_resource type="Theme" uid="uid://bqj884yfvhhft" path="res://game/themes/main_menu.tres" id="1_htxfh"]
|
||||
[ext_resource type="Script" uid="uid://coqb1xl7lngo5" path="res://game/menu/game_over_menu.gd" id="2_m1ad0"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_m1ad0"]
|
||||
background_mode = 3
|
||||
tonemap_mode = 3
|
||||
glow_enabled = true
|
||||
glow_intensity = 4.0
|
||||
glow_hdr_threshold = 0.5
|
||||
glow_hdr_scale = 4.0
|
||||
|
||||
[node name="GameOverMenu" type="Control" unique_id=795145041]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -52,6 +60,9 @@ text = "MAIN MENU"
|
||||
[node name="FocusTimer" type="Timer" parent="." unique_id=1727491464]
|
||||
one_shot = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=555856531]
|
||||
environment = SubResource("Environment_m1ad0")
|
||||
|
||||
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/RetryButton" to="." method="_on_retry_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
|
||||
|
||||
@@ -4,6 +4,14 @@
|
||||
[ext_resource type="Script" uid="uid://daw3vlybwcj5l" path="res://game/menu/main_menu.gd" id="2_qnvmd"]
|
||||
[ext_resource type="FontFile" uid="uid://bslwwl3rn7mt2" path="res://fonts/Px437_HP_100LX_8x8.ttf" id="3_i4f54"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_i4f54"]
|
||||
background_mode = 3
|
||||
tonemap_mode = 3
|
||||
glow_enabled = true
|
||||
glow_intensity = 4.0
|
||||
glow_hdr_threshold = 0.5
|
||||
glow_hdr_scale = 4.0
|
||||
|
||||
[node name="MainMenu" type="Control" unique_id=569032006]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -63,6 +71,9 @@ Powered by Godot Engine"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 2
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=2040357503]
|
||||
environment = SubResource("Environment_i4f54")
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
|
||||
@@ -9,6 +9,14 @@ action = &"ui_cancel"
|
||||
[sub_resource type="Shortcut" id="Shortcut_e2bp2"]
|
||||
events = [SubResource("InputEventAction_j72d6")]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_e2bp2"]
|
||||
background_mode = 3
|
||||
tonemap_mode = 3
|
||||
glow_enabled = true
|
||||
glow_intensity = 4.0
|
||||
glow_hdr_threshold = 0.5
|
||||
glow_hdr_scale = 4.0
|
||||
|
||||
[node name="OptionsMenu" type="Control" unique_id=1463826396]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -160,6 +168,9 @@ shortcut = SubResource("Shortcut_e2bp2")
|
||||
shortcut_in_tooltip = false
|
||||
text = "BACK"
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1005016521]
|
||||
environment = SubResource("Environment_e2bp2")
|
||||
|
||||
[connection signal="toggled" from="MarginContainer/VBoxContainer/GridContainer/FullscreenCheckButton" to="." method="_on_fullscreen_check_button_toggled"]
|
||||
[connection signal="value_changed" from="MarginContainer/VBoxContainer/GridContainer/MasterSlider" to="." method="_on_master_volume_changed"]
|
||||
[connection signal="value_changed" from="MarginContainer/VBoxContainer/GridContainer/UISlider" to="." method="_on_ui_volume_changed"]
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
[ext_resource type="Theme" uid="uid://bqj884yfvhhft" path="res://game/themes/main_menu.tres" id="1_i4rg2"]
|
||||
[ext_resource type="Script" uid="uid://b45v44jhm26oj" path="res://game/menu/pause_menu.gd" id="2_e1jsn"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_e1jsn"]
|
||||
background_mode = 3
|
||||
tonemap_mode = 3
|
||||
glow_enabled = true
|
||||
glow_intensity = 4.0
|
||||
glow_hdr_threshold = 0.5
|
||||
glow_hdr_scale = 4.0
|
||||
|
||||
[node name="PauseMenu" type="Control" unique_id=1815975678]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
@@ -45,6 +53,9 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "MAIN MENU"
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=117513485]
|
||||
environment = SubResource("Environment_e1jsn")
|
||||
|
||||
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/ContinueButton" to="." method="_on_continue_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/VBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user