调整主菜单快速开始按钮文本
This commit is contained in:
@@ -7,8 +7,6 @@ local tipLength=760
|
|||||||
local tip=gc.newText(getFont(30),"")
|
local tip=gc.newText(getFont(30),"")
|
||||||
local scrollX--Tip scroll position
|
local scrollX--Tip scroll position
|
||||||
|
|
||||||
local quickSure
|
|
||||||
|
|
||||||
local widgetX0={
|
local widgetX0={
|
||||||
-10,-10,-10,-10,
|
-10,-10,-10,-10,
|
||||||
1290,1290,1290,1290,
|
1290,1290,1290,1290,
|
||||||
@@ -35,7 +33,7 @@ function scene.sceneInit()
|
|||||||
coroutine.resume(cmdEntryThread)
|
coroutine.resume(cmdEntryThread)
|
||||||
|
|
||||||
--Set quick-play-button text
|
--Set quick-play-button text
|
||||||
scene.widgetList[2].text=text.WidgetText.main.qplay
|
scene.widgetList[2].text=text.WidgetText.main.qplay..": "..text.modes[STAT.lastPlay][1]
|
||||||
quickSure=false
|
quickSure=false
|
||||||
|
|
||||||
--Create demo player
|
--Create demo player
|
||||||
@@ -74,11 +72,7 @@ function scene.keyDown(key)
|
|||||||
SCN.go("mode")
|
SCN.go("mode")
|
||||||
end
|
end
|
||||||
elseif key=="q"then
|
elseif key=="q"then
|
||||||
if not quickSure then
|
if testButton(2)then
|
||||||
scene.widgetList[2].text=text.modes[STAT.lastPlay][1].."-"..text.modes[STAT.lastPlay][2]
|
|
||||||
quickSure=true
|
|
||||||
testButton(2)
|
|
||||||
elseif testButton(2)then
|
|
||||||
loadGame(STAT.lastPlay,true)
|
loadGame(STAT.lastPlay,true)
|
||||||
end
|
end
|
||||||
elseif key=="a"then
|
elseif key=="a"then
|
||||||
|
|||||||
Reference in New Issue
Block a user