summaryrefslogtreecommitdiff
path: root/scenes/levels/base_level.gd
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/levels/base_level.gd
parent295ae387cd5f27f6a0d4ea0e8ba7bd4597b8eeb6 (diff)
downloadldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.tar.gz
ldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.tar.bz2
ldjam48-c7c43f21c67c13963fb7e62475377f12108b3b7f.zip
Larger base lavel
Diffstat (limited to 'scenes/levels/base_level.gd')
-rw-r--r--scenes/levels/base_level.gd2
1 files changed, 1 insertions, 1 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()