场景&事件系统重写

This commit is contained in:
MrZ626
2020-12-04 19:35:33 +08:00
parent 0b2abf71ea
commit 8a754431cf
48 changed files with 546 additions and 352 deletions

View File

@@ -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