1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-07 22:04:49 -04:00
dressupzack/project/src/GameKit.gd
Anthony Wilcox c93b416250 Removed Beyond outfit
-  WIP experiential JSON format for loading in new clothes
2019-06-08 17:09:19 -04:00

21 lines
No EOL
639 B
GDScript

# Anthony Wilcox licenses this file to you under the GPL license.
# See the LICENSE file in the project root for more information.
extends Node
var version = "2.0"
func is_game_paused(is_paused):
if is_paused == true:
get_tree().paused = true
else:
get_tree().paused = false
func switch_scenes(new_mode):
if new_mode == "classic":
get_tree().change_scene("res://scn/ClassicScn.tscn")
elif new_mode == "credits":
get_tree().change_scene("res://scn/CreditsScn.tscn")
elif new_mode == "play":
get_tree().change_scene("res://scn/GameScn.tscn")
elif new_mode == "title":
get_tree().change_scene("res://scn/TitleScn.tscn")