BCIRPG Main Menu additional updates

1. Removes pre-load singleton scripts from the project settings
2. Sets black background and ui_highContrast_but_theme.tres for buttons
3. Adds focus grab script for temp backgrounds for tab/enter control
This commit is contained in:
MacDugRPG
2022-02-20 16:09:15 -05:00
parent ad4a1123c4
commit dc2fe54ba2
29 changed files with 192 additions and 28 deletions

View File

@ -8,6 +8,7 @@ extends Button
export(String, FILE) var next_scene_path: = ""
func _on_But_NewGame_button_up():
get_tree().change_scene(next_scene_path)

View File

@ -1,11 +1,13 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://UserInterface/But_ChangeScene.gd" type="Script" id=1]
[ext_resource path="res://assets/ui_highContrast_but_theme.tres" type="Theme" id=2]
[node name="But_ChangeScene" type="Button"]
margin_right = 130.0
margin_bottom = 24.0
size_flags_vertical = 3
theme = ExtResource( 2 )
text = "New Game"
script = ExtResource( 1 )
__meta__ = {

View File

@ -1,11 +1,13 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://UserInterface/But_Quit.gd" type="Script" id=1]
[ext_resource path="res://assets/ui_highContrast_but_theme.tres" type="Theme" id=2]
[node name="But_Quit" type="Button"]
margin_top = 240.0
margin_right = 179.0
margin_bottom = 284.0
theme = ExtResource( 2 )
text = "Quit"
script = ExtResource( 1 )
__meta__ = {