diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-26 18:15:08 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-26 18:15:08 +0200 |
commit | b996560f5bc4165447179df3f5196addbd487c59 (patch) | |
tree | 3dec272575b1b6d6a2fd8c7eb62f84190bef2735 /scenes/levels | |
parent | c83dfac266720733909995583bb528b2357414f2 (diff) | |
download | ldjam48-b996560f5bc4165447179df3f5196addbd487c59.tar.gz ldjam48-b996560f5bc4165447179df3f5196addbd487c59.tar.bz2 ldjam48-b996560f5bc4165447179df3f5196addbd487c59.zip |
dunno
Diffstat (limited to 'scenes/levels')
-rw-r--r-- | scenes/levels/base_level.gd | 2 | ||||
-rw-r--r-- | scenes/levels/base_level.tscn | 1 | ||||
-rw-r--r-- | scenes/levels/reactiontest.tscn | 8 |
3 files changed, 8 insertions, 3 deletions
diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd index b374705..66085c5 100644 --- a/scenes/levels/base_level.gd +++ b/scenes/levels/base_level.gd @@ -67,7 +67,7 @@ func _unload_current_level(): yield(get_tree(), "idle_frame") # todo animation here? post mortem func _delayed_delete(c): - yield(get_tree().create_timer(2.0), "timeout") + yield(get_tree().create_timer(10.0), "timeout") c.queue_free() func _load_current_level(): if _loaded_level != null: diff --git a/scenes/levels/base_level.tscn b/scenes/levels/base_level.tscn index e2d57ba..6681a7d 100644 --- a/scenes/levels/base_level.tscn +++ b/scenes/levels/base_level.tscn @@ -41,7 +41,6 @@ position = Vector2( 571.642, -311.599 ) text = "Menu" [node name="PauseMenu" parent="Camera2D" instance=ExtResource( 5 )] - [connection signal="done" from="Camera2D" to="." method="_on_Camera2D_done"] [connection signal="on_click" from="Camera2D/MenuButton" to="." method="_on_MenuButton_on_click"] [connection signal="unpause" from="Camera2D/PauseMenu" to="." method="_on_PauseMenu_unpause"] diff --git a/scenes/levels/reactiontest.tscn b/scenes/levels/reactiontest.tscn index 41031e3..fc85dbc 100644 --- a/scenes/levels/reactiontest.tscn +++ b/scenes/levels/reactiontest.tscn @@ -1,13 +1,19 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 format=2] [ext_resource path="res://scenes/levels/reactiontest.gd" type="Script" id=1] [ext_resource path="res://components/button.tscn" type="PackedScene" id=2] [ext_resource path="res://fonts/Flipps_Theme.tres" type="Theme" id=3] +[ext_resource path="res://textures/colors/light_blue.png" type="Texture" id=4] [node name="Level2" type="Node2D"] position = Vector2( 640, 320 ) script = ExtResource( 1 ) +[node name="Sprite" type="Sprite" parent="."] +position = Vector2( -54.0326, 16.9514 ) +scale = Vector2( 931.209, 615.489 ) +texture = ExtResource( 4 ) + [node name="ButtonHolder" type="Node2D" parent="."] [node name="Button" parent="ButtonHolder" instance=ExtResource( 2 )] |