The moving platform in level 1 wnow moves up and down. I finished level one.
This commit is contained in:
@@ -9,7 +9,7 @@ func _ready() -> void:
|
||||
current_level_root = get_node("LevelRoot")
|
||||
_load_level(level)
|
||||
|
||||
func _load_level(level :int) -> void:
|
||||
func _load_level(level) -> void:
|
||||
if current_level_root:
|
||||
current_level_root.queue_free()
|
||||
var level_path = "res://level%s" % level +".tscn"
|
||||
|
||||
Reference in New Issue
Block a user