1
0
Fork 0
This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
pacifist-jam/game/splash/Gohh.gd
2022-07-28 02:00:04 +02:00

11 lines
274 B
GDScript

extends AudioStreamPlayer
func _ready() -> void:
connect("finished", self, "go")
yield(get_tree().create_timer(1.0), "timeout")
play()
$"../TextureRect".show()
func go():
yield(get_tree().create_timer(1.0), "timeout")
get_tree().change_scene("res://game/Game.tscn")