Rocket-Bytes/Source/Editor.lua
2022-04-26 20:40:39 -06:00

22 lines
No EOL
445 B
Lua

import "CoreLibs/keyboard"
local gfx <const> = playdate.graphics
function newProject()
mode = "newproj"
playdate.keyboard.show("test")
end
function updateNewproj()
gfx.clear()
gfx.drawText("LEVEL NAME:", 0, 105)
gfx.drawText(playdate.keyboard.text:upper(),0,125)
end
function playdate.keyboard.keyboardWillHideCallback(ok)
if ok == false then
page = 0
playdate.wait(0.3)
editLoad()
end
end