Improved GUI and command flow
This commit is contained in:
parent
2436fa52a5
commit
ca1c5fda8c
2
draw.lua
2
draw.lua
|
@ -28,5 +28,5 @@ function love.draw()
|
|||
--gui
|
||||
love.graphics.pop()
|
||||
love.graphics.setColor(0.8, 0.8, 0.8, 1)
|
||||
love.graphics.print(tiles_char[selected_tile], 2, 0)
|
||||
love.graphics.print(screen_id, 2, 0)
|
||||
end
|
||||
|
|
|
@ -49,6 +49,7 @@ function update_keyboard()
|
|||
end
|
||||
--exit
|
||||
if love.keyboard.isScancodeDown("escape") then
|
||||
save()
|
||||
love.event.quit()
|
||||
end
|
||||
--saving/export
|
||||
|
|
Loading…
Reference in New Issue