summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorJonas Bernard <public.jbernard@web.de>2021-04-26 18:01:32 +0200
committerJonas Bernard <public.jbernard@web.de>2021-04-26 18:01:32 +0200
commitc7c43f21c67c13963fb7e62475377f12108b3b7f (patch)
tree0de18b2593d539c69a8440a88b8a6a76c372cfd7 /scenes
parent295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6 (diff)
downloadldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.tar.gz
ldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.tar.bz2
ldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.zip
Larger base lavel
Diffstat (limited to 'scenes')
-rw-r--r--scenes/levels/base_level.gd2
-rw-r--r--scenes/menu.tscn1
2 files changed, 1 insertions, 2 deletions
diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd
index 335376d..b374705 100644
--- a/scenes/levels/base_level.gd
+++ b/scenes/levels/base_level.gd
@@ -24,7 +24,7 @@ func _ready():
func _get_next_level_pos() -> Vector2:
var dir = (randi() % 2) * 2 -1
- return _last_camera_location + Vector2(500, dir * (500 + randi() % 500))
+ return _last_camera_location + Vector2(1000, dir * (1000 + randi() % 1000))
func _create_path_from(from: Vector2, to: Vector2):
var path = Path2D.new()
diff --git a/scenes/menu.tscn b/scenes/menu.tscn
index 3828ad6..48707b6 100644
--- a/scenes/menu.tscn
+++ b/scenes/menu.tscn
@@ -194,7 +194,6 @@ 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"]