diff options
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/game.gd | 3 | ||||
-rw-r--r-- | Scripts/scene_control.gd | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Scripts/game.gd b/Scripts/game.gd index c9beed2..3b87736 100644 --- a/Scripts/game.gd +++ b/Scripts/game.gd @@ -10,7 +10,8 @@ var scenes = [ preload("res://Levels/Tut02.tscn"), preload("res://Levels/Tut03.tscn"), preload("res://Levels/Level1.tscn"), - preload("res://Levels/Level2.tscn") + preload("res://Levels/Level2.tscn"), + preload("res://Levels/Level3.tscn") ] # Called when the node enters the scene tree for the first time. diff --git a/Scripts/scene_control.gd b/Scripts/scene_control.gd index 453853c..268c92a 100644 --- a/Scripts/scene_control.gd +++ b/Scripts/scene_control.gd @@ -4,7 +4,7 @@ class_name SceneControl @export var gold_medal_time = 5.0 @export var silver_medal_time = 7.0 -@export var bronze_medal_time = 10 +@export var bronze_medal_time = 10.0 @onready var path: Path2D = $DrawNode/TrackPath @onready var path_follow: PathFollow2D = $DrawNode/TrackPath/TrackFollower |