0.8.21: Bug Fixed
This commit is contained in:
2
conf.lua
2
conf.lua
@@ -1,4 +1,4 @@
|
|||||||
gameVersion="Alpha V0.8.20"
|
gameVersion="Alpha V0.8.21"
|
||||||
function love.conf(t)
|
function love.conf(t)
|
||||||
t.identity="Techmino"--folder name
|
t.identity="Techmino"--folder name
|
||||||
t.version="11.1"
|
t.version="11.1"
|
||||||
|
|||||||
12
paint.lua
12
paint.lua
@@ -70,13 +70,13 @@ local function drawVirtualkey()
|
|||||||
local B=V[i]
|
local B=V[i]
|
||||||
gc.setColor(1,1,1,a)
|
gc.setColor(1,1,1,a)
|
||||||
gc.setLineWidth(B.r*.07)
|
gc.setLineWidth(B.r*.07)
|
||||||
gc.circle("line",B.x,B.y,B.r)--Button outline
|
gc.circle("line",B.x,B.y,B.r,10)--Button outline
|
||||||
_=V[i].pressTime
|
_=V[i].pressTime
|
||||||
gc.draw(VKIcon[i],B.x,B.y,nil,B.r*.026+_*.08,nil,18,18)--icon
|
gc.draw(VKIcon[i],B.x,B.y,nil,B.r*.026+_*.08,nil,18,18)--icon
|
||||||
if _>0 then
|
if _>0 then
|
||||||
gc.setColor(1,1,1,a*_*.08)
|
gc.setColor(1,1,1,a*_*.08)
|
||||||
gc.circle("fill",B.x,B.y,B.r*.94)--Glow
|
gc.circle("fill",B.x,B.y,B.r*.94,10)--Glow
|
||||||
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04))--Ripple
|
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04),10)--Ripple
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -86,12 +86,12 @@ local function drawVirtualkey()
|
|||||||
local B=V[i]
|
local B=V[i]
|
||||||
gc.setColor(1,1,1,a)
|
gc.setColor(1,1,1,a)
|
||||||
gc.setLineWidth(B.r*.07)
|
gc.setLineWidth(B.r*.07)
|
||||||
gc.circle("line",B.x,B.y,B.r)
|
gc.circle("line",B.x,B.y,B.r,10)
|
||||||
_=V[i].pressTime
|
_=V[i].pressTime
|
||||||
if _>0 then
|
if _>0 then
|
||||||
gc.setColor(1,1,1,a*_*.08)
|
gc.setColor(1,1,1,a*_*.08)
|
||||||
gc.circle("fill",B.x,B.y,B.r*.94)
|
gc.circle("fill",B.x,B.y,B.r*.94,10)
|
||||||
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04))
|
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04),10)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -194,6 +194,9 @@ function File.loadData()
|
|||||||
S.spin_S[5]=0
|
S.spin_S[5]=0
|
||||||
S.clear_S[5]=0
|
S.clear_S[5]=0
|
||||||
end
|
end
|
||||||
|
if S.version=="Alpha V0.8.16"or S.version=="Alpha V0.8.17"or S.version=="Alpha V0.8.18"then
|
||||||
|
setting.skin[3],setting.skin[4]=setting.skin[4],setting.skin[3]
|
||||||
|
end
|
||||||
if S.version=="Alpha V0.8.18"or S.version=="Alpha V0.8.19"then
|
if S.version=="Alpha V0.8.18"or S.version=="Alpha V0.8.19"then
|
||||||
S.clear[3],S.clear[4]=S.clear[4],S.clear[3]
|
S.clear[3],S.clear[4]=S.clear[4],S.clear[3]
|
||||||
S.spin[3],S.spin[4]=S.spin[4],S.spin[3]
|
S.spin[3],S.spin[4]=S.spin[4],S.spin[3]
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ for i=1,25 do collect(TRS[i])end
|
|||||||
pushZero(TRS)
|
pushZero(TRS)
|
||||||
|
|
||||||
local AIRS={
|
local AIRS={
|
||||||
[1]={
|
{
|
||||||
[01]={{-1,0},{-1, 1},{ 0,-2},{-1,-2}},
|
[01]={{-1,0},{-1, 1},{ 0,-2},{-1,-2}},
|
||||||
[10]={{ 1,0},{ 1,-1},{ 0, 2},{ 1, 2}},
|
[10]={{ 1,0},{ 1,-1},{ 0, 2},{ 1, 2}},
|
||||||
[03]={{ 1,0},{ 1, 1},{ 0,-2},{ 1,-2}},
|
[03]={{ 1,0},{ 1, 1},{ 0,-2},{ 1,-2}},
|
||||||
@@ -329,7 +329,12 @@ local AIRS={
|
|||||||
[32]={{-1,0},{-1,-1},{ 0, 2},{-1, 2}},
|
[32]={{-1,0},{-1,-1},{ 0, 2},{-1, 2}},
|
||||||
[23]={{ 1,0},{ 1, 1},{ 0,-2},{ 1,-2}},
|
[23]={{ 1,0},{ 1, 1},{ 0,-2},{ 1,-2}},
|
||||||
},
|
},
|
||||||
[7]={
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
function()end,
|
||||||
|
false,
|
||||||
|
{
|
||||||
[01]={{-2, 0},{ 1, 0},{-2,-1},{ 1, 2}},
|
[01]={{-2, 0},{ 1, 0},{-2,-1},{ 1, 2}},
|
||||||
[10]={{ 2, 0},{-1, 0},{ 2, 1},{-1,-2}},
|
[10]={{ 2, 0},{-1, 0},{ 2, 1},{-1,-2}},
|
||||||
[12]={{-1, 0},{ 2, 0},{-1, 2},{ 2,-1}},
|
[12]={{-1, 0},{ 2, 0},{-1, 2},{ 2,-1}},
|
||||||
@@ -341,7 +346,8 @@ local AIRS={
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
collect(AIRS[1])collect(AIRS[7])
|
collect(AIRS[1])collect(AIRS[7])
|
||||||
for i=2,25 do AIRS[i]=AIRS[1]end
|
for i=2,5 do AIRS[i]=AIRS[1]end
|
||||||
|
for i=8,25 do AIRS[i]=AIRS[1]end
|
||||||
pushZero(AIRS)
|
pushZero(AIRS)
|
||||||
|
|
||||||
local NONE={}
|
local NONE={}
|
||||||
|
|||||||
@@ -1163,9 +1163,9 @@ local langList={
|
|||||||
{"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "EASY", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "HARD", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "HARD", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "ULTIMATE", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Turn-Based", "EASY", "Chess mode"},
|
{"Turn-Based", "EASY", "Chess mode"},
|
||||||
{"Turn-Based", "NORMAL", "Chess mode"},
|
{"Turn-Based", "NORMAL", "Chess mode"},
|
||||||
{"Turn-Based", "HARD", "Chess mode"},
|
{"Turn-Based", "HARD", "Chess mode"},
|
||||||
@@ -1562,9 +1562,9 @@ local langList={
|
|||||||
{"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "EASY", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "HARD", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
{"Tech 49", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "EASY", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "HARD", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "HARD", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Tech 99", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
|
{"Tech 99", "ULTIMATE", "99-player battle.\nThe last one standing wins."},
|
||||||
{"Turn-Based", "EASY", "Chess mode"},
|
{"Turn-Based", "EASY", "Chess mode"},
|
||||||
{"Turn-Based", "NORMAL", "Chess mode"},
|
{"Turn-Based", "NORMAL", "Chess mode"},
|
||||||
{"Turn-Based", "HARD", "Chess mode"},
|
{"Turn-Based", "HARD", "Chess mode"},
|
||||||
|
|||||||
16
player.lua
16
player.lua
@@ -443,7 +443,15 @@ end
|
|||||||
local function drawDial(x,y,speed)
|
local function drawDial(x,y,speed)
|
||||||
gc.setColor(1,1,1)
|
gc.setColor(1,1,1)
|
||||||
mStr(int(speed),x,y-18)
|
mStr(int(speed),x,y-18)
|
||||||
gc.draw(IMG.dialCircle,x,y,nil,nil,nil,32,32)
|
|
||||||
|
gc.setLineWidth(4)
|
||||||
|
gc.setColor(1,1,1,.4)
|
||||||
|
gc.circle("line",x,y,30,10)
|
||||||
|
|
||||||
|
gc.setLineWidth(2)
|
||||||
|
gc.setColor(1,1,1,.6)
|
||||||
|
gc.circle("line",x,y,30,10)
|
||||||
|
|
||||||
gc.setColor(1,1,1,.6)
|
gc.setColor(1,1,1,.6)
|
||||||
gc.draw(IMG.dialNeedle,x,y,2.094+(speed<=175 and .02094*speed or 4.712-52.36/(speed-125)),nil,nil,5,4)
|
gc.draw(IMG.dialNeedle,x,y,2.094+(speed<=175 and .02094*speed or 4.712-52.36/(speed-125)),nil,nil,5,4)
|
||||||
end
|
end
|
||||||
@@ -855,7 +863,7 @@ local function without(L,e)
|
|||||||
end
|
end
|
||||||
function player.createLockFX(P)
|
function player.createLockFX(P)
|
||||||
local BK=P.cur.bk
|
local BK=P.cur.bk
|
||||||
local t=15-P.gameEnv.lockFX*3
|
local t=12-P.gameEnv.lockFX*3
|
||||||
|
|
||||||
for i=1,P.r do
|
for i=1,P.r do
|
||||||
local y=P.curY+i-1
|
local y=P.curY+i-1
|
||||||
@@ -871,7 +879,7 @@ function player.createLockFX(P)
|
|||||||
end
|
end
|
||||||
function player.createDropFX(P,x1,y1,x2,y2)--x1<x2,y1>y2!
|
function player.createDropFX(P,x1,y1,x2,y2)--x1<x2,y1>y2!
|
||||||
if P.gameEnv.block and y1>=y2 then
|
if P.gameEnv.block and y1>=y2 then
|
||||||
P.dropFX[#P.dropFX+1]={P.cur.color,x1,y1,x2,y2,0,12-1.8*P.gameEnv.dropFX}
|
P.dropFX[#P.dropFX+1]={P.cur.color,x1,y1,x2,y2,0,12-2*P.gameEnv.dropFX}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
function player.createBeam(P,R,send,time,target,color,clear,spin,mini,combo)
|
function player.createBeam(P,R,send,time,target,color,clear,spin,mini,combo)
|
||||||
@@ -1366,7 +1374,7 @@ function player.drop(P)--Place piece
|
|||||||
--create clearing FX
|
--create clearing FX
|
||||||
if cc>0 and P.gameEnv.clearFX then
|
if cc>0 and P.gameEnv.clearFX then
|
||||||
local l=P.clearedRow
|
local l=P.clearedRow
|
||||||
local t=8-P.gameEnv.clearFX*2
|
local t=6-P.gameEnv.clearFX*1.5
|
||||||
for i=1,cc do
|
for i=1,cc do
|
||||||
ins(P.clearFX,{l[i],0,t})
|
ins(P.clearFX,{l[i],0,t})
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ local S=[=[
|
|||||||
加油啊,钉钉动了的大哥哥(T3228)
|
加油啊,钉钉动了的大哥哥(T3228)
|
||||||
弥佑瑶
|
弥佑瑶
|
||||||
Alan
|
Alan
|
||||||
|
幽灵3383
|
||||||
[rmb10+]:
|
[rmb10+]:
|
||||||
八零哥
|
八零哥
|
||||||
蕴空之灵
|
蕴空之灵
|
||||||
@@ -40,6 +41,7 @@ local S=[=[
|
|||||||
GlowingEmbers
|
GlowingEmbers
|
||||||
轩辕辚
|
轩辕辚
|
||||||
HimuroAki
|
HimuroAki
|
||||||
|
TCV100
|
||||||
tech有养成系统了@7065
|
tech有养成系统了@7065
|
||||||
HAGE KANOBU
|
HAGE KANOBU
|
||||||
葡萄味的曼妥思
|
葡萄味的曼妥思
|
||||||
@@ -88,6 +90,18 @@ Future outlook:
|
|||||||
Encrypt source code (compile to byte code)
|
Encrypt source code (compile to byte code)
|
||||||
new AI: task-Z
|
new AI: task-Z
|
||||||
|
|
||||||
|
0.8.22: Details Updated
|
||||||
|
changed:
|
||||||
|
won't show "open saving folder" button on mobile devices
|
||||||
|
|
||||||
|
0.8.21: Bug Fixed
|
||||||
|
changed:
|
||||||
|
shape of speed dial changed
|
||||||
|
range of FX values changed
|
||||||
|
shape of speed dial changed
|
||||||
|
fixed:
|
||||||
|
error in modes with ai (rotate O in its rotation system, cause some strange error)
|
||||||
|
|
||||||
0.8.19/20: Fantastic Global Update II
|
0.8.19/20: Fantastic Global Update II
|
||||||
new:
|
new:
|
||||||
new clearing FX
|
new clearing FX
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
mobileHide=loadstring("function()return "..tostring(system=="Android"or system=="iOS").." end")
|
mobileHide=(system=="Android"or system=="iOS")and function()return true end
|
||||||
local virtualkeySet={
|
local virtualkeySet={
|
||||||
{
|
{
|
||||||
{1, 80, 720-200, 80},--moveLeft
|
{1, 80, 720-200, 80},--moveLeft
|
||||||
|
|||||||
Reference in New Issue
Block a user