SceneMainLoop -> SceneTree

-=-=-=-=-=-=-=-=-=-=-=-=-=-

*YOUR SOURCE MIGHT NOT WORK*
For mor information on fix:
https://github.com/okamstudio/godot/wiki/devel_scene_tree

Other stuff:
-Shower of bullets demo
-Fixes all around
This commit is contained in:
Juan Linietsky
2014-11-05 21:20:42 -03:00
parent ad587cc27f
commit bf79221919
10 changed files with 128 additions and 4 deletions

View File

@@ -5,11 +5,11 @@ extends Spatial
func _on_pause_pressed():
get_node("pause_popup").set_exclusive(true)
get_node("pause_popup").popup()
get_scene().set_pause(true)
get_tree().set_pause(true)
func _on_unpause_pressed():
get_node("pause_popup").hide()
get_scene().set_pause(false)
get_tree().set_pause(false)