升级合到10小游戏,修改进入方法
This commit is contained in:
@@ -759,7 +759,7 @@ return{
|
||||
{"Minigame",
|
||||
"minigame",
|
||||
"other",
|
||||
"Type the following codes in the search bar of this dictionary for some fun minigames!\n\n15-Puzzle: 15p\nSchulte Grid: sltg\nPong: pong\nAtoZ: atoz\nUltimate Tic-tac-toe: uttt\ncubefield: cbf\n2048: 2048\nGet the ten: gtt",
|
||||
"Type the following codes in the search bar of this dictionary for some fun minigames!\n\n15-Puzzle: 15p\nSchulte Grid: sltg\nPong: pong\nAtoZ: atoz\nUltimate Tic-tac-toe: uttt\ncubefield: cbf\n2048: 2048\nJust get ten: jgt",
|
||||
},
|
||||
|
||||
--English
|
||||
|
||||
@@ -765,7 +765,7 @@ return{
|
||||
{"小游戏",
|
||||
"minigame xiaoyouxi",
|
||||
"other",
|
||||
"输入以下词语,小游戏免费玩!\n\n15-Puzzle: 15p\nSchulte Grid: sltg\nPong: pong\nAtoZ: atoz\nUltimate Tic-tac-toe: uttt\ncubefield: cbf\n2048: 2048\nGet the ten: gtt",
|
||||
"输入以下词语,小游戏免费玩!\n\n15-Puzzle: 15p\nSchulte Grid: sltg\nPong: pong\nAtoZ: atoz\nUltimate Tic-tac-toe: uttt\ncubefield: cbf\n2048: 2048\nJust get ten: jgt",
|
||||
},
|
||||
|
||||
--英文
|
||||
|
||||
@@ -639,7 +639,7 @@ return{
|
||||
replay1="P",
|
||||
replay2="P",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="Reset",
|
||||
blind="Blind",
|
||||
},
|
||||
|
||||
@@ -550,7 +550,7 @@ return{
|
||||
-- tapControl="Tap control",
|
||||
-- skip="Skip Round",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="Réinitialiser",
|
||||
blind="Aveugler",
|
||||
},
|
||||
|
||||
@@ -635,7 +635,7 @@ return{
|
||||
-- tapControl="Tap control",
|
||||
-- skip="Skip Round",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="Resetar",
|
||||
blind="Cego",
|
||||
},
|
||||
|
||||
@@ -552,7 +552,7 @@ return{
|
||||
-- tapControl="Tap control",
|
||||
-- skip="Skip Round",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="Reiniciar",
|
||||
blind="A ciegas",
|
||||
},
|
||||
|
||||
@@ -483,7 +483,7 @@ return{
|
||||
tapControl="_↓",
|
||||
skip=">>",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="R",
|
||||
blind="???",
|
||||
},
|
||||
|
||||
@@ -641,7 +641,7 @@ return{
|
||||
replay1="P",
|
||||
replay2="P",
|
||||
},
|
||||
mg_get10={
|
||||
mg_jgt={
|
||||
reset="重置",
|
||||
blind="盲打",
|
||||
},
|
||||
|
||||
@@ -45,8 +45,7 @@ local eggInput={
|
||||
uttt=goScene"mg_UTTT",
|
||||
cbf=goScene"mg_cubefield",
|
||||
["2048"]=goScene"mg_2048",
|
||||
gtt=goScene"mg_get10",
|
||||
get10="gtt",
|
||||
jgt=goScene"mg_jgt",
|
||||
flag=function()
|
||||
BG.setDefault("none")
|
||||
BGM.setDefault(false)
|
||||
|
||||
@@ -22,12 +22,8 @@ local tileColor={
|
||||
{.78, .31, .00},
|
||||
{.78, .55, .04},
|
||||
{.12, .12, .51},
|
||||
{.78, .78, .78},
|
||||
{.40, .40, .40},
|
||||
{.20, .20, .20},
|
||||
{.00, .00, .00},
|
||||
}
|
||||
local newTile={0,2,2,2,3,3,3,3,4,4,4,5,5}
|
||||
local newTile={0,2,2,2,3,3,3,3,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5}
|
||||
|
||||
local board,cx,cy
|
||||
local startTime,time
|
||||
@@ -147,15 +143,9 @@ function scene.mouseDown(x,y)
|
||||
merge()
|
||||
end
|
||||
|
||||
function scene.touchDown(x,y)
|
||||
scene.mouseMove(x,y)
|
||||
end
|
||||
function scene.touchMove(x,y)
|
||||
scene.mouseMove(x,y)
|
||||
end
|
||||
function scene.touchClick(x,y)
|
||||
scene.mouseDown(x,y)
|
||||
end
|
||||
scene.touchDown=scene.mouseMove
|
||||
scene.touchMove=scene.mouseMove
|
||||
scene.touchClick=scene.mouseDown
|
||||
|
||||
function scene.update()
|
||||
if state==1 then
|
||||
@@ -215,17 +205,22 @@ function scene.draw()
|
||||
|
||||
gc.setLineWidth(4)
|
||||
setFont(70)
|
||||
local hide=blind and state==1
|
||||
for i=1,5 do
|
||||
for j=1,5 do
|
||||
local N=board[i][j]
|
||||
if N>0 then
|
||||
if blind and state==1 and N>newTile[maxTile]then
|
||||
if hide and N>newTile[maxTile]then
|
||||
setColor(COLOR.dGrey)
|
||||
rectangle("fill",320+j*128-128,40+i*128-128,128,128)
|
||||
setColor(1,1,1,.3)
|
||||
mStr("?",j*128+256,i*128-75)
|
||||
else
|
||||
setColor(tileColor[N])
|
||||
if N<=13 then
|
||||
setColor(tileColor[N])
|
||||
else
|
||||
setColor(COLOR.rainbow(4*TIME()-i-j))
|
||||
end
|
||||
rectangle("fill",320+j*128-128,40+i*128-128,128,128)
|
||||
setColor(1,1,1,.9)
|
||||
mStr(N,j*128+256,i*128-75)
|
||||
@@ -240,7 +235,7 @@ function scene.draw()
|
||||
end
|
||||
setFont(50)
|
||||
setColor(1,1,1)
|
||||
mStr("Just Get 10",160,580)
|
||||
mStr("Just Get Ten",160,580)
|
||||
end
|
||||
|
||||
scene.widgetList={
|
||||
Reference in New Issue
Block a user