新增一个彩蛋模式

This commit is contained in:
MrZ626
2021-09-30 01:13:43 +08:00
parent 3d4c51c532
commit 43db02f97d
13 changed files with 78 additions and 2 deletions

View File

@@ -8,6 +8,21 @@ function scene.sceneInit()
BG.set()
end
function scene.mouseDown(x,y)
if x>55 and y>550 and x<510 and y<670 then
loadGame('sprintSym',true)
end
end
scene.touchDown=scene.mouseDown
function scene.keyDown(key)
if key=="escape"then
SCN.back()
elseif key=="space"then
loadGame('sprintSym',true)
end
end
function scene.draw()
--Texts
setFont(20)