DuckRun/code/GUI/startschild.gd
megamichi dd5b4bcae5 - improving textures
- adding coins (no shop jet)
- adding skin changing [no gui jet
- fixing loops for deleting stuff]
2024-11-10 19:51:00 +01:00

21 lines
482 B
GDScript

extends TextureRect
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$"../StartSchildLogo/AnimationPlayer".pop_in()
$AnimationPlayer.pop_in()
$Start.grab_focus()
func _on_start_pressed() -> void:
$AnimationPlayer.pop_out()
$"../StartSchildLogo/AnimationPlayer".pop_out()
$"../..".start_game()
func _on_settings_pressed() -> void:
$"../StartSchildLogo/AnimationPlayer".pop_out()
$AnimationPlayer.pop_out()
$"../Settings".open()