Added final features for this release. Now only polishing (if needed) remains.
Features: Sacrifice-Node, Maintain-Node, Options for screen type, lightcolor and soundvolume, tied in sound effects, game pause when menu is open, visibly open up gate when opening it.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dt84awx33mulb" path="res://Assets/Images/ResearchSymbol.png" id="3_df05h"]
|
||||
[ext_resource type="Texture2D" uid="uid://dm0w2gtcsa5l4" path="res://Assets/Images/Items/Batteryv1Symbol.png" id="4_8um5k"]
|
||||
[ext_resource type="Texture2D" uid="uid://qqprre8xl8gv" path="res://Assets/Images/Items/Dynamov2Symbol.png" id="5_xim88"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpq7ppe8bw2bq" path="res://Scenes/Options.tscn" id="6_options"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bnhvo"]
|
||||
bg_color = Color(0.24115604, 0.24115607, 0.24115595, 1)
|
||||
@@ -27,7 +28,7 @@ corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
|
||||
[node name="MainMenu" type="Control" unique_id=622011874]
|
||||
[node name="MainMenu" type="Control" unique_id=622011874 node_paths=PackedStringArray("options")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -35,6 +36,7 @@ anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_tt5f1")
|
||||
options = NodePath("Options")
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="." unique_id=1984828000]
|
||||
stream = ExtResource("2_8um5k")
|
||||
@@ -152,6 +154,11 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_bnhvo")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_tt5f1")
|
||||
text = "Exit Game"
|
||||
|
||||
[node name="Options" parent="." instance=ExtResource("6_options")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnPlay" to="." method="OnPlayPressed"]
|
||||
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnLoad" to="." method="OnLoadPressed"]
|
||||
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnOptions" to="." method="OnOptionsPressed"]
|
||||
[connection signal="button_up" from="CenterContainer/VBoxContainer/btnExit" to="." method="OnQuitPressed"]
|
||||
|
||||
Reference in New Issue
Block a user