mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-13 05:52:24 +02:00
Title screen and credits
Also skipping with space. Nice.
This commit is contained in:
@@ -2,10 +2,11 @@ extends Control
|
||||
class_name TitleScreen
|
||||
|
||||
onready var new_game_button = $"VBoxContainer/NewGameButton"
|
||||
onready var animation_player = $AnimationPlayer
|
||||
|
||||
func _ready():
|
||||
new_game_button.grab_focus()
|
||||
|
||||
animation_player.play("__INIT__")
|
||||
|
||||
func _on_Startup_startup_finished():
|
||||
pass # Replace with function body.
|
||||
new_game_button.grab_focus()
|
||||
animation_player.play("show_buttons")
|
||||
|
||||
Reference in New Issue
Block a user