Files
Techmino/parts/scenes/quit.lua
2021-12-16 02:37:25 +08:00

25 lines
569 B
Lua

local scene={}
function scene.sceneInit()
if SYSTEM~="iOS"then
if math.random()>.0000626 then
love.timer.sleep(.26)
love.event.quit()
else
error("So lucky! 0.00626% to get this!! You can quit the game now.")
end
else
MES.update(1e99)
Z.setPowerInfo(false)
Z.setClickFX(false)
VERSION.string=""
MES.new('error',"Please swipe up or press Home button to quit Techmino on iOS",1e99)
end
end
function scene.draw()
love.graphics.clear()
end
return scene