From 486a64cca3db10349ba1afeeddaff4003ebfb84a Mon Sep 17 00:00:00 2001 From: MrZ_26 Date: Sat, 23 May 2020 00:04:21 +0800 Subject: [PATCH] 0.8.21: Bug Fixed --- conf.lua | 2 +- paint.lua | 12 ++++++------ parts/file.lua | 3 +++ parts/kickList.lua | 12 +++++++++--- parts/languages.lua | 12 ++++++------ player.lua | 16 ++++++++++++---- updateLog.lua | 14 ++++++++++++++ widgetList.lua | 2 +- 8 files changed, 52 insertions(+), 21 deletions(-) diff --git a/conf.lua b/conf.lua index 041bcba9..1792b93a 100644 --- a/conf.lua +++ b/conf.lua @@ -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" diff --git a/paint.lua b/paint.lua index 8de8b203..f21e07d1 100644 --- a/paint.lua +++ b/paint.lua @@ -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 diff --git a/parts/file.lua b/parts/file.lua index 51d42380..de14e20e 100644 --- a/parts/file.lua +++ b/parts/file.lua @@ -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] diff --git a/parts/kickList.lua b/parts/kickList.lua index ab656872..4b587352 100644 --- a/parts/kickList.lua +++ b/parts/kickList.lua @@ -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={} diff --git a/parts/languages.lua b/parts/languages.lua index f0e9face..30fc7575 100644 --- a/parts/languages.lua +++ b/parts/languages.lua @@ -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"}, diff --git a/player.lua b/player.lua index 7d66d883..22966457 100644 --- a/player.lua +++ b/player.lua @@ -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)--x1y2! 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 diff --git a/updateLog.lua b/updateLog.lua index 76abc168..8e0a580d 100644 --- a/updateLog.lua +++ b/updateLog.lua @@ -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 diff --git a/widgetList.lua b/widgetList.lua index ec1d4ec7..454bf79a 100644 --- a/widgetList.lua +++ b/widgetList.lua @@ -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