新增一个彩蛋模式
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user