2024-10-03 21:12:20 +02:00
|
|
|
extends TextureRect
|
2024-10-01 15:56:30 +02:00
|
|
|
|
|
|
|
|
2024-11-10 19:51:00 +01:00
|
|
|
|
2024-10-01 15:56:30 +02:00
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
|
|
func _ready() -> void:
|
2024-11-10 19:51:00 +01:00
|
|
|
$"../StartSchildLogo/AnimationPlayer".pop_in()
|
|
|
|
$AnimationPlayer.pop_in()
|
2024-11-04 19:10:10 +01:00
|
|
|
$Start.grab_focus()
|
2024-10-01 15:56:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
func _on_start_pressed() -> void:
|
2024-11-10 19:51:00 +01:00
|
|
|
$AnimationPlayer.pop_out()
|
|
|
|
$"../StartSchildLogo/AnimationPlayer".pop_out()
|
2024-10-01 15:56:30 +02:00
|
|
|
$"../..".start_game()
|
2024-10-03 21:12:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
func _on_settings_pressed() -> void:
|
2024-11-10 19:51:00 +01:00
|
|
|
$"../StartSchildLogo/AnimationPlayer".pop_out()
|
|
|
|
$AnimationPlayer.pop_out()
|
2024-10-03 21:12:20 +02:00
|
|
|
$"../Settings".open()
|