mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
Modifies main menu base for testing
Replaces change scene button signals.
This commit is contained in:
parent
d78daee643
commit
ae9acf8931
BIN
Phase2/.DS_Store
vendored
BIN
Phase2/.DS_Store
vendored
Binary file not shown.
BIN
Phase2/Godot_GameCode/.DS_Store
vendored
BIN
Phase2/Godot_GameCode/.DS_Store
vendored
Binary file not shown.
BIN
Phase2/Godot_GameCode/MainMenu/.DS_Store
vendored
BIN
Phase2/Godot_GameCode/MainMenu/.DS_Store
vendored
Binary file not shown.
@ -20,7 +20,7 @@ margin_left = 0.0
|
|||||||
margin_top = 0.0
|
margin_top = 0.0
|
||||||
margin_right = 0.0
|
margin_right = 0.0
|
||||||
margin_bottom = 0.0
|
margin_bottom = 0.0
|
||||||
text = "Multiplayer (temp)"
|
text = "Load Game (temp)"
|
||||||
|
|
||||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||||
text = "Temp: back to menu"
|
text = "Temp: back to menu"
|
||||||
|
@ -20,7 +20,7 @@ margin_left = 0.0
|
|||||||
margin_top = 0.0
|
margin_top = 0.0
|
||||||
margin_right = 0.0
|
margin_right = 0.0
|
||||||
margin_bottom = 0.0
|
margin_bottom = 0.0
|
||||||
text = "Multiplayer (temp)"
|
text = "New Game(temp)"
|
||||||
|
|
||||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||||
text = "Temp: back to menu"
|
text = "Temp: back to menu"
|
||||||
|
@ -20,7 +20,7 @@ margin_left = 0.0
|
|||||||
margin_top = 0.0
|
margin_top = 0.0
|
||||||
margin_right = 0.0
|
margin_right = 0.0
|
||||||
margin_bottom = 0.0
|
margin_bottom = 0.0
|
||||||
text = "Multiplayer (temp)"
|
text = "Settings (temp)"
|
||||||
|
|
||||||
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
[node name="But_ChangeScene" parent="Title" instance=ExtResource( 2 )]
|
||||||
text = "Temp: back to menu"
|
text = "Temp: back to menu"
|
||||||
|
@ -9,10 +9,9 @@ export(String, FILE) var next_scene_path: = ""
|
|||||||
|
|
||||||
var tempToggle = 0
|
var tempToggle = 0
|
||||||
|
|
||||||
func _on_But_NewGame_button_up():
|
func _on_But_ChangeScene_button_up():
|
||||||
get_tree().change_scene(next_scene_path)
|
get_tree().change_scene(next_scene_path)
|
||||||
|
|
||||||
|
|
||||||
func _get_configuration_warning() -> String:
|
func _get_configuration_warning() -> String:
|
||||||
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
return "next_scene_path must be set for this button to work" if next_scene_path == "" else ""
|
||||||
|
|
||||||
|
@ -8,8 +8,5 @@ margin_bottom = 24.0
|
|||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
text = "New Game"
|
text = "New Game"
|
||||||
script = ExtResource( 1 )
|
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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user