Modifies main menu base for testing

Replaces change scene button signals.
This commit is contained in:
MacDugRPG 2023-07-16 14:05:40 -04:00
parent d78daee643
commit ae9acf8931
9 changed files with 5 additions and 9 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
Phase2/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -20,7 +20,7 @@ margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
text = "Load Game (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"

View File

@ -20,7 +20,7 @@ margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
text = "New Game(temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"

View File

@ -20,7 +20,7 @@ margin_left = 0.0
margin_top = 0.0
margin_right = 0.0
margin_bottom = 0.0
text = "Multiplayer (temp)"
text = "Settings (temp)"
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
text = "Temp: back to menu"

View File

@ -9,10 +9,9 @@ export(String, FILE) var next_scene_path: = ""
var tempToggle = 0
func _on_But_NewGame_button_up():
func _on_But_ChangeScene_button_up():
get_tree().change_scene(next_scene_path)
func _get_configuration_warning() -> String:
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""

View File

@ -8,8 +8,5 @@ margin_bottom = 24.0
size_flags_vertical = 3
text = "New Game"
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="button_up" from="." to="." method="_on_But_NewGame_button_up"]
[connection signal="button_up" from="." to="." method="_on_But_ChangeScene_button_up"]