oh-my-git/scenes/title.gd

17 lines
335 B
GDScript3
Raw Permalink Normal View History

extends Control
func _ready():
if !OS.has_feature("standalone") and !game.skipped_title:
game.skipped_title = true
get_tree().change_scene("res://scenes/level_select.tscn")
func quit():
get_tree().quit()
func levels():
get_tree().change_scene("res://scenes/level_select.tscn")
func on_survey_pressed():
game.open_survey()