diff options
author | perivesta <> | 2023-07-09 17:22:56 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 17:22:56 +0200 |
commit | 9a0e01f91ae85f0c812aa02f9586ab7fd3f7153d (patch) | |
tree | fafc525dce42e8ef5be81a862cf1f4849b121fee /Scripts | |
parent | ed34022bfcee20f8679927dcbd360679cd645db4 (diff) | |
parent | 7f04ec29e49a3aa4bf816faf1175cdedb5bcc2c1 (diff) | |
download | 2023-9a0e01f91ae85f0c812aa02f9586ab7fd3f7153d.tar.gz 2023-9a0e01f91ae85f0c812aa02f9586ab7fd3f7153d.tar.bz2 2023-9a0e01f91ae85f0c812aa02f9586ab7fd3f7153d.zip |
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/game.gd | 3 | ||||
-rw-r--r-- | Scripts/scene_control.gd | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Scripts/game.gd b/Scripts/game.gd index 95ca24a..c9beed2 100644 --- a/Scripts/game.gd +++ b/Scripts/game.gd @@ -9,7 +9,8 @@ var scenes = [ preload("res://Levels/Tut01.tscn"), preload("res://Levels/Tut02.tscn"), preload("res://Levels/Tut03.tscn"), - preload("res://Levels/Level1.tscn") + preload("res://Levels/Level1.tscn"), + preload("res://Levels/Level2.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 c4d42ec..453853c 100644 --- a/Scripts/scene_control.gd +++ b/Scripts/scene_control.gd @@ -64,6 +64,7 @@ func reset_level(): car.global_position = start.global_position car.global_rotation = start.rotation; + car.velocity = Vector2.ZERO current_time = 0.0 |