Polish title online and save slot interfaces

This commit is contained in:
Alexander Sellite 2026-08-23 23:04:15 -04:00
parent a3aea98982
commit 867fd431af
8 changed files with 463 additions and 86 deletions

View file

@ -464,6 +464,7 @@ func _update_title_layout() -> void:
Vector2(field_width, field_height),
compact_layout
)
_configure_title_controller_navigation()
if not _title_settings_transition_active:
call_deferred("_capture_title_bubble_rest_position")
if _awaiting_start_input and not _title_entry_transition_active:
@ -1483,9 +1484,28 @@ func _set_title_bubbles_interactive(interactive: bool) -> void:
else Control.MOUSE_FILTER_IGNORE
)
if interactive:
ControllerFocusNavigationType.configure_spatial_neighbors(
_get_title_buttons()
)
_configure_title_controller_navigation()
func _configure_title_controller_navigation() -> void:
ControllerFocusNavigationType.configure_spatial_neighbors(
_get_title_buttons()
)
# The large Play bubble overlaps the inward edge of every surrounding
# bubble. Center-only spatial scoring otherwise links the four outside
# bubbles into a ring with no route back into Play.
_join_game_button.focus_neighbor_right = (
_join_game_button.get_path_to(_play_button)
)
_settings_button.focus_neighbor_left = (
_settings_button.get_path_to(_play_button)
)
_credits_button.focus_neighbor_right = (
_credits_button.get_path_to(_play_button)
)
_quit_button.focus_neighbor_left = (
_quit_button.get_path_to(_play_button)
)
func _capture_title_bubble_rest_position() -> void: