场景&事件系统重写
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
function sceneInit.quit()
|
||||
local scene={}
|
||||
|
||||
function scene.sceneInit()
|
||||
if math.random()>.000626 then
|
||||
love.timer.sleep(.26)
|
||||
love.event.quit()
|
||||
else
|
||||
error("So lucky! 0.0626 precent to get this!!! You can quit the game now.")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return scene
|
||||
Reference in New Issue
Block a user