Graphical Overhaul

This commit is contained in:
Exobyt 2024-08-20 16:59:16 +02:00
parent b9eec60df7
commit 65bf9e0c86
15 changed files with 338 additions and 23 deletions

View file

@ -15,5 +15,11 @@ func _process(delta: float) -> void:
pass
func _on_left_button_pressed() -> void:
get_parent().loadGrid()
func _on_play_again_button_pressed() -> void:
get_parent().get_parent().laodGrid()
func _on_home_pressed() -> void:
get_parent().get_parent().loadStartMenu()

View file

@ -62,11 +62,22 @@ layout_mode = 2
label_settings = ExtResource("4_dfemu")
horizontal_alignment = 1
[node name="left_Button" type="Button" parent="VBoxContainer3"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer3"]
layout_mode = 2
alignment = 1
[node name="playAgainButton" type="Button" parent="VBoxContainer3/HBoxContainer"]
layout_mode = 2
action_mode = 0
text = "Play Again"
icon = ExtResource("5_xkigm")
expand_icon = true
[connection signal="pressed" from="VBoxContainer3/left_Button" to="." method="_on_left_button_pressed"]
[node name="Home" type="Button" parent="VBoxContainer3/HBoxContainer"]
layout_mode = 2
action_mode = 0
text = " Home "
expand_icon = true
[connection signal="pressed" from="VBoxContainer3/HBoxContainer/playAgainButton" to="." method="_on_play_again_button_pressed"]
[connection signal="pressed" from="VBoxContainer3/HBoxContainer/Home" to="." method="_on_home_pressed"]