Compare commits
15 Commits
pre0.17.0-
...
pre0.17.0-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afa69ce9a4 | ||
|
|
3226c0c831 | ||
|
|
4e759cad4c | ||
|
|
291795928d | ||
|
|
a1315e7f7f | ||
|
|
657bc2b4e0 | ||
|
|
d8b12fc55d | ||
|
|
6d11367ea4 | ||
|
|
eb9e741b4f | ||
|
|
c47546d501 | ||
|
|
11aa178fc1 | ||
|
|
f3a88ef269 | ||
|
|
720dc2131f | ||
|
|
701ef17ae1 | ||
|
|
1a689a5f07 |
@@ -1,66 +1,60 @@
|
||||
local fs=love.filesystem
|
||||
local FILE={}
|
||||
function FILE.load(name,mode)
|
||||
function FILE.load(name,args)
|
||||
if not args then args=''end
|
||||
if fs.getInfo(name)then
|
||||
local F=fs.newFile(name)
|
||||
if F:open'r'then
|
||||
local s=F:read()
|
||||
F:close()
|
||||
if mode=='luaon'or not mode and s:sub(1,6)=="return{"then
|
||||
s=loadstring(s)
|
||||
if s then
|
||||
setfenv(s,{})
|
||||
return s()
|
||||
end
|
||||
elseif mode=='json'or not mode and s:sub(1,1)=="["and s:sub(-1)=="]"or s:sub(1,1)=="{"and s:sub(-1)=="}"then
|
||||
local res=JSON.decode(s)
|
||||
if res then
|
||||
return res
|
||||
end
|
||||
elseif mode=='string'or not mode then
|
||||
return s
|
||||
assert(F:open'r','open error')
|
||||
local s=F:read()F:close()
|
||||
if args:sArg'-luaon'or args==''and s:sub(1,6)=='return{'then
|
||||
local func=loadstring(s)
|
||||
if func then
|
||||
setfenv(func,{})
|
||||
local res=func()
|
||||
return assert(res,'decode error')
|
||||
else
|
||||
MES.new("No file loading mode called "..tostring(mode))
|
||||
error('decode error')
|
||||
end
|
||||
elseif args:sArg'-json'or args==''and s:sub(1,1)=='['and s:sub(-1)==']'or s:sub(1,1)=='{'and s:sub(-1)=='}'then
|
||||
local res=JSON.decode(s)
|
||||
if res then
|
||||
return res
|
||||
end
|
||||
error('decode error')
|
||||
elseif args:sArg'-string'or args==''then
|
||||
return s
|
||||
else
|
||||
MES.new('error',name.." "..text.loadError)
|
||||
error('unknown mode')
|
||||
end
|
||||
else
|
||||
error('no file')
|
||||
end
|
||||
end
|
||||
function FILE.save(data,name,mode)
|
||||
if not mode then mode=""end
|
||||
function FILE.save(data,name,args)
|
||||
if not args then args=''end
|
||||
if args:sArg'-d'and fs.getInfo(name)then
|
||||
error('duplicate')
|
||||
end
|
||||
|
||||
if type(data)=='table'then
|
||||
if mode:find'l'then
|
||||
if args:sArg'-luaon'then
|
||||
data=TABLE.dump(data)
|
||||
if not data then
|
||||
MES.new('error',name.." "..text.saveError.."dump error")
|
||||
return
|
||||
error('encode error')
|
||||
end
|
||||
else
|
||||
data=JSON.encode(data)
|
||||
if not data then
|
||||
MES.new('error',name.." "..text.saveError.."json error")
|
||||
return
|
||||
error('encode error')
|
||||
end
|
||||
end
|
||||
else
|
||||
data=tostring(data)
|
||||
end
|
||||
|
||||
if mode:find'd'and fs.getInfo(name)then
|
||||
MES.new('error',text.saveError_duplicate)
|
||||
return
|
||||
end
|
||||
local F=fs.newFile(name)
|
||||
F:open'w'
|
||||
local success,mes=F:write(data)
|
||||
F:flush()F:close()
|
||||
if success then
|
||||
return true
|
||||
else
|
||||
MES.new('error',text.saveError..(mes or"unknown error"))
|
||||
MES.traceback()
|
||||
end
|
||||
assert(F:open('w'),'open error')
|
||||
F:write(data)F:flush()F:close()
|
||||
end
|
||||
function FILE.clear(path)
|
||||
if fs.getRealDirectory(path)==SAVEDIR and fs.getInfo(path).type=='directory'then
|
||||
|
||||
@@ -1,67 +1,60 @@
|
||||
local gc=love.graphics
|
||||
local set=gc.setFont
|
||||
local fontCache={}
|
||||
local currentFontSize
|
||||
local fontFiles,fontCache={},{}
|
||||
local defaultFont,defaultFallBack
|
||||
local curFont=false--Current using font object
|
||||
|
||||
local FONT={}
|
||||
function FONT.set(s)
|
||||
if s~=currentFontSize then
|
||||
if not fontCache[s]then
|
||||
fontCache[s]=gc.setNewFont(s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
end
|
||||
set(fontCache[s])
|
||||
currentFontSize=s
|
||||
end
|
||||
end
|
||||
function FONT.get(s)
|
||||
function FONT.setDefault(name)defaultFont=name end
|
||||
function FONT.setFallback(name)defaultFallBack=name end
|
||||
function FONT.rawget(s)
|
||||
if not fontCache[s]then
|
||||
fontCache[s]=gc.setNewFont(s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
end
|
||||
return fontCache[s]
|
||||
end
|
||||
function FONT.reset()
|
||||
for s in next,fontCache do
|
||||
fontCache[s]=gc.setNewFont(s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
end
|
||||
function FONT.rawset(s)
|
||||
set(fontCache[s]or FONT.rawget(s))
|
||||
end
|
||||
|
||||
function FONT.load(mainFont,secFont)
|
||||
assert(love.filesystem.getInfo(mainFont),"Font file '"..mainFont.."' not exist!")
|
||||
mainFont=love.filesystem.newFile(mainFont)
|
||||
if secFont and love.filesystem.getInfo(secFont)then
|
||||
secFont=love.filesystem.newFile(secFont)
|
||||
else
|
||||
secFont=false
|
||||
end
|
||||
function FONT.set(s)
|
||||
if s~=currentFontSize then
|
||||
if not fontCache[s]then
|
||||
fontCache[s]=gc.setNewFont(mainFont,s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
if secFont then
|
||||
fontCache[s]:setFallbacks(gc.setNewFont(secFont,s,'light',gc.getDPIScale()*SCR.k*2))
|
||||
end
|
||||
end
|
||||
set(fontCache[s])
|
||||
currentFontSize=s
|
||||
end
|
||||
end
|
||||
function FONT.get(s)
|
||||
if not fontCache[s]then
|
||||
fontCache[s]=gc.setNewFont(mainFont,s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
if secFont then
|
||||
fontCache[s]:setFallbacks(gc.setNewFont(secFont,s,'light',gc.getDPIScale()*SCR.k*2))
|
||||
end
|
||||
end
|
||||
return fontCache[s]
|
||||
end
|
||||
function FONT.reset()
|
||||
for s in next,fontCache do
|
||||
fontCache[s]=gc.setNewFont(mainFont,s,'light',gc.getDPIScale()*SCR.k*2)
|
||||
if secFont then
|
||||
fontCache[s]:setFallbacks(gc.setNewFont(secFont,s,'light',gc.getDPIScale()*SCR.k*2))
|
||||
end
|
||||
end
|
||||
function FONT.load(fonts)
|
||||
for name,path in next,fonts do
|
||||
assert(love.filesystem.getInfo(path),("Font file $1($2) not exist!"):repD(name,path))
|
||||
fontFiles[name]=love.filesystem.newFile(path)
|
||||
fontCache[name]={}
|
||||
end
|
||||
FONT.reset()
|
||||
end
|
||||
function FONT.get(size,name)
|
||||
if not name then name=defaultFont end
|
||||
local f=fontCache[name][size]
|
||||
if not f then
|
||||
f=gc.setNewFont(fontFiles[name],size,'light',gc.getDPIScale()*SCR.k*2)
|
||||
if defaultFallBack and name~=defaultFallBack then
|
||||
f:setFallbacks(FONT.get(size,defaultFallBack))
|
||||
end
|
||||
fontCache[name][size]=f
|
||||
end
|
||||
return f
|
||||
end
|
||||
function FONT.set(size,name)
|
||||
if not name then name=defaultFont end
|
||||
|
||||
local f=fontCache[name][size]
|
||||
if f~=curFont then
|
||||
curFont=f or FONT.get(size,name)
|
||||
set(curFont)
|
||||
end
|
||||
end
|
||||
function FONT.reset()
|
||||
for name,cache in next,fontCache do
|
||||
if type(cache)=='table'then
|
||||
for size in next,cache do
|
||||
cache[size]=FONT.get(size,name)
|
||||
end
|
||||
else
|
||||
fontCache[name]=FONT.rawget(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return FONT
|
||||
|
||||
@@ -95,6 +95,7 @@ do--function GC.DO(L)
|
||||
setLJ="setLineJoin",
|
||||
|
||||
print="print",
|
||||
rawFT=function(...)FONT.rawset(...)end,
|
||||
setFT=function(...)FONT.set(...)end,
|
||||
mText=GC.mStr,
|
||||
mDraw=GC.draw,
|
||||
|
||||
@@ -527,17 +527,17 @@ local wsBottomImage do
|
||||
wsBottomImage=GC.DO(L)
|
||||
end
|
||||
local ws_deadImg=GC.DO{20,20,
|
||||
{'setFT',20},
|
||||
{'rawFT',20},
|
||||
{'setCL',1,.3,.3},
|
||||
{'mText',"X",11,-1},
|
||||
}
|
||||
local ws_connectingImg=GC.DO{20,20,
|
||||
{'setFT',20},
|
||||
{'rawFT',20},
|
||||
{'setLW',3},
|
||||
{'mText',"C",11,-1},
|
||||
}
|
||||
local ws_runningImg=GC.DO{20,20,
|
||||
{'setFT',20},
|
||||
{'rawFT',20},
|
||||
{'setCL',.5,1,0},
|
||||
{'mText',"R",11,-1},
|
||||
}
|
||||
|
||||
@@ -2,9 +2,25 @@ local data=love.data
|
||||
local STRING={}
|
||||
local assert,tostring,tonumber=assert,tostring,tonumber
|
||||
local int,format=math.floor,string.format
|
||||
local find,sub,upper=string.find,string.sub,string.upper
|
||||
local find,sub,gsub,upper=string.find,string.sub,string.gsub,string.upper
|
||||
local char,byte=string.char,string.byte
|
||||
|
||||
--"Replace dollars", replace all $n with ...
|
||||
function string.repD(str,...)
|
||||
local l={...}
|
||||
for i=#l,1,-1 do
|
||||
str=gsub(str,'$'..i,l[i])
|
||||
end
|
||||
return str
|
||||
end
|
||||
|
||||
--"Scan arg", scan if str has the arg (format of str is like "-json -q", arg is like "-q")
|
||||
function string.sArg(str,switch)
|
||||
if find(str.." ",switch.." ")then
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
do--function STRING.shiftChar(c)
|
||||
local shiftMap={
|
||||
['1']='!',['2']='@',['3']='#',['4']='$',['5']='%',
|
||||
|
||||
@@ -29,7 +29,7 @@ local clearIcon=GC.DO{40,40,
|
||||
{'fRect',11,14,18,21},
|
||||
}
|
||||
local sureIcon=GC.DO{40,40,
|
||||
{'setFT',35},
|
||||
{'rawFT',35},
|
||||
{'mText',"?",20,0},
|
||||
}
|
||||
local smallerThen=GC.DO{20,20,
|
||||
@@ -82,7 +82,7 @@ function text:draw()
|
||||
end
|
||||
end
|
||||
end
|
||||
function WIDGET.newText(D)--name,x,y[,fText][,color][,font=30][,align='M'][,hideF][,hide]
|
||||
function WIDGET.newText(D)--name,x,y[,fText][,color][,font=30][,fType][,align='M'][,hideF][,hide]
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
x= D.x,
|
||||
@@ -91,6 +91,7 @@ function WIDGET.newText(D)--name,x,y[,fText][,color][,font=30][,align='M'][,hide
|
||||
fText=D.fText,
|
||||
color=D.color and(COLOR[D.color]or D.color)or COLOR.Z,
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
align=D.align or'M',
|
||||
hideF=D.hideF,
|
||||
}
|
||||
@@ -139,7 +140,7 @@ function button:reset()
|
||||
end
|
||||
function button:setObject(obj)
|
||||
if type(obj)=='string'or type(obj)=='number'then
|
||||
self.obj=gc.newText(FONT.get(self.font),obj)
|
||||
self.obj=gc.newText(FONT.get(self.font,self.fType),obj)
|
||||
elseif obj then
|
||||
self.obj=obj
|
||||
end
|
||||
@@ -209,7 +210,7 @@ function button:draw()
|
||||
end
|
||||
end
|
||||
function button:getInfo()
|
||||
return("x=%d,y=%d,w=%d,h=%d,font=%d"):format(self.x+self.w*.5,self.y+self.h*.5,self.w,self.h,self.font)
|
||||
return("x=%d,y=%d,w=%d,h=%d,font=%d"):format(self.x+self.w*.5,self.y+self.h*.5,self.w,self.h,self.font,self.fType)
|
||||
end
|
||||
function button:press(_,_,k)
|
||||
self.code(k)
|
||||
@@ -225,7 +226,7 @@ function button:press(_,_,k)
|
||||
SFX.play('button')
|
||||
end
|
||||
end
|
||||
function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,sound=true][,align='M'][,edge=0],code[,hideF][,hide]
|
||||
function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,fType][,sound=true][,align='M'][,edge=0],code[,hideF][,hide]
|
||||
if not D.h then D.h=D.w end
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
@@ -246,6 +247,7 @@ function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,sound=tr
|
||||
fText=D.fText,
|
||||
color=D.color and(COLOR[D.color]or D.color)or COLOR.Z,
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
align=D.align or'M',
|
||||
edge= D.edge or 0,
|
||||
sound=D.sound~=false,
|
||||
@@ -268,7 +270,7 @@ function key:reset()
|
||||
end
|
||||
function key:setObject(obj)
|
||||
if type(obj)=='string'or type(obj)=='number'then
|
||||
self.obj=gc.newText(FONT.get(self.font),obj)
|
||||
self.obj=gc.newText(FONT.get(self.font,self.fType),obj)
|
||||
elseif obj then
|
||||
self.obj=obj
|
||||
end
|
||||
@@ -331,7 +333,7 @@ function key:draw()
|
||||
end
|
||||
end
|
||||
function key:getInfo()
|
||||
return("x=%d,y=%d,w=%d,h=%d,font=%d"):format(self.x+self.w*.5,self.y+self.h*.5,self.w,self.h,self.font)
|
||||
return("x=%d,y=%d,w=%d,h=%d,font=%d"):format(self.x+self.w*.5,self.y+self.h*.5,self.w,self.h,self.font,self.fType)
|
||||
end
|
||||
function key:press(_,_,k)
|
||||
self.code(k)
|
||||
@@ -339,7 +341,7 @@ function key:press(_,_,k)
|
||||
SFX.play('key')
|
||||
end
|
||||
end
|
||||
function WIDGET.newKey(D)--name,x,y,w[,h][,fText][,fShade][,noFrame][,color][,font=30][,sound=true][,align='M'][,edge=0],code[,hideF][,hide]
|
||||
function WIDGET.newKey(D)--name,x,y,w[,h][,fText][,fShade][,noFrame][,color][,font=30][,fType][,sound=true][,align='M'][,edge=0],code[,hideF][,hide]
|
||||
if not D.h then D.h=D.w end
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
@@ -362,6 +364,7 @@ function WIDGET.newKey(D)--name,x,y,w[,h][,fText][,fShade][,noFrame][,color][,fo
|
||||
noFrame=D.noFrame,
|
||||
color= D.color and(COLOR[D.color]or D.color)or COLOR.Z,
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
sound= D.sound~=false,
|
||||
align= D.align or'M',
|
||||
edge= D.edge or 0,
|
||||
@@ -430,7 +433,7 @@ function switch:draw()
|
||||
gc_draw(obj,x-12-ATV,y,nil,min(self.lim/obj:getWidth(),1),1,obj:getWidth(),obj:getHeight()*.5)
|
||||
end
|
||||
function switch:getInfo()
|
||||
return("x=%d,y=%d,font=%d"):format(self.x,self.y,self.font)
|
||||
return("x=%d,y=%d,font=%d"):format(self.x,self.y,self.font,self.fType)
|
||||
end
|
||||
function switch:press()
|
||||
self.code()
|
||||
@@ -438,7 +441,7 @@ function switch:press()
|
||||
SFX.play('touch')
|
||||
end
|
||||
end
|
||||
function WIDGET.newSwitch(D)--name,x,y[,lim][,fText][,color][,font=30][,sound=true][,disp],code[,hideF][,hide]
|
||||
function WIDGET.newSwitch(D)--name,x,y[,lim][,fText][,color][,font=30][,fType][,sound=true][,disp],code[,hideF][,hide]
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
|
||||
@@ -453,6 +456,7 @@ function WIDGET.newSwitch(D)--name,x,y[,lim][,fText][,color][,font=30][,sound=tr
|
||||
fText=D.fText,
|
||||
color=D.color and(COLOR[D.color]or D.color)or COLOR.Z,
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
sound=D.sound~=false,
|
||||
disp= D.disp,
|
||||
code= D.code,
|
||||
@@ -595,7 +599,7 @@ end
|
||||
function slider:arrowKey(k)
|
||||
self:scroll((k=="left"or k=="up")and -1 or 1)
|
||||
end
|
||||
function WIDGET.newSlider(D)--name,x,y,w[,lim][,fText][,color][,unit][,smooth][,font=30][,change],disp[,show],code,hide
|
||||
function WIDGET.newSlider(D)--name,x,y,w[,lim][,fText][,color][,unit][,smooth][,font=30][,fType][,change],disp[,show],code,hide
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
|
||||
@@ -617,6 +621,7 @@ function WIDGET.newSlider(D)--name,x,y,w[,lim][,fText][,color][,unit][,smooth][,
|
||||
unit= D.unit or 1,
|
||||
smooth=false,
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
change=D.change,
|
||||
disp= D.disp,
|
||||
code= D.code,
|
||||
@@ -863,7 +868,7 @@ function inputBox:draw()
|
||||
|
||||
--Drawable
|
||||
local f=self.font
|
||||
FONT.set(f)
|
||||
FONT.set(f,self.fType)
|
||||
if self.obj then
|
||||
mDraw_Y(self.obj,x-12-self.obj:getWidth(),y+h*.5)
|
||||
end
|
||||
@@ -906,7 +911,7 @@ function inputBox:keypress(k)
|
||||
self.value=t
|
||||
end
|
||||
end
|
||||
function WIDGET.newInputBox(D)--name,x,y,w[,h][,font=30][,secret][,regex][,limit],hide
|
||||
function WIDGET.newInputBox(D)--name,x,y,w[,h][,font=30][,fType][,secret][,regex][,limit],hide
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
|
||||
@@ -922,6 +927,7 @@ function WIDGET.newInputBox(D)--name,x,y,w[,h][,font=30][,secret][,regex][,limit
|
||||
},
|
||||
|
||||
font= D.font or int(D.h/7-1)*5,
|
||||
fType=D.fType,
|
||||
secret=D.secret==true,
|
||||
regex= D.regex,
|
||||
limit= D.limit,
|
||||
@@ -1022,7 +1028,7 @@ function textBox:draw()
|
||||
gc_rectangle('line',x,y,w,h,3)
|
||||
|
||||
--Texts
|
||||
FONT.set(self.font)
|
||||
FONT.set(self.font,self.fType)
|
||||
gc_push('transform')
|
||||
gc_translate(x,y)
|
||||
|
||||
@@ -1054,7 +1060,7 @@ end
|
||||
function textBox:getInfo()
|
||||
return("x=%d,y=%d,w=%d,h=%d"):format(self.x+self.w*.5,self.y+self.h*.5,self.w,self.h)
|
||||
end
|
||||
function WIDGET.newTextBox(D)--name,x,y,w,h[,font=30][,lineH][,fix],hide
|
||||
function WIDGET.newTextBox(D)--name,x,y,w,h[,font=30][,fType][,lineH][,fix],hide
|
||||
local _={
|
||||
name= D.name or"_",
|
||||
|
||||
@@ -1076,6 +1082,7 @@ function WIDGET.newTextBox(D)--name,x,y,w,h[,font=30][,lineH][,fix],hide
|
||||
h= D.h,
|
||||
|
||||
font= D.font or 30,
|
||||
fType=D.fType,
|
||||
fix= D.fix,
|
||||
texts={},
|
||||
hideF=D.hideF,
|
||||
|
||||
32
main.lua
32
main.lua
@@ -50,7 +50,13 @@ local _LOADTIME_=TIME()
|
||||
|
||||
--Load modules
|
||||
Z=require'Zframework'
|
||||
FONT.load('parts/fonts/proportional.ttf')
|
||||
FONT.load{
|
||||
norm='parts/fonts/proportional.ttf',
|
||||
mono='parts/fonts/monospaced.ttf',
|
||||
}
|
||||
FONT.setDefault('norm')
|
||||
FONT.setFallback('norm')
|
||||
|
||||
SCR.setSize(1280,720)--Initialize Screen size
|
||||
BGM.setMaxSources(5)
|
||||
BGM.setChange(function(name)MES.new('music',text.nowPlaying..name,5)end)
|
||||
@@ -205,15 +211,15 @@ end
|
||||
Z.setOnQuit(destroyPlayers)
|
||||
|
||||
--Load settings and statistics
|
||||
TABLE.cover (FILE.load('conf/user')or{},USER)
|
||||
TABLE.cover (FILE.load('conf/unlock')or{},RANKS)
|
||||
TABLE.update(FILE.load('conf/settings')or{},SETTING)
|
||||
TABLE.coverR(FILE.load('conf/data')or{},STAT)
|
||||
TABLE.cover (FILE.load('conf/key')or{},KEY_MAP)
|
||||
TABLE.cover (FILE.load('conf/virtualkey')or{},VK_ORG)
|
||||
TABLE.cover (loadFile('conf/user')or{},USER)
|
||||
TABLE.cover (loadFile('conf/unlock')or{},RANKS)
|
||||
TABLE.update(loadFile('conf/settings')or{},SETTING)
|
||||
TABLE.coverR(loadFile('conf/data')or{},STAT)
|
||||
TABLE.cover (loadFile('conf/key')or{},KEY_MAP)
|
||||
TABLE.cover (loadFile('conf/virtualkey')or{},VK_ORG)
|
||||
|
||||
--Initialize fields, sequence, missions, gameEnv for cutsom game
|
||||
local fieldData=FILE.load('conf/customBoards','string')
|
||||
local fieldData=loadFile('conf/customBoards','-string')
|
||||
if fieldData then
|
||||
fieldData=STRING.split(fieldData,"!")
|
||||
for i=1,#fieldData do
|
||||
@@ -222,15 +228,15 @@ if fieldData then
|
||||
else
|
||||
FIELD[1]=DATA.newBoard()
|
||||
end
|
||||
local sequenceData=FILE.load('conf/customSequence','string')
|
||||
local sequenceData=loadFile('conf/customSequence','-string')
|
||||
if sequenceData then
|
||||
DATA.pasteSequence(sequenceData)
|
||||
end
|
||||
local missionData=FILE.load('conf/customMissions','string')
|
||||
local missionData=loadFile('conf/customMissions','-string')
|
||||
if missionData then
|
||||
DATA.pasteMission(missionData)
|
||||
end
|
||||
local customData=FILE.load('conf/customEnv')
|
||||
local customData=loadFile('conf/customEnv')
|
||||
if customData and customData['version']==VERSION.code then
|
||||
TABLE.complete(customData,CUSTOMENV)
|
||||
end
|
||||
@@ -477,6 +483,10 @@ do
|
||||
fs.remove('record/rhythm_h.rec')
|
||||
fs.remove('record/rhythm_u.rec')
|
||||
end
|
||||
if RANKS.bigbang then
|
||||
RANKS.clearRush,RANKS.bigbang=RANKS.bigbang
|
||||
fs.remove('record/bigbang.rec')
|
||||
end
|
||||
if STAT.version~=VERSION.code then
|
||||
for k,v in next,MODE_UPDATE_MAP do
|
||||
if RANKS[k]then
|
||||
|
||||
BIN
media/music/malate.ogg
Normal file
BIN
media/music/malate.ogg
Normal file
Binary file not shown.
@@ -1,24 +1,34 @@
|
||||
local gc=love.graphics
|
||||
local warnTime={60,90,105,115,116,117,118,119,120}
|
||||
for i=1,#warnTime do warnTime[i]=warnTime[i]*60 end
|
||||
|
||||
return{
|
||||
mesDisp=function(P)
|
||||
gc.setLineWidth(2)
|
||||
gc.rectangle('line',55,110,32,402)
|
||||
local T=P.stat.frame/60/120
|
||||
gc.setColor(2*T,2-2*T,.2)
|
||||
gc.rectangle('fill',56,511,30,(T-1)*400)
|
||||
gc.setColor(.98,.98,.98,.8)
|
||||
gc.rectangle('line',0,260,126,80,4)
|
||||
gc.setColor(.98,.98,.98,.4)
|
||||
gc.rectangle('fill',0+2,260+2,126-4,80-4,2)
|
||||
setFont(45)
|
||||
local t=P.stat.frame/60
|
||||
local T=("%.1f"):format(120-t)
|
||||
gc.setColor(COLOR.dH)
|
||||
mStr(T,65,270)
|
||||
t=t/120
|
||||
gc.setColor(1.7*t,2.3-2*t,.3)
|
||||
mStr(T,63,268)
|
||||
end,
|
||||
task=function(P)
|
||||
P.modeData.stage=1
|
||||
BGM.seek(0)
|
||||
P.modeData.section=1
|
||||
while true do
|
||||
YIELD()
|
||||
if P.stat.frame/60>=warnTime[P.modeData.stage]then
|
||||
if P.modeData.stage<9 then
|
||||
P.modeData.stage=P.modeData.stage+1
|
||||
playReadySFX(3,.7+P.modeData.stage*.03)
|
||||
while P.stat.frame>=warnTime[P.modeData.section]do
|
||||
if P.modeData.section<9 then
|
||||
P.modeData.section=P.modeData.section+1
|
||||
playReadySFX(3,.7+P.modeData.section*.03)
|
||||
else
|
||||
playReadySFX(0,.7+P.modeData.stage*.03)
|
||||
playReadySFX(0,.7+P.modeData.section*.03)
|
||||
P:win('finish')
|
||||
return
|
||||
end
|
||||
|
||||
@@ -15,6 +15,48 @@ local playSFX=SFX.play
|
||||
|
||||
|
||||
--System
|
||||
do--function loadFile(name,args), function saveFile(data,name,args)
|
||||
local t=setmetatable({},{__index=function()return"'$1' loading failed: $2"end})
|
||||
function loadFile(name,args)
|
||||
local text=text or t
|
||||
if not args then args=''end
|
||||
local res,mes=pcall(FILE.load,name,args)
|
||||
if res then
|
||||
return mes
|
||||
else
|
||||
if mes:find'open error'then
|
||||
MES.new('error',text.loadError_open:repD(name,""))
|
||||
elseif mes:find'unknown mode'then
|
||||
MES.new('error',text.loadError_errorMode:repD(name,args))
|
||||
elseif mes:find'no file'then
|
||||
if not args:sArg'-canSkip'then
|
||||
MES.new('error',text.loadError_noFile:repD(name,""))
|
||||
end
|
||||
elseif mes then
|
||||
MES.new('error',text.loadError_other:repD(name,mes))
|
||||
else
|
||||
MES.new('error',text.loadError_unknown:repD(name,""))
|
||||
end
|
||||
end
|
||||
end
|
||||
function saveFile(data,name,args)
|
||||
local text=text or t
|
||||
local res,mes=pcall(FILE.save,data,name,args)
|
||||
if res then
|
||||
return mes
|
||||
else
|
||||
MES.new('error',
|
||||
mes:find'duplicate'and
|
||||
text.saveError_duplicate:repD(name)or
|
||||
mes:find'encode error'and
|
||||
text.saveError_encode:repD(name)or
|
||||
mes and
|
||||
text.saveError_other:repD(name,mes)or
|
||||
text.saveError_unknown:repD(name)
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
function isSafeFile(file,mes)
|
||||
if love.filesystem.getRealDirectory(file)~=SAVEDIR then
|
||||
return true
|
||||
@@ -23,13 +65,13 @@ function isSafeFile(file,mes)
|
||||
end
|
||||
end
|
||||
function saveStats()
|
||||
return FILE.save(STAT,'conf/data')
|
||||
return saveFile(STAT,'conf/data')
|
||||
end
|
||||
function saveProgress()
|
||||
return FILE.save(RANKS,'conf/unlock')
|
||||
return saveFile(RANKS,'conf/unlock')
|
||||
end
|
||||
function saveSettings()
|
||||
return FILE.save(SETTING,'conf/settings')
|
||||
return saveFile(SETTING,'conf/settings')
|
||||
end
|
||||
function applyLanguage()
|
||||
text=LANG.get(SETTING.locale)
|
||||
@@ -263,16 +305,16 @@ function setField(P,page)
|
||||
end
|
||||
end
|
||||
end
|
||||
function freshDate(mode)
|
||||
if not mode then
|
||||
mode=""
|
||||
function freshDate(args)
|
||||
if not args then
|
||||
args=""
|
||||
end
|
||||
local date=os.date("%Y/%m/%d")
|
||||
if STAT.date~=date then
|
||||
STAT.date=date
|
||||
STAT.todayTime=0
|
||||
getItem('zTicket',1)
|
||||
if not mode:find'q'then
|
||||
if not args:find'q'then
|
||||
MES.new('info',text.newDay)
|
||||
end
|
||||
saveStats()
|
||||
@@ -475,7 +517,7 @@ function gameOver()--Save record
|
||||
D.date=os.date("%Y/%m/%d %H:%M")
|
||||
ins(L,p+1,D)
|
||||
if L[11]then L[11]=nil end
|
||||
FILE.save(L,('record/%s.rec'):format(M.name),'l')
|
||||
saveFile(L,('record/%s.rec'):format(M.name),'-luaon')
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -828,8 +870,11 @@ end
|
||||
do--CUS/SETXXX(k)
|
||||
local CUSTOMENV=CUSTOMENV
|
||||
local warnList={
|
||||
'ims','RS','FTLock','frameMul','highCam',
|
||||
'das','arr','dascut','dropcut','sddas','sdarr',
|
||||
'ihs','irs','ims','RS',
|
||||
'FTLock','frameMul','highCam',
|
||||
'VKSwitch','VKIcon','VKTrack','VKDodge',
|
||||
'simpMode',
|
||||
}
|
||||
function CUSval(k)return function()return CUSTOMENV[k]end end
|
||||
function ROOMval(k)return function()return ROOMENV[k]end end
|
||||
|
||||
@@ -67,11 +67,19 @@ return{
|
||||
switchSpawnSFX="Please turn on the block spawn SFX!",
|
||||
needRestart="Restart to apply all changes",
|
||||
|
||||
loadError_errorMode="'$1' loading failed: no load mode '$2'",
|
||||
loadError_read="'$1' loading failed: read failed",
|
||||
loadError_noFile="'$1' loading failed no file:",
|
||||
loadError_other="'$1' loading failed: $2",
|
||||
loadError_unknown="'$1' loading failed: unknown reason",
|
||||
|
||||
saveError_duplicate="'$1' saving failed: duplicated filename",
|
||||
saveError_encode="'$1' saving failed: encode failed",
|
||||
saveError_other="'$1' saving failed: $2",
|
||||
saveError_unknown="'$1' saving failed: unknown reason",
|
||||
|
||||
copyDone="Copied!",
|
||||
saveDone="Data saved",
|
||||
saveError="Failed to save:",
|
||||
saveError_duplicate="Duplicated filename",
|
||||
loadError="Failed to load:",
|
||||
exportSuccess="Exported successfully",
|
||||
importSuccess="Imported successfully",
|
||||
dataCorrupted="Data corrupted",
|
||||
@@ -734,7 +742,7 @@ return{
|
||||
['defender_l']= {"Defender", "LUNATIC", "Practice your defencing skills!"},
|
||||
['dig_h']= {"Driller", "HARD", "Digging practice!"},
|
||||
['dig_u']= {"Driller", "ULTIMATE", "Digging practice!"},
|
||||
['bigbang']= {"Big Bang", "EASY", "All-spin tutorial!\n[Under construction]"},
|
||||
['clearRush']= {"Clear Rush", "NORMAL", "All-spin tutorial!\n[Under construction]"},
|
||||
['c4wtrain_n']= {"C4W Training", "NORMAL", "Infinite combos"},
|
||||
['c4wtrain_l']= {"C4W Training", "LUNATIC", "Infinite combos"},
|
||||
['pctrain_n']= {"PC Training", "NORMAL", "Perfect Clear practice"},
|
||||
|
||||
@@ -56,11 +56,19 @@ return{
|
||||
switchSpawnSFX="Habilita los sonidos de aparición de las piezas ;)",
|
||||
needRestart="Reinicia Techmino para que los cambios tengan efecto.",
|
||||
|
||||
-- loadError_errorMode="'$1' loading failed: no load mode '$2'",
|
||||
-- loadError_read="'$1' loading failed: read failed",
|
||||
-- loadError_noFile="'$1' loading failed no file:",
|
||||
-- loadError_other="'$1' loading failed: $2",
|
||||
-- loadError_unknown="'$1' loading failed: unknown reason",
|
||||
|
||||
-- saveError_duplicate="'$1' saving failed: duplicated filename",
|
||||
-- saveError_encode="'$1' saving failed: encode failed",
|
||||
-- saveError_other="'$1' saving failed: $2",
|
||||
-- saveError_unknown="'$1' saving failed: unknown reason",
|
||||
|
||||
-- copyDone="Copied!",
|
||||
saveDone="Datos guardados",
|
||||
saveError="Error al guardar:",
|
||||
saveError_duplicate="Archivo ya existente",
|
||||
loadError="Error al cargar:",
|
||||
exportSuccess="Exportado con éxito",
|
||||
importSuccess="Importado con éxito",
|
||||
dataCorrupted="Los datos están corruptos.",
|
||||
@@ -693,7 +701,7 @@ return{
|
||||
['defender_l']= {"Defensor", "Lunático", "¡Practica la defensa!"},
|
||||
['dig_h']= {"Downstack", "Difícil", "¡Practica el downstackeo!"},
|
||||
['dig_u']= {"Downstack", "Supremo", "¡Practica el downstackeo!"},
|
||||
['bigbang']= {"Big Bang", "Fácil", "¡Tutorial de All-spins!\n[Sin finalizar]"},
|
||||
-- ['clearRush']= {"Clear Rush", "NORMAL", "All-spin tutorial!\n[Under construction]"},
|
||||
['c4wtrain_n']= {"Entrenar C4W", "Normal", "Combos infinitos."},
|
||||
['c4wtrain_l']= {"Entrenar C4W", "Lunático", "Combos infinitos."},
|
||||
['pctrain_n']= {"Entrenar PC", "Normal", "Modo sencillo para practicar Perfect Clears."},
|
||||
|
||||
@@ -57,11 +57,19 @@ return{
|
||||
switchSpawnSFX="Activez les effets sonores d'apparition des pièces pour jouer",
|
||||
needRestart="Fonctionnera dès la prochaine partie",
|
||||
|
||||
-- loadError_errorMode="'$1' loading failed: no load mode '$2'",
|
||||
-- loadError_read="'$1' loading failed: read failed",
|
||||
-- loadError_noFile="'$1' loading failed no file:",
|
||||
-- loadError_other="'$1' loading failed: $2",
|
||||
-- loadError_unknown="'$1' loading failed: unknown reason",
|
||||
|
||||
-- saveError_duplicate="'$1' saving failed: duplicated filename",
|
||||
-- saveError_encode="'$1' saving failed: encode failed",
|
||||
-- saveError_other="'$1' saving failed: $2",
|
||||
-- saveError_unknown="'$1' saving failed: unknown reason",
|
||||
|
||||
-- copyDone="Copied!",
|
||||
saveDone="Données sauvegardées",
|
||||
saveError="Sauvegarde échouée : ",
|
||||
-- saveError_duplicate="Duplicate filename",
|
||||
loadError="Lecture échouée : ",
|
||||
exportSuccess="Exporté avec succès",
|
||||
importSuccess="Importé avec succès",
|
||||
dataCorrupted="Données corrompues",
|
||||
@@ -697,7 +705,7 @@ return{
|
||||
['defender_l']= {"Défendant", "LUNATIQUE", "Soyez défensifs !"},
|
||||
['dig_h']= {"Perceuse", "DIFFICILE", "Essayez de creuser !"},
|
||||
['dig_u']= {"Perceuse", "ULTIME", "Essayez de creuser !"},
|
||||
['bigbang']= {"Big Bang", "FACILE", "Tutoriel All-Spin\nEn construction..."},
|
||||
-- ['clearRush']= {"Clear Rush", "NORMAL", "All-spin tutorial!\n[Under construction]"},
|
||||
['c4wtrain_n']= {"Mode essai C4W", "NORMAL", "Combos infinis."},
|
||||
['c4wtrain_l']= {"Mode essai C4W", "LUNATIQUE", "Combos infinis."},
|
||||
['pctrain_n']= {"Mode essai PC", "NORMAL", "Mode Perfect Clear simple"},
|
||||
|
||||
@@ -57,11 +57,19 @@ return{
|
||||
switchSpawnSFX="Switch on spawn SFX to play",
|
||||
needRestart="Funciona após reiniciar",
|
||||
|
||||
-- loadError_errorMode="'$1' loading failed: no load mode '$2'",
|
||||
-- loadError_read="'$1' loading failed: read failed",
|
||||
-- loadError_noFile="'$1' loading failed no file:",
|
||||
-- loadError_other="'$1' loading failed: $2",
|
||||
-- loadError_unknown="'$1' loading failed: unknown reason",
|
||||
|
||||
-- saveError_duplicate="'$1' saving failed: duplicated filename",
|
||||
-- saveError_encode="'$1' saving failed: encode failed",
|
||||
-- saveError_other="'$1' saving failed: $2",
|
||||
-- saveError_unknown="'$1' saving failed: unknown reason",
|
||||
|
||||
-- copyDone="Copied!",
|
||||
saveDone="Data Salva",
|
||||
saveError="Falha ao salvar:",
|
||||
-- saveError_duplicate="Duplicate filename",
|
||||
loadError="Falha ao ler:",
|
||||
exportSuccess="Exportado com sucesso",
|
||||
importSuccess="Importado com sucesso",
|
||||
dataCorrupted="Data corrompida",
|
||||
@@ -727,7 +735,7 @@ return{
|
||||
['defender_l']= {"Defensor", "LUNÁTICO", "Prática de defensiva!"},
|
||||
['dig_h']= {"Cavador", "DIFÍCIL", "Prática de cavar!"},
|
||||
['dig_u']= {"Cavador", "ULTIMATE", "Prática de cavar!"},
|
||||
['bigbang']= {"Big Bang", "FÁCIL", "Tutorial de todos giros!\n[Em construção]"},
|
||||
-- ['clearRush']= {"Clear Rush", "NORMAL", "All-spin tutorial!\n[Under construction]"},
|
||||
['c4wtrain_n']= {"Treinamento C4W", "NORMAL", "Combos infinitos."},
|
||||
['c4wtrain_l']= {"Treinamento C4W", "LUNÁTICO", "Combos infinitos."},
|
||||
['pctrain_n']= {"Treinamento PC", "NORMAL", "Modo simples de limpeza perfeita."},
|
||||
|
||||
@@ -58,11 +58,19 @@ return{
|
||||
ai_mission="X!!!",
|
||||
needRestart="!!*#R#*!!",
|
||||
|
||||
loadError_errorMode="'$1' ↑x!: no load mode '$2'",
|
||||
loadError_read="'$1' ↑x!: read failed",
|
||||
loadError_noFile="'$1' ↑oading failed no file:",
|
||||
loadError_other="'$1' ↑x!: $2",
|
||||
loadError_unknown="'$1' ↑x!: unknown reason",
|
||||
|
||||
saveError_duplicate="'$1' ↓x!: duplicated filename",
|
||||
saveError_encode="'$1' ↓x!: encode failed",
|
||||
saveError_other="'$1' ↓x!: $2",
|
||||
saveError_unknown="'$1' ↓x!: unknown reason",
|
||||
|
||||
-- copyDone="Copied!",
|
||||
saveDone="~~~",
|
||||
saveError="x!:",
|
||||
saveError_duplicate="X←→X ?",
|
||||
loadError="x!:",
|
||||
exportSuccess="~Out~",
|
||||
importSuccess="~In~",
|
||||
dataCorrupted="XXXXX",
|
||||
|
||||
@@ -254,7 +254,7 @@ return{fallback='zh',
|
||||
['defender_l']= {"防守", "疯狂", "防守练习"},
|
||||
['dig_h']= {"挖掘", "困难", "挖掘练习"},
|
||||
['dig_u']= {"挖掘", "极限", "挖掘练习"},
|
||||
['bigbang']= {"大爆炸", "简单", "All-spin入门\n还没做好"},
|
||||
['clearRush']= {"清版竞速", "普通", "舒服"},
|
||||
['c4wtrain_n']= {"C4W练习", "普通", "无 限 连 击"},
|
||||
['c4wtrain_l']= {"C4W练习", "疯狂", "无 限 连 击"},
|
||||
['pctrain_n']= {"全清训练", "普通", "随便打打"},
|
||||
|
||||
@@ -67,11 +67,19 @@ return{
|
||||
switchSpawnSFX="请开启方块出生音效",
|
||||
needRestart="重新开始以生效",
|
||||
|
||||
loadError_errorMode="文件 '$1' 读取失败:无加载模式 '$2'",
|
||||
loadError_read="文件 '$1' 读取失败:读取失败",
|
||||
loadError_noFile="文件 '$1' 读取失败:没有文件",
|
||||
loadError_other="文件 '$1' 读取失败:$2",
|
||||
loadError_unknown="文件 '$1' 读取失败:原因未知",
|
||||
|
||||
saveError_duplicate="文件 '$1' 保存失败:文件已存在",
|
||||
saveError_encode="文件 '$1' 保存失败:编码错误",
|
||||
saveError_other="文件 '$1' 保存失败:$2",
|
||||
saveError_unknown="文件 '$1' 保存失败:原因未知",
|
||||
|
||||
copyDone="复制成功!",
|
||||
saveDone="保存成功!",
|
||||
saveError="保存失败:",
|
||||
saveError_duplicate="文件名重复",
|
||||
loadError="读取失败:",
|
||||
exportSuccess="导出成功",
|
||||
importSuccess="导入成功",
|
||||
dataCorrupted="数据损坏",
|
||||
@@ -739,7 +747,7 @@ return{
|
||||
['defender_l']= {"防守", "疯狂", "防守练习"},
|
||||
['dig_h']= {"挖掘", "困难", "挖掘练习"},
|
||||
['dig_u']= {"挖掘", "极限", "挖掘练习"},
|
||||
['bigbang']= {"大爆炸", "简单", "All-spin 入门教程\n施工中"},
|
||||
['clearRush']= {"清版竞速", "普通", "All-spin 入门教程\n施工中"},
|
||||
['c4wtrain_n']= {"C4W练习", "普通", "无 限 连 击"},
|
||||
['c4wtrain_l']= {"C4W练习", "疯狂", "无 限 连 击"},
|
||||
['pctrain_n']= {"全清训练", "普通", "简易PC题库,熟悉全清定式的组合"},
|
||||
|
||||
@@ -142,21 +142,21 @@ return{
|
||||
['defender_l']= {"防守", "疯狂", "防守练习"},
|
||||
['dig_h']= {"挖掘", "困难", "挖掘练习"},
|
||||
['dig_u']= {"挖掘", "极限", "挖掘练习"},
|
||||
['bigbang']= {"大爆炸", "简单", "All-spin 入门教程\n施工中"},
|
||||
['clearRush']= {"清版竞速", "普通", "所有块的回旋入门\n还没做好"},
|
||||
['c4wtrain_n']= {"中四宽练习", "普通", "无 限 连 击"},
|
||||
['c4wtrain_l']= {"中四宽练习", "疯狂", "无 限 连 击"},
|
||||
['pctrain_n']= {"全清训练", "普通", "简易全清题库,熟悉全清定式的组合"},
|
||||
['pctrain_l']= {"全清训练", "疯狂", "困难PC题库,强算力者进"},
|
||||
['pctrain_l']= {"全清训练", "疯狂", "困难全清题库,强算力者进"},
|
||||
['pc_n']= {"全清挑战", "普通", "100行内刷全清"},
|
||||
['pc_h']= {"全清挑战", "困难", "100行内刷全清"},
|
||||
['pc_l']= {"全清挑战", "疯狂", "100行内刷全清"},
|
||||
['pc_inf']= {"无尽全清挑战", "", "你能连续做多少PC?"},
|
||||
['tech_n']= {"科研", "普通", "禁止断B2B"},
|
||||
['pc_inf']= {"无尽全清挑战", "", "你能连续做多少全清?"},
|
||||
['tech_n']= {"科研", "普通", "禁止断满贯"},
|
||||
['tech_n_plus']= {"科研", "普通+", "仅允许回旋与全清"},
|
||||
['tech_h']= {"科研", "困难", "禁止断B2B"},
|
||||
['tech_h']= {"科研", "困难", "禁止断满贯"},
|
||||
['tech_h_plus']= {"科研", "困难+", "仅允许回旋与全清"},
|
||||
['tech_l']= {"科研", "疯狂", "禁止断B2B"},
|
||||
['tech_l_plus']= {"科研", "疯狂+", "仅允许spin与PC"},
|
||||
['tech_l']= {"科研", "疯狂", "禁止断满贯"},
|
||||
['tech_l_plus']= {"科研", "疯狂+", "仅允许回旋与全清"},
|
||||
['tech_finesse']= {"科研", "极简", "强制最简操作"},
|
||||
['tech_finesse_f']= {"科研", "极简+", "禁止普通消除,强制最简操作"},
|
||||
['tsd_e']= {"T2挑战", "简单", "你能连续做几个T旋双清?"},
|
||||
|
||||
@@ -67,11 +67,19 @@ return{
|
||||
switchSpawnSFX="请打开繁殖特技效果",
|
||||
needRestart="请重试以使更改生效",
|
||||
|
||||
loadError_errorMode="'$1' 加载失败:无加载模式 '$2'",
|
||||
loadError_read="'$1' 加载失败:读取失败",
|
||||
loadError_noFile="'$1' 加载失败:没有文件",
|
||||
loadError_other="'$1' 加载失败:$2",
|
||||
loadError_unknown="'$1' 加载失败:原因未知",
|
||||
|
||||
saveError_duplicate="'$1' 保存失败:文件名重复",
|
||||
saveError_encode="'$1' 保存失败:编码失败",
|
||||
saveError_other="'$1' 保存失败:$2",
|
||||
saveError_unknown="'$1' 保存失败:原因未知",
|
||||
|
||||
copyDone="收到了!",
|
||||
saveDone="保存的数据",
|
||||
saveError="未能保存:",
|
||||
saveError_duplicate="重复文件名",
|
||||
loadError="未能加载:",
|
||||
exportSuccess="成功导出",
|
||||
importSuccess="导入成功",
|
||||
dataCorrupted="数据损坏",
|
||||
@@ -725,7 +733,7 @@ return{
|
||||
['defender_l']= {"防守者", "疯子", "练习你的防守技巧!"},
|
||||
['dig_h']= {"钻机", "硬的", "挖掘练习!"},
|
||||
['dig_u']= {"钻机", "终极", "挖掘练习!"},
|
||||
['bigbang']= {"大爆炸", "容易", "所有旋转教程\n[在建]"},
|
||||
['clearRush']= {"清晰的冲", "普通", "所有旋转教程\n[在建]"},
|
||||
['c4wtrain_n']= {"C4W训练", "正常", "无限组合"},
|
||||
['c4wtrain_l']= {"C4W训练", "疯子", "无限组合"},
|
||||
['pctrain_n']= {"电脑培训", "正常", "完美清晰的实践"},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -17,7 +17,7 @@ return{
|
||||
{name='dig_100l', x=-600, y=-200, size=40,shape=1,icon="dig_sprint", unlock={'dig_400l'}},
|
||||
{name='dig_400l', x=-800, y=-200, size=40,shape=1,icon="dig_sprint"},
|
||||
|
||||
{name='marathon_n', x=0, y=-600, size=60,shape=1,icon="marathon", unlock={'marathon_h','solo_e','round_e','blind_e','classic_e','survivor_e','bigbang','zen'}},
|
||||
{name='marathon_n', x=0, y=-600, size=60,shape=1,icon="marathon", unlock={'marathon_h','solo_e','round_e','blind_e','classic_e','survivor_e','clearRush','zen'}},
|
||||
{name='marathon_h', x=0, y=-800, size=50,shape=1,icon="marathon", unlock={'master_n','strategy_e'}},
|
||||
|
||||
{name='solo_e', x=-600, y=-1000, size=40,shape=1,icon="solo", unlock={'solo_n'}},
|
||||
@@ -76,7 +76,7 @@ return{
|
||||
{name='dig_h', x=700, y=-800, size=40,shape=1,icon="dig", unlock={'dig_u'}},
|
||||
{name='dig_u', x=700, y=-1000, size=40,shape=1,icon="dig"},
|
||||
|
||||
{name='bigbang', x=400, y=-400, size=50,shape=1,icon="bigbang", unlock={'c4wtrain_n','pctrain_n','sprintAtk'}},
|
||||
{name='clearRush', x=400, y=-400, size=50,shape=1,icon="bigbang", unlock={'c4wtrain_n','pctrain_n','sprintAtk'}},
|
||||
{name='c4wtrain_n', x=700, y=-400, size=40,shape=1,icon="pc", unlock={'c4wtrain_l'}},
|
||||
{name='c4wtrain_l', x=900, y=-400, size=40,shape=1,icon="pc"},
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ return{
|
||||
das=8,arr=1,
|
||||
drop=30,lock=30,
|
||||
holdCount=0,
|
||||
eventSet='bigbang',
|
||||
eventSet='clearRush',
|
||||
bg='blockhole',bgm='peak',
|
||||
},
|
||||
score=function(P)return{P.modeData.stage,P.stat.time}end,
|
||||
@@ -240,8 +240,8 @@ function NET.uploadSave()
|
||||
{section=3,data=STRING.packTable(SETTING)},
|
||||
{section=4,data=STRING.packTable(KEY_MAP)},
|
||||
{section=5,data=STRING.packTable(VK_ORG)},
|
||||
{section=6,data=STRING.packTable(FILE.load('conf/vkSave1'))},
|
||||
{section=7,data=STRING.packTable(FILE.load('conf/vkSave2'))},
|
||||
{section=6,data=STRING.packTable(loadFile('conf/vkSave1'))},
|
||||
{section=7,data=STRING.packTable(loadFile('conf/vkSave2'))},
|
||||
}..'}}')
|
||||
MES.new('info',"Uploading")
|
||||
end
|
||||
@@ -282,13 +282,13 @@ function NET.loadSavedData(sections)
|
||||
applyAllSettings()
|
||||
|
||||
TABLE.cover(NET.cloudData.keyMap,KEY_MAP)
|
||||
success=success and FILE.save(KEY_MAP,'conf/key')
|
||||
success=success and saveFile(KEY_MAP,'conf/key')
|
||||
|
||||
TABLE.cover(NET.cloudData.VK_org,VK_ORG)
|
||||
success=success and FILE.save(VK_ORG,'conf/virtualkey')
|
||||
success=success and saveFile(VK_ORG,'conf/virtualkey')
|
||||
|
||||
success=success and FILE.save(NET.cloudData.vkSave1,'conf/vkSave1')
|
||||
success=success and FILE.save(NET.cloudData.vkSave2,'conf/vkSave2')
|
||||
success=success and saveFile(NET.cloudData.vkSave1,'conf/vkSave1')
|
||||
success=success and saveFile(NET.cloudData.vkSave2,'conf/vkSave2')
|
||||
if success then
|
||||
MES.new('check',text.saveDone)
|
||||
end
|
||||
@@ -460,7 +460,7 @@ function NET.updateWS_user()
|
||||
if res.uid then
|
||||
USER.uid=res.uid
|
||||
USER.authToken=res.authToken
|
||||
FILE.save(USER,'conf/user')
|
||||
saveFile(USER,'conf/user')
|
||||
if SCN.cur=='login'then
|
||||
SCN.back()
|
||||
end
|
||||
|
||||
@@ -782,7 +782,7 @@ function draw.norm(P,repMode)
|
||||
_drawFXs(P)
|
||||
|
||||
--Draw current block
|
||||
if P.cur then
|
||||
if P.alive and P.cur then
|
||||
local C=P.cur
|
||||
local curColor=C.color
|
||||
|
||||
@@ -996,7 +996,7 @@ function draw.demo(P)
|
||||
gc_translate(0,600)
|
||||
_drawField(P)
|
||||
_drawFXs(P)
|
||||
if P.cur then
|
||||
if P.alive and P.cur then
|
||||
local curColor=P.cur.color
|
||||
if ENV.ghost then
|
||||
drawGhost[ENV.ghostType](P.cur.bk,P.curX,P.ghoY,ENV.ghost,P.skinLib,curColor)
|
||||
|
||||
@@ -258,21 +258,21 @@ function Player:act_moveRight(auto)
|
||||
end
|
||||
end
|
||||
function Player:act_rotRight()
|
||||
if self.control and self.waiting==0 and self.cur then
|
||||
if self.control and self.cur then
|
||||
self.ctrlCount=self.ctrlCount+1
|
||||
self:spin(1)
|
||||
self.keyPressing[3]=false
|
||||
end
|
||||
end
|
||||
function Player:act_rotLeft()
|
||||
if self.control and self.waiting==0 and self.cur then
|
||||
if self.control and self.cur then
|
||||
self.ctrlCount=self.ctrlCount+1
|
||||
self:spin(3)
|
||||
self.keyPressing[4]=false
|
||||
end
|
||||
end
|
||||
function Player:act_rot180()
|
||||
if self.control and self.waiting==0 and self.cur then
|
||||
if self.control and self.cur then
|
||||
self.ctrlCount=self.ctrlCount+2
|
||||
self:spin(2)
|
||||
self.keyPressing[5]=false
|
||||
@@ -280,7 +280,7 @@ function Player:act_rot180()
|
||||
end
|
||||
function Player:act_hardDrop()
|
||||
local ENV=self.gameEnv
|
||||
if self.control and self.waiting==0 and self.cur then
|
||||
if self.control and self.cur then
|
||||
if self.lastPiece.autoLock and self.frameRun-self.lastPiece.frame<ENV.dropcut then
|
||||
SFX.play('drop_cancel',.3)
|
||||
else
|
||||
@@ -305,7 +305,7 @@ function Player:act_hardDrop()
|
||||
end
|
||||
function Player:act_softDrop()
|
||||
self.downing=1
|
||||
if self.control and self.waiting==0 and self.cur then
|
||||
if self.control and self.cur then
|
||||
if self.curY>self.ghoY then
|
||||
self.curY=self.curY-1
|
||||
self:freshBlock('fresh')
|
||||
@@ -317,9 +317,10 @@ function Player:act_softDrop()
|
||||
end
|
||||
end
|
||||
function Player:act_hold()
|
||||
if self.control and self.waiting==0 then
|
||||
self:hold()
|
||||
self.keyPressing[8]=false
|
||||
if self.control and self.cur then
|
||||
if self:hold()then
|
||||
self.keyPressing[8]=false
|
||||
end
|
||||
end
|
||||
end
|
||||
function Player:act_func1()
|
||||
@@ -1330,6 +1331,7 @@ function Player:hold(ifpre)
|
||||
elseif self.gameEnv.holdMode=='swap'then
|
||||
self:hold_swap(ifpre)
|
||||
end
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1388,8 +1390,10 @@ function Player:popNext(ifhold)--Pop nextQueue to hand
|
||||
self:act_hardDrop()
|
||||
pressing[6]=false
|
||||
end
|
||||
else
|
||||
elseif self.holdQueue[1]then--Force using hold
|
||||
self:hold()
|
||||
else--Next queue is empty, force lose
|
||||
self:lose(true)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2342,7 +2346,7 @@ local function update_alive(P)
|
||||
if P.movDir~=0 then
|
||||
local das,arr=ENV.das,ENV.arr
|
||||
local mov=P.moving
|
||||
if P.waiting==0 then
|
||||
if P.cur then
|
||||
if P.movDir==1 then
|
||||
if P.keyPressing[2]then
|
||||
if arr>0 then
|
||||
|
||||
@@ -256,9 +256,6 @@ local seqGenerators={
|
||||
if seq[1]then
|
||||
P:getNext(rem(seq))
|
||||
else
|
||||
if not(P.cur or P.nextQueue[1]or P.holdQueue[1])then
|
||||
P:lose(true)
|
||||
end
|
||||
break
|
||||
end
|
||||
end
|
||||
|
||||
@@ -10,7 +10,7 @@ end
|
||||
|
||||
function scene.mouseDown(x,y)
|
||||
if x>55 and y>550 and x<510 and y<670 then
|
||||
loadGame('sprintSym',true)
|
||||
loadGame('stack_e',true)
|
||||
end
|
||||
end
|
||||
scene.touchDown=scene.mouseDown
|
||||
@@ -19,7 +19,7 @@ function scene.keyDown(key)
|
||||
if key=="escape"then
|
||||
SCN.back()
|
||||
elseif key=="space"then
|
||||
loadGame('sprintSym',true)
|
||||
loadGame('stack_e',true)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ local kb=love.keyboard
|
||||
local ins,rem=table.insert,table.remove
|
||||
local C=COLOR
|
||||
|
||||
local inputBox=WIDGET.newInputBox{name='input',x=40,y=650,w=1200,h=50}
|
||||
local outputBox=WIDGET.newTextBox{name='output',x=40,y=30,w=1200,h=610,font=25,lineH=25,fix=true}
|
||||
local inputBox=WIDGET.newInputBox{name='input',x=40,y=650,w=1200,h=50,fType='mono'}
|
||||
local outputBox=WIDGET.newTextBox{name='output',x=40,y=30,w=1200,h=610,font=25,fType='mono',lineH=25,fix=true}
|
||||
|
||||
local function log(str)outputBox:push(str)end
|
||||
log{C.lP,"Techmino Console"}
|
||||
|
||||
@@ -64,11 +64,11 @@ function scene.keyDown(key,isRep)
|
||||
end
|
||||
if key=="return2"or kb.isDown("lalt","lctrl","lshift")then
|
||||
if #FIELD[1]>0 then
|
||||
FILE.save(CUSTOMENV,'conf/customEnv')
|
||||
saveFile(CUSTOMENV,'conf/customEnv')
|
||||
loadGame('custom_puzzle',true)
|
||||
end
|
||||
else
|
||||
FILE.save(CUSTOMENV,'conf/customEnv')
|
||||
saveFile(CUSTOMENV,'conf/customEnv')
|
||||
loadGame('custom_clear',true)
|
||||
end
|
||||
elseif key=="f"then
|
||||
@@ -84,10 +84,10 @@ function scene.keyDown(key,isRep)
|
||||
TABLE.clear(CUSTOMENV)
|
||||
TABLE.complete(require"parts.customEnv0",CUSTOMENV)
|
||||
for _,W in next,scene.widgetList do W:reset()end
|
||||
FILE.save(DATA.copyMission(),'conf/customMissions')
|
||||
FILE.save(DATA.copyBoards(),'conf/customBoards')
|
||||
FILE.save(DATA.copySequence(),'conf/customSequence')
|
||||
FILE.save(CUSTOMENV,'conf/customEnv')
|
||||
saveFile(DATA.copyMission(),'conf/customMissions')
|
||||
saveFile(DATA.copyBoards(),'conf/customBoards')
|
||||
saveFile(DATA.copySequence(),'conf/customSequence')
|
||||
saveFile(CUSTOMENV,'conf/customEnv')
|
||||
sure=0
|
||||
SFX.play('finesseError',.7)
|
||||
BG.set(CUSTOMENV.bg)
|
||||
@@ -123,7 +123,7 @@ function scene.keyDown(key,isRep)
|
||||
do return end
|
||||
::THROW_fail::MES.new('error',text.dataCorrupted)
|
||||
elseif key=="escape"then
|
||||
FILE.save(CUSTOMENV,'conf/customEnv')
|
||||
saveFile(CUSTOMENV,'conf/customEnv')
|
||||
SCN.back()
|
||||
else
|
||||
WIDGET.keyPressed(key)
|
||||
|
||||
@@ -127,7 +127,7 @@ function scene.sceneInit()
|
||||
page=1
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(DATA.copyBoards(),'conf/customBoards')
|
||||
saveFile(DATA.copyBoards(),'conf/customBoards')
|
||||
end
|
||||
|
||||
function scene.mouseMove(x,y)
|
||||
|
||||
@@ -16,7 +16,7 @@ function scene.sceneInit()
|
||||
sure=0
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(DATA.copyMission(),'conf/customMissions')
|
||||
saveFile(DATA.copyMission(),'conf/customMissions')
|
||||
end
|
||||
|
||||
local ENUM_MISSION=ENUM_MISSION
|
||||
|
||||
@@ -16,7 +16,7 @@ function scene.sceneInit()
|
||||
sure=0
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(DATA.copySequence(),'conf/customSequence')
|
||||
saveFile(DATA.copySequence(),'conf/customSequence')
|
||||
end
|
||||
|
||||
local minoKey={
|
||||
|
||||
@@ -35,7 +35,7 @@ local loadingThread=coroutine.wrap(function()
|
||||
YIELD('loadSample')SFX.loadSample{name='lead',path='media/sample/lead',base='A3'}--A3~A5
|
||||
YIELD('loadSample')SFX.loadSample{name='bell',path='media/sample/bell',base='A4'}--A4~A6
|
||||
YIELD('loadVoice')VOC.load('media/vocal/'..SETTING.vocPack..'/')
|
||||
YIELD('loadFont')for i=1,17 do getFont(15+5*i)end
|
||||
YIELD('loadFont')for i=1,17 do getFont(15+5*i)getFont(15+5*i,'mono')end
|
||||
|
||||
YIELD('loadModeIcon')
|
||||
local modeIcons={}
|
||||
@@ -96,7 +96,7 @@ local loadingThread=coroutine.wrap(function()
|
||||
|
||||
YIELD('loadMode')
|
||||
for _,M in next,MODES do
|
||||
M.records=FILE.load("record/"..M.name..".rec",'luaon')or M.score and{}
|
||||
M.records=loadFile("record/"..M.name..".rec",'-luaon -canSkip')or M.score and{}
|
||||
M.icon=M.icon and(modeIcons[M.icon]or gc.newImage("media/image/modeicon/"..M.icon..".png"))
|
||||
end
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ local function _login()
|
||||
end
|
||||
NET.wsconn_user_pswd(email,password)
|
||||
if savePW then
|
||||
FILE.save({email,password},'conf/account')
|
||||
saveFile({email,password},'conf/account')
|
||||
else
|
||||
love.filesystem.remove('conf/account')
|
||||
end
|
||||
@@ -21,7 +21,7 @@ end
|
||||
local scene={}
|
||||
|
||||
function scene.sceneInit()
|
||||
local data=FILE.load('conf/account')
|
||||
local data=loadFile('conf/account')
|
||||
if data then
|
||||
savePW=true
|
||||
emailBox:setText(data[1])
|
||||
|
||||
@@ -22,6 +22,7 @@ local author={
|
||||
["race remix"]="柒栎流星",
|
||||
["sakura"]="ZUN & C₂₉H₂₅N₃O₅",
|
||||
["1980s"]="C₂₉H₂₅N₃O₅",
|
||||
["malate"]="ZUN & C₂₉H₂₅N₃O₅",
|
||||
}
|
||||
|
||||
local scene={}
|
||||
|
||||
@@ -28,7 +28,7 @@ scene.widgetList={
|
||||
NET.wsclose_user()
|
||||
USER.uid=false
|
||||
USER.authToken=false
|
||||
FILE.save(USER,'conf/user')
|
||||
saveFile(USER,'conf/user')
|
||||
SCN.back()
|
||||
end
|
||||
else
|
||||
|
||||
@@ -90,7 +90,7 @@ function scene.keyDown(key)
|
||||
local rep=listBox:getSel()
|
||||
if rep then
|
||||
if rep.available and rep.fileName then
|
||||
local repStr=FILE.load(rep.fileName,'string')
|
||||
local repStr=loadFile(rep.fileName,'-string')
|
||||
if repStr then
|
||||
love.system.setClipboardText(love.data.encode('string','base64',repStr))
|
||||
MES.new('info',text.exportSuccess)
|
||||
@@ -108,7 +108,7 @@ function scene.keyDown(key)
|
||||
local fileName=os.date("replay/%Y_%m_%d_%H%M%S_import.rep")
|
||||
local rep=DATA.parseReplayData(fileName,fileData,false)
|
||||
if rep.available then
|
||||
if FILE.save(fileData,fileName,'d')then
|
||||
if saveFile(fileData,fileName,'-d')then
|
||||
table.insert(REPLAY,1,rep)
|
||||
MES.new('info',text.importSuccess)
|
||||
end
|
||||
|
||||
@@ -71,7 +71,7 @@ scene.widgetList={
|
||||
local D=_parseCB()
|
||||
if D then
|
||||
TABLE.update(D,VK_ORG)
|
||||
FILE.save(VK_ORG,'conf/virtualkey')
|
||||
saveFile(VK_ORG,'conf/virtualkey')
|
||||
MES.new('check',text.importSuccess)
|
||||
else
|
||||
MES.new('error',text.dataCorrupted)
|
||||
|
||||
@@ -23,7 +23,7 @@ function scene.sceneInit()
|
||||
BG.set('none')
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(KEY_MAP,'conf/key')
|
||||
saveFile(KEY_MAP,'conf/key')
|
||||
end
|
||||
|
||||
local forbbidenKeys={
|
||||
|
||||
@@ -9,10 +9,10 @@ local snapUnit=1
|
||||
local selected--Button selected
|
||||
|
||||
local function _save1()
|
||||
FILE.save(VK_ORG,'conf/vkSave1')
|
||||
saveFile(VK_ORG,'conf/vkSave1')
|
||||
end
|
||||
local function _load1()
|
||||
local D=FILE.load('conf/vkSave1')
|
||||
local D=loadFile('conf/vkSave1')
|
||||
if D then
|
||||
TABLE.update(D,VK_ORG)
|
||||
else
|
||||
@@ -20,10 +20,10 @@ local function _load1()
|
||||
end
|
||||
end
|
||||
local function _save2()
|
||||
FILE.save(VK_ORG,'conf/vkSave2')
|
||||
saveFile(VK_ORG,'conf/vkSave2')
|
||||
end
|
||||
local function _load2()
|
||||
local D=FILE.load('conf/vkSave2')
|
||||
local D=loadFile('conf/vkSave2')
|
||||
if D then
|
||||
TABLE.update(D,VK_ORG)
|
||||
else
|
||||
@@ -37,7 +37,7 @@ function scene.sceneInit()
|
||||
selected=false
|
||||
end
|
||||
function scene.sceneBack()
|
||||
FILE.save(VK_ORG,'conf/virtualkey')
|
||||
saveFile(VK_ORG,'conf/virtualkey')
|
||||
end
|
||||
|
||||
local function _onVK_org(x,y)
|
||||
|
||||
@@ -5,16 +5,17 @@ return[=[
|
||||
其他未来内容:
|
||||
实时统计数据可视化; 教学关脚本语言; 从录像继续
|
||||
模式系统重做; 重做模组UI; 加速下落; spike相关统计数据
|
||||
支持更多手柄; 场地格边缘线; 模式数据分析; 高级自定义序列
|
||||
等级系统; 成就系统; 手势操作; C2连击; 特殊控件(虚拟摇杆等)
|
||||
等级系统; 场地格边缘线; 模式数据分析; 高级自定义序列
|
||||
成就系统; 手势操作; C2连击; 特殊控件(虚拟摇杆等)
|
||||
组队战; 方块位移/旋转动画; 更细节的DAS选项; 拓展主题系统
|
||||
更自由的攻击系统; 更多消除方式; 可调场地宽度; 新联网游戏场景切换逻辑
|
||||
task-Z(新AI); 自适应UI; 多方块
|
||||
|
||||
0.17.0: 硬着陆 Hard Landing
|
||||
新增:
|
||||
新模式:大爆炸
|
||||
新模式:清版竞速
|
||||
新模式:策略堆叠(原设计来自游戏Cambridge, by NOT_A_ROBOT)
|
||||
新BGM:malate(暂未使用)
|
||||
新机制:出块延迟打断(ARE打断)(默认关闭) #471
|
||||
添加锁定在外判负(lockout)规则(默认关闭)
|
||||
全局默认使用5帧窒息延迟
|
||||
@@ -22,17 +23,22 @@ return[=[
|
||||
改动:
|
||||
调整游戏大logo为正体字
|
||||
软降n格的键也可以触发深降
|
||||
出块/消行延迟逻辑修正,现在真的是0延迟,不再有一帧等待了
|
||||
ultra模式计时器改为秒表,重开的时候会重播bgm
|
||||
出块/消行延迟逻辑修正,现在真的是0延迟,不再有一帧等待了(略微影响手感,更滑)
|
||||
生成位置预览开启后hold的生成位置也可见 #453
|
||||
TRS的S/Z添加四个踢墙防止在一些地方卡死
|
||||
优化pc训练模式体验,添加胜利条件,不再无尽
|
||||
堆积模式添加15帧的窒息延迟 #465
|
||||
小程序arm加入计时器和重置按钮
|
||||
修改部分不常用设置时会显示警告
|
||||
小程序arm加入计时器和重置按钮
|
||||
控制台使用等宽字体,更有味道(
|
||||
代码:
|
||||
bgm模块可限制最大加载数,不容易达到上限导致没声 #447
|
||||
BGM模块可限制最大加载数,不容易达到上限导致没声 #447
|
||||
语音模块支持设置轻微随机音调偏移半径(游戏内固定使用1)
|
||||
较大规模整理玩家相关代码,重构出块延迟和消行延迟逻辑
|
||||
较大规模整理玩家相关代码,重构出块延迟/消行延迟/`当前块`逻辑
|
||||
重构字体模块,支持多字体
|
||||
再次封装FILE模块
|
||||
扩展字符串扩展模块
|
||||
修复:
|
||||
机翻语言超级消除无行数显示 #462
|
||||
竞速-效率左侧信息颜色问题
|
||||
@@ -119,7 +125,7 @@ return[=[
|
||||
新语音包:miku(by vocaloidvictory)
|
||||
新BGM:Jazz nihilism(用于节日主题, by Trebor)
|
||||
新BGM:Race remix(用于大师-ph, by 柒栎流星)
|
||||
新BGM:Sakura(用于限时打分, by C₂₉H₂₅N₃O₅)
|
||||
新BGM:Sakura(用于ultra, by C₂₉H₂₅N₃O₅)
|
||||
新BGM:Null(用于节日主题)
|
||||
新音效:单次消5/6行
|
||||
新机制:swap(hold的另一种实现)
|
||||
@@ -1336,7 +1342,7 @@ return[=[
|
||||
0.10.5: 特效更新 FX update
|
||||
新内容:
|
||||
瞬移特效独立为瞬降和移动(旋转)特效,增加移动特效滑条,各特效范围均为0~5
|
||||
增加两个莫名其妙的背景(放在无尽和限时打分)
|
||||
增加两个莫名其妙的背景(放在无尽和ultra)
|
||||
把之前不小心弄丢的自制蓝屏报错界面捡回来了
|
||||
改动:
|
||||
雷达图OPM参数改为ADPM
|
||||
@@ -1456,7 +1462,7 @@ return[=[
|
||||
pc训练方块ghost浮空
|
||||
i平放顶层消1的奇怪行为
|
||||
玩家掉出屏幕过程中绘制场地时剪裁不正确
|
||||
限时打分的时间条和hold重合
|
||||
ultra的时间条和hold重合
|
||||
|
||||
0.9.2: Global Update
|
||||
new:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
return{
|
||||
["apkCode"]=408,
|
||||
["apkCode"]=410,
|
||||
["code"]=1700,
|
||||
["string"]="V0.17.0",
|
||||
["room"]="ver A-2",
|
||||
|
||||
Reference in New Issue
Block a user