mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 13:32:23 +02:00
15 lines
348 B
GDScript
15 lines
348 B
GDScript
extends Node2D
|
|
|
|
export(String, FILE, "*.tscn,*.scn") var restart_scene = ""
|
|
export(String, FILE, "*.tscn,*.scn") var title_screen = ""
|
|
|
|
|
|
func _on_Restart_pressed():
|
|
get_tree().change_scene(restart_scene)
|
|
SoundControler.pub_stop_effects()
|
|
|
|
|
|
func _on_TitleScreen_pressed():
|
|
get_tree().change_scene(title_screen)
|
|
SoundControler.pub_stop_effects()
|