Files
Techmino/parts/scenes/quit.lua
2021-10-27 01:14:52 +08:00

25 lines
571 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)
SETTING.powerInfo=false
SETTING.tapFX=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