Fix keyboard navigation in menus
parent
4c163082ca
commit
2065979de9
Binary file not shown.
After Width: | Height: | Size: 393 KiB |
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/bugged-racing-cover.png-c3944339a70305f9e6894e4c340997dc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/bugged-racing-cover.png"
|
||||
dest_files=[ "res://.import/bugged-racing-cover.png-c3944339a70305f9e6894e4c340997dc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -22,8 +22,13 @@ _global_script_class_icons={
|
|||
|
||||
config/name="bugged-racing"
|
||||
run/main_scene="res://scenes/menu/main_menu.tscn"
|
||||
boot_splash/image="res://assets/bugged-racing-cover.png"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[gui]
|
||||
|
||||
theme/use_hidpi=true
|
||||
|
||||
[input]
|
||||
|
||||
throttle={
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
extends Panel
|
||||
|
||||
func _ready() -> void:
|
||||
$MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/StartButton.grab_focus()
|
||||
|
||||
func _on_StartButton_pressed() -> void:
|
||||
get_tree().change_scene("res://scenes/menu/start_menu.tscn")
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@ const beetle = preload("res://vehicles/beetlecar.tscn")
|
|||
const test_scene = preload("res://scenes/test_level.tscn")
|
||||
const gui_scene = preload("res://player/gui.tscn")
|
||||
|
||||
func _ready() -> void:
|
||||
$MarginContainer/VSplitContainer/CenterContainer/VBoxContainer/BuggyButton.grab_focus()
|
||||
|
||||
func _on_BuggyButton_pressed() -> void:
|
||||
_start_with_vehicle(buggy.instance())
|
||||
|
||||
|
|
Loading…
Reference in New Issue