diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 17:43:41 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-09 17:43:41 +0200 |
commit | 53a5ceb792bf3db3114dd06dbbc90c0f2c683afe (patch) | |
tree | cacac10e038171dff4bcb1541f2b3e4258ff72e6 /Scripts/drawing.gd | |
parent | a9c6a7cf69010079139ae7942bdff5dac450c827 (diff) | |
parent | f977fc5a19ba8e315a2482ad8f99749422c2f83a (diff) | |
download | 2023-53a5ceb792bf3db3114dd06dbbc90c0f2c683afe.tar.gz 2023-53a5ceb792bf3db3114dd06dbbc90c0f2c683afe.tar.bz2 2023-53a5ceb792bf3db3114dd06dbbc90c0f2c683afe.zip |
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Please enter a commit message to explain why this merge is necessary,
Diffstat (limited to 'Scripts/drawing.gd')
-rw-r--r-- | Scripts/drawing.gd | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Scripts/drawing.gd b/Scripts/drawing.gd index 6b94f6e..832c42d 100644 --- a/Scripts/drawing.gd +++ b/Scripts/drawing.gd @@ -2,7 +2,7 @@ extends Node var drawing = false -@onready var line = $Road +@onready var line: Line2D = $TrackLine @onready var path: Path2D = $TrackPath func _ready(): @@ -16,10 +16,6 @@ func start_drawing(): func _end_drawing(): drawing = false - line.simplify() - line.draw_borders() - for point in line.points: - path.curve.add_point(point) owner.set_driving(true) |