1
Fork 0
mirror of https://github.com/Cookie-CHR/LD54-SPAce-ltd.git synced 2024-11-21 23:14:18 +00:00
space-ltd/change_level.gd
2023-10-15 18:46:50 +02:00

14 lines
319 B
GDScript

extends Node
func go_to_level(num):
get_tree().change_scene("res://scenes/level.tscn")
func go_to_menu():
get_tree().change_scene("res://scenes/menu.tscn")
func go_to_credits():
get_tree().change_scene("res://scenes/credits.tscn")
func go_to_level_map():
get_tree().change_scene("res://scenes/level_map.tscn")