Misc fixes and tweaks to many demos

This commit is contained in:
Aaron Franke
2020-06-26 18:53:08 -04:00
parent 343669ca06
commit 189d6ac9b4
31 changed files with 363 additions and 206 deletions

View File

@@ -13,9 +13,9 @@ func goto_scene(path):
# The way around this is deferring the load to a later time, when
# it is ensured that no code from the current scene is running:
call_deferred("_deferred_goto_scene", path)
func _deferred_goto_scene(path):
# Immediately free the current scene, there is no risk here.
get_tree().get_current_scene().free()

View File

@@ -8,6 +8,9 @@ anchor_bottom = 1.0
size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 64.0