From a72576bea6035d660010d054e2e87135b65ba85b Mon Sep 17 00:00:00 2001 From: KingGurke Date: Sun, 1 Oct 2023 15:57:53 +0200 Subject: [PATCH] Width of finish line now adjustable in editor --- src/game/level.gd | 1 - 1 file changed, 1 deletion(-) diff --git a/src/game/level.gd b/src/game/level.gd index 6a0819b..420caeb 100644 --- a/src/game/level.gd +++ b/src/game/level.gd @@ -46,7 +46,6 @@ func _ready(): finish.add_point(start + finish_right) finish.add_point(start + finish_left) # print_debug("start: ", start, "start out: ", start_out.normalized(), " finish left: ", start + start_out.normalized().rotated(90) * width/2, "start right: ", start + start_out.normalized().rotated(-90) * width/2) - finish.width = 20 player.position = start player.rotation = start_out.angle()