From b39ca5030d3484e4c43a91a48cc00dda7419de83 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 17 May 2015 17:05:15 -0300 Subject: [PATCH] Updated tutorial_singletons (markdown) --- tutorial_singletons.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial_singletons.md b/tutorial_singletons.md index f1749c3..113fdd1 100644 --- a/tutorial_singletons.md +++ b/tutorial_singletons.md @@ -37,7 +37,8 @@ var player_vars = get_node("/root/playervariables") ### Custom Scene Switcher -This short tutorial will explain how to make a scene switcher by using autoload. For simple scene switching, the [SceneTree.change_scene](class_scenetree#change_scene) suffices (described [previously](tutorial_scene_main_loop#changing-current-scene) ), so this method is for more complex behaviros when switching scenes. +This short tutorial will explain how to make a scene switcher by using autoload. For simple scene switching, the [SceneTree.change_scene](class_scenetree#change_scene) method suffices (described [previously](tutorial_scene_main_loop#changing-current-scene) ), so this method is for more complex behaviors when switching scenes. + First download the template from here: [autoload.zip](media/autoload.zip), then open it. Two scenes are present, scene_a.scn and scene_b.scn on an otherwise empty project. Each are identical and contain a button connected to a callback for going to the opposite scene. When the project runs, it starts n scene_a.scn. However, this does nothing and pressing the button does not work. @@ -140,4 +141,3 @@ Finally, by running the project it's possible to switch bewtween both scenes y p -