Level exporting works!

This commit is contained in:
lustlion
2022-01-30 11:31:18 +01:00
parent 35c260d24f
commit a703af5e8d
6 changed files with 93 additions and 50 deletions

View File

@@ -24,6 +24,14 @@ function EditorStep()
if love.keyboard.isDown("down", "s") then
Camera.pos.y = Camera.pos.y + 3*game.scale
end
if Keybind:HasPressed(Keybind.debug.reload) then
ExportLevel("test")
end
if Keybind:HasPressed(Keybind.debug.editor) then
editor_mode = false
end
end
function EditorScroll(y)