0.8.21: Bug Fixed

This commit is contained in:
MrZ_26
2020-05-23 00:04:21 +08:00
parent 28d5136e95
commit 486a64cca3
8 changed files with 52 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
gameVersion="Alpha V0.8.20"
gameVersion="Alpha V0.8.21"
function love.conf(t)
t.identity="Techmino"--folder name
t.version="11.1"

View File

@@ -70,13 +70,13 @@ local function drawVirtualkey()
local B=V[i]
gc.setColor(1,1,1,a)
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
gc.draw(VKIcon[i],B.x,B.y,nil,B.r*.026+_*.08,nil,18,18)--icon
if _>0 then
gc.setColor(1,1,1,a*_*.08)
gc.circle("fill",B.x,B.y,B.r*.94)--Glow
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04))--Ripple
gc.circle("fill",B.x,B.y,B.r*.94,10)--Glow
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04),10)--Ripple
end
end
end
@@ -86,12 +86,12 @@ local function drawVirtualkey()
local B=V[i]
gc.setColor(1,1,1,a)
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
if _>0 then
gc.setColor(1,1,1,a*_*.08)
gc.circle("fill",B.x,B.y,B.r*.94)
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04))
gc.circle("fill",B.x,B.y,B.r*.94,10)
gc.circle("line",B.x,B.y,B.r*(1.4-_*.04),10)
end
end
end

View File

@@ -194,6 +194,9 @@ function File.loadData()
S.spin_S[5]=0
S.clear_S[5]=0
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
S.clear[3],S.clear[4]=S.clear[4],S.clear[3]
S.spin[3],S.spin[4]=S.spin[4],S.spin[3]

View File

@@ -319,7 +319,7 @@ for i=1,25 do collect(TRS[i])end
pushZero(TRS)
local AIRS={
[1]={
{
[01]={{-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}},
@@ -329,7 +329,12 @@ local AIRS={
[32]={{-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}},
[10]={{ 2, 0},{-1, 0},{ 2, 1},{-1,-2}},
[12]={{-1, 0},{ 2, 0},{-1, 2},{ 2,-1}},
@@ -341,7 +346,8 @@ local AIRS={
}
}
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)
local NONE={}

View File

@@ -1163,9 +1163,9 @@ local langList={
{"Tech 49", "EASY", "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 99", "EASY", "49-player battle.\nThe last one standing wins."},
{"Tech 99", "HARD", "49-player battle.\nThe last one standing wins."},
{"Tech 99", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
{"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
{"Tech 99", "HARD", "99-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", "NORMAL", "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", "HARD", "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", "HARD", "49-player battle.\nThe last one standing wins."},
{"Tech 99", "ULTIMATE", "49-player battle.\nThe last one standing wins."},
{"Tech 99", "EASY", "99-player battle.\nThe last one standing wins."},
{"Tech 99", "HARD", "99-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", "NORMAL", "Chess mode"},
{"Turn-Based", "HARD", "Chess mode"},

View File

@@ -443,7 +443,15 @@ end
local function drawDial(x,y,speed)
gc.setColor(1,1,1)
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.draw(IMG.dialNeedle,x,y,2.094+(speed<=175 and .02094*speed or 4.712-52.36/(speed-125)),nil,nil,5,4)
end
@@ -855,7 +863,7 @@ local function without(L,e)
end
function player.createLockFX(P)
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
local y=P.curY+i-1
@@ -871,7 +879,7 @@ function player.createLockFX(P)
end
function player.createDropFX(P,x1,y1,x2,y2)--x1<x2,y1>y2!
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
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
if cc>0 and P.gameEnv.clearFX then
local l=P.clearedRow
local t=8-P.gameEnv.clearFX*2
local t=6-P.gameEnv.clearFX*1.5
for i=1,cc do
ins(P.clearFX,{l[i],0,t})
end

View File

@@ -5,6 +5,7 @@ local S=[=[
加油啊,钉钉动了的大哥哥(T3228)
弥佑瑶
Alan
幽灵3383
[rmb10+]:
八零哥
蕴空之灵
@@ -40,6 +41,7 @@ local S=[=[
GlowingEmbers
轩辕辚
HimuroAki
TCV100
tech有养成系统了@7065
HAGE KANOBU
葡萄味的曼妥思
@@ -88,6 +90,18 @@ Future outlook:
Encrypt source code (compile to byte code)
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
new:
new clearing FX

View File

@@ -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={
{
{1, 80, 720-200, 80},--moveLeft