Working map generator

This commit is contained in:
2024-01-21 00:42:57 +01:00
parent cd80ab3357
commit 405b374b9a
17 changed files with 240 additions and 38 deletions

View File

@@ -8,3 +8,8 @@ var map: TileMap
func _ready() -> void:
self.generator.generate(map)
func _process(_delta: float) -> void:
if Input.is_action_just_pressed("jump"):
map.clear()
self.generator.generate(map)