summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 17:57:00 +0200
committerrom <romangraef@gmail.com>2021-04-26 17:57:00 +0200
commit295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6 (patch)
tree359c33c325cf0aef336f3ce41ac8b6ed19855e2e
parentcbb667117356043f026e7d041e767a7a4c692ffa (diff)
downloadldjam48-295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6.tar.gz
ldjam48-295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6.tar.bz2
ldjam48-295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6.zip
no running allowed
-rw-r--r--scenes/levels/base_level.tscn1
-rw-r--r--scenes/levels/typeracer.gd1
-rw-r--r--scenes/menu.tscn1
3 files changed, 2 insertions, 1 deletions
diff --git a/scenes/levels/base_level.tscn b/scenes/levels/base_level.tscn
index 6681a7d..e2d57ba 100644
--- a/scenes/levels/base_level.tscn
+++ b/scenes/levels/base_level.tscn
@@ -41,6 +41,7 @@ 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/typeracer.gd b/scenes/levels/typeracer.gd
index d461e60..5634810 100644
--- a/scenes/levels/typeracer.gd
+++ b/scenes/levels/typeracer.gd
@@ -4,7 +4,6 @@ onready var timer_label = $TimeLabel
var timer = 0
var total = 0
-var running = false
func start():
.start()
diff --git a/scenes/menu.tscn b/scenes/menu.tscn
index 48707b6..3828ad6 100644
--- a/scenes/menu.tscn
+++ b/scenes/menu.tscn
@@ -194,6 +194,7 @@ anims/startgame = SubResource( 2 )
[node name="Outgoing" type="AnimationPlayer" parent="."]
anims/tointro = SubResource( 3 )
anims/tosettings = SubResource( 4 )
+
[connection signal="on_click" from="Content/Back" to="." method="_on_Back_on_click"]
[connection signal="on_click" from="Content/HardMode" to="." method="_on_HardMode_on_click"]
[connection signal="on_click" from="Content/Exit" to="." method="_on_Exit_on_click"]