Compare commits

..

42 Commits

Author SHA1 Message Date
MrZ626
29a049fe4e 版本推进 2021-12-06 22:20:59 +08:00
MrZ626
b5a9c8e1bb 修正一处手柄事件可能爆炸 2021-12-06 21:17:30 +08:00
MrZ626
bb9a35c161 修复云存档/读档的一处小问题 2021-12-06 21:11:54 +08:00
MrZ626
b25a345b42 更换click音效,音乐室播放按钮声音调整 2021-12-06 20:33:41 +08:00
MrZ626
b22b0e0194 修正文件加载模块参数识别的小问题 2021-12-06 19:52:00 +08:00
MrZ626
55cf95f218 修正策略堆叠模式评级标准不当 2021-12-06 19:24:24 +08:00
MrZ626
225ddbcfac 调整几个tip 2021-12-06 16:43:46 +08:00
MrZ626
9377090c7c 【bug风险较大,需要测试】解耦玩家代码中的部分混战模式代码 2021-12-06 16:00:46 +08:00
MrZ626
ed002ec2e1 略微降低master-h模式骨块出现后的难度 2021-12-06 13:49:51 +08:00
MrZ626
e33036d9ec 调整几个词条的关键词 2021-12-06 12:46:17 +08:00
MrZ626
ef03e7c009 layout菜单名改为style 2021-12-06 12:46:11 +08:00
MrZ626
aef4220ac0 修复自定义场地16号颜色的方块名位置显示错误
优化皮肤设置页面交互效果
2021-12-06 03:25:39 +08:00
MrZ626
46223e38cd STRING模块新增一个简易摘要算法,未来保护用户密码明文可能用到 2021-12-06 03:18:41 +08:00
MrZ626
4bafa4bffe 版本推进 2021-12-05 22:01:16 +08:00
MrZ626
2b3dd877dd 修正100攻击竞速模式没有重力 2021-12-05 18:13:47 +08:00
MrZ626
0553e5c45e 调整中文tip 2021-12-05 18:11:12 +08:00
MrZ626
4d93374cf6 微调暂停界面和语言选择界面 2021-12-05 00:54:42 +08:00
MrZ626
4e421bf9ba 微调一些场景细节 2021-12-04 22:29:38 +08:00
user670
8b2a9d7c01 Update lang_en.lua (#534) 2021-12-04 22:17:43 +08:00
C₂₉H₂₅N₃O₅
5a3244d345 更改语言选择界面布局 (#532)
* 再更改语言选择布局
2021-12-04 19:56:24 +08:00
MrZ626
f1b9d0c5e4 新增返回按钮音效 2021-12-03 17:15:32 +08:00
MrZ626
6493e0e623 创建button和key控件时的sound参数可以指定音效名了 2021-12-03 16:45:37 +08:00
MrZ626
e71ba17f9f 微调一个中文词典词条 2021-12-03 11:57:21 +08:00
MrZ626
e656363e20 录像回放菜单对键盘支持更好 2021-12-03 11:23:44 +08:00
MrZ626
0826a748ae 版本推进 2021-12-03 11:04:51 +08:00
MrZ626
a595fe99ef 大规模整理中文tip 2021-12-03 10:50:05 +08:00
MrZ626
9dbc7942e3 调整语言菜单标题 2021-12-03 10:49:57 +08:00
C₂₉H₂₅N₃O₅
845d8ae32e 字体增加谚文/语言滚动菜单丰富 (#530)
* 字体支持谚文显示

* 语言选择界面滚动菜单增加一堆语言
2021-12-03 08:26:09 +08:00
MrZ626
5c524e138c 语言选择菜单会轮流显示不同语言的“语言” 2021-12-02 22:06:06 +08:00
MrZ626
86d9265ff9 修复最后一个hold的死锁问题 close #528 2021-12-02 18:42:03 +08:00
MrZ626
6994a5d6d3 调整tip 2021-12-02 18:16:59 +08:00
MrZ626
e6213b00c1 修复无尽挖掘规则包会对非指定背景做不好的事情 close #525 2021-12-02 14:07:52 +08:00
MrZ626
43e2caa30e 修正进入登录场景时本地没保存过账户信息文件时会弹出文件读取错误 2021-12-02 10:04:38 +08:00
MrZ626
97ca245dfc 修复放录像的时候虚拟按键不会自己动 2021-12-02 08:58:35 +08:00
MrZ626
36de1c0751 版本推进 2021-12-02 01:40:01 +08:00
MrZ626
704341fd15 修正软降在sddas/sdarr很小的时候行为不正确 2021-12-02 01:33:50 +08:00
MrZ626
22b61bc9c3 修正暂停界面数据显示条件为>=180帧而不是>180帧
key控件微调
2021-12-02 00:30:21 +08:00
MrZ626
f4cbbc0a2a 修复cc看不到初始场地 2021-12-01 22:15:54 +08:00
MrZ626
dc99187b9d 修改三个音效名称 2021-12-01 22:03:22 +08:00
MrZ626
915598dec4 整理代码,SFX模块load时会提示缺失多少音效 2021-12-01 19:23:39 +08:00
MrZ626
e7b4518d73 【警告:需要测试】
调整玩家能hold/移动/旋转方块的条件
修复cc复活后小bug
整理代码
2021-12-01 15:46:12 +08:00
NOT_A_ROBOT
9603a78e87 Halved field height for Big mode (#520)
* Halved field height for big mode

Co-authored-by: MrZ_26 <1046101471@qq.com>
2021-12-01 09:29:57 +08:00
111 changed files with 637 additions and 559 deletions

View File

@@ -6,7 +6,14 @@ function FILE.load(name,args)
local F=fs.newFile(name)
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 mode=
args:sArg'-luaon'and'luaon'or
args:sArg'-json'and'json'or
args:sArg'-string'and'string'or
s:sub(1,6)=='return{'and'luaon'or
(s:sub(1,1)=='['and s:sub(-1)==']'or s:sub(1,1)=='{'and s:sub(-1)=='}')and'json'or
'string'
if mode=='luaon'then
local func=loadstring(s)
if func then
setfenv(func,{})
@@ -15,13 +22,13 @@ function FILE.load(name,args)
else
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
elseif mode=='json'then
local res=JSON.decode(s)
if res then
return res
end
error('decode error')
elseif args:sArg'-string'or args==''then
elseif mode=='string'then
return s
else
error('unknown mode')

View File

@@ -397,7 +397,7 @@ function love.joystickremoved(JS)
end
end
function love.gamepadaxis(JS,axis,val)
if JS==jsState[1]._jsObj then
if jsState[1]and JS==jsState[1]._jsObj then
local js=jsState[1]
if axis=='leftx'or axis=='lefty'or axis=='rightx'or axis=='righty'then
local newVal=--range: [0,1]

View File

@@ -42,16 +42,28 @@ function SFX.init(list)
end
function SFX.load(path)
local c=0
local missing=0
for i=1,#sfxList do
local fullPath=path..sfxList[i]..'.ogg'
if love.filesystem.getInfo(fullPath)then
if Sources[sfxList[i]]then
for j=1,#Sources[sfxList[i]]do
Sources[sfxList[i]][j]:release()
end
end
Sources[sfxList[i]]={love.audio.newSource(fullPath,'static')}
c=c+1
else
LOG("No SFX: "..sfxList[i]..'.ogg',.1)
missing=missing+1
end
end
LOG(c.."/"..#sfxList.." SFX files loaded")
LOG(missing.." SFX files missing")
if missing>0 then
MES.new('info',missing.." SFX files missing")
end
collectgarbage()
end
function SFX.loadSample(pack)
assert(type(pack)=='table',"Usage: SFX.loadsample([table])")

View File

@@ -169,6 +169,25 @@ function STRING.vcsDecrypt(text,key)
end
return result..buffer
end
function STRING.digezt(text)--Not powerful hash, just protect the original text
local out={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
local seed=26
for i=1,#text do
local c=byte(text,i)
seed=(seed+c)%26
c=c+seed
local pos=c*i%16
local step=(c+i)%4+1
local times=2+(c%6)
for _=1,times do
out[pos+1]=(out[pos+1]+c)%256
pos=(pos+step)%16
end
end
local result=""
for i=1,16 do result=result..char(out[i])end
return result
end
function STRING.readLine(str)
local p=str:find("\n")

View File

@@ -226,10 +226,10 @@ function button:press(_,_,k)
self.h
)
if self.sound then
SFX.play('button')
SFX.play(self.sound)
end
end
function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,fType][,sound=true][,align='M'][,edge=0][,code][,hideF][,hide]
function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,fType][,sound][,align='M'][,edge=0][,code][,hideF][,hide]
if not D.h then D.h=D.w end
local _={
name= D.name or"_",
@@ -253,11 +253,18 @@ function WIDGET.newButton(D)--name,x,y,w[,h][,fText][,color][,font=30][,fType][,
fType=D.fType,
align=D.align or'M',
edge= D.edge or 0,
sound=D.sound~=false,
code= D.code or NULL,
hideF=D.hideF,
hide= D.hide,
}
if D.sound==false then
_.sound=false
elseif type(D.sound)=='string'then
_.sound=D.sound
else
_.sound='button'
end
for k,v in next,button do _[k]=v end
setmetatable(_,widgetMetatable)
return _
@@ -303,17 +310,6 @@ function key:draw()
local align=self.align
local r,g,b=c[1],c[2],c[3]
--Background
gc_setColor(0,0,0,.3)
gc_rectangle('fill',x,y,w,h,4)
--Frame
if not self.noFrame then
gc_setColor(.2+r*.8,.2+g*.8,.2+b*.8,.7)
gc_setLineWidth(2)
gc_rectangle('line',x,y,w,h,3)
end
--Fill
if self.fShade then
gc_setColor(r,g,b,ATV*.25)
@@ -325,6 +321,16 @@ function key:draw()
gc_draw(self.fShade,x+w-self.edge-self.fShade:getWidth(),y+h*.5-self.fShade:getHeight()*.5)
end
else
--Background
gc_setColor(0,0,0,.3)
gc_rectangle('fill',x,y,w,h,4)
--Frame
gc_setColor(.2+r*.8,.2+g*.8,.2+b*.8,.7)
gc_setLineWidth(2)
gc_rectangle('line',x,y,w,h,3)
--Shade
gc_setColor(1,1,1,ATV*.05)
gc_rectangle('fill',x,y,w,h,3)
end
@@ -348,10 +354,10 @@ end
function key:press(_,_,k)
self.code(k)
if self.sound then
SFX.play('key')
SFX.play(self.sound)
end
end
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]
function WIDGET.newKey(D)--name,x,y,w[,h][,fText][,fShade][,color][,font=30][,fType][,sound][,align='M'][,edge=0][,code][,hideF][,hide]
if not D.h then D.h=D.w end
local _={
name= D.name or"_",
@@ -371,17 +377,22 @@ function WIDGET.newKey(D)--name,x,y,w[,h][,fText][,fShade][,noFrame][,color][,fo
fText= D.fText,
fShade= D.fShade,
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,
fType= D.fType,
align= D.align or'M',
edge= D.edge or 0,
code= D.code or NULL,
hideF= D.hideF,
hide= D.hide,
}
if D.sound==false then
_.sound=false
elseif type(D.sound)=='string'then
_.sound=D.sound
else
_.sound='key'
end
for k,v in next,key do _[k]=v end
setmetatable(_,widgetMetatable)
return _
@@ -635,7 +646,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,
fType= D.fType,
change=D.change,
disp= D.disp,
code= D.code or NULL,
@@ -951,7 +962,7 @@ function WIDGET.newInputBox(D)--name,x,y,w[,h][,font=30][,fType][,secret][,regex
},
font= D.font or int(D.h/7-1)*5,
fType=D.fType,
fType= D.fType,
secret=D.secret==true,
regex= D.regex,
limit= D.limit,

View File

@@ -23,8 +23,7 @@ local fs=love.filesystem
VERSION=require"version"
TIME=love.timer.getTime
YIELD=coroutine.yield
SYSTEM=love.system.getOS()
if SYSTEM=='OS X'then SYSTEM='macOS'end
SYSTEM=love.system.getOS()if SYSTEM=='OS X'then SYSTEM='macOS'end
FNSF=SYSTEM:find'\79\83'--What does FNSF stand for? IDK so don't ask me lol
MOBILE=SYSTEM=='Android'or SYSTEM=='iOS'
SAVEDIR=fs.getSaveDirectory()
@@ -341,8 +340,8 @@ VOC.init{
LANG.init('zh',
{
zh=require'parts.language.lang_zh',
zh_full=require'parts.language.lang_zh_full',
zh_trad=require'parts.language.lang_zh_trad',
zh_full=require'parts.language.lang_zh_full',
en=require'parts.language.lang_en',
fr=require'parts.language.lang_fr',
es=require'parts.language.lang_es',

Binary file not shown.

Binary file not shown.

View File

@@ -25,8 +25,8 @@ function bot_cc:revive()
self.P:loadAI(self.data)
end
function bot_cc:pushNewNext(id)
self.ccBot:addNext(rem(self.nexts,1))
ins(self.nexts,id)
self.ccBot:addNext(rem(self.bufferedNexts,1))
ins(self.bufferedNexts,id)
end
function bot_cc:thread()
local P,keys=self.P,self.keys

View File

@@ -12,7 +12,7 @@ local baseBot={
function baseBot.update(bot)
local P=bot.P
local keys=bot.keys
if P.control and P.waiting==0 then
if P.control and P.cur then
bot.delay=bot.delay-1
if not keys[1]then
if bot.runningThread then
@@ -85,7 +85,7 @@ function BOT.new(P,data)
if data.type=="CC"then
P:setRS('SRS')
bot.keys={}
bot.nexts={}
bot.bufferedNexts={}
bot.delay=data.delay
bot.delay0=data.delay
if P.gameEnv.holdCount>1 then
@@ -109,20 +109,25 @@ function BOT.new(P,data)
return
self.ccBot[k]and function(_,...)self.ccBot[k](self.ccBot,...)end or
cc_lua[k]and function(_,...)cc_lua[k](self,...)end or
baseBot[k]and baseBot[k]or
error("No actions called "..k)
assert(baseBot[k],"No CC action called "..k)
end})
for i,B in next,P.nextQueue do
if i<=data.next then
local pushed=0
if P.cur then
bot:addNext(P.cur.id)
pushed=pushed+1
end
for _,B in next,P.nextQueue do
if pushed<=data.next then
bot:addNext(B.id)
pushed=pushed+1
else
ins(bot.nexts,B.id)
ins(bot.bufferedNexts,B.id)
end
end
bot.runningThread=coroutine.wrap(cc_lua.thread)
bot.runningThread(bot)
elseif data.type=="9S"or true then--9s or else
else--if data.type=="9S"then--9s or else
TABLE.cover(baseBot,bot)
TABLE.cover(require"parts.bot.bot_9s",bot)
P:setRS('TRS')

View File

@@ -3,6 +3,7 @@ return
drop=1,
wait=8,
fall=20,
fieldH=10,
mesDisp=function(P)
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
PLY.draw.drawTargetLine(P,200-P.stat.row)

View File

@@ -5,6 +5,7 @@ return
drop=120,
wait=8,
fall=20,
fieldH=10,
mesDisp=function(P)
PLY.draw.drawProgress(P.stat.row,P.modeData.target)
PLY.draw.drawTargetLine(P,200-P.stat.row)

View File

@@ -10,7 +10,7 @@ return{
end
setField(P,D.finished+1)
SYSFX.newShade(1.4,P.absFieldX,P.absFieldY,300*P.size,610*P.size,.6,.8,.6)
SFX.play('blip_1')
SFX.play('warn_1')
else
P:win('finish')
end

View File

@@ -41,15 +41,15 @@ return{
if D.target==110 then
P.gameEnv.drop,P.gameEnv.lock=5,5
P.gameEnv.sddas,P.gameEnv.sdarr=5,5
SFX.play('blip_2',.7)
SFX.play('warn_2',.7)
elseif D.target==140 then
P.gameEnv.drop,P.gameEnv.lock=4,4
P.gameEnv.sddas,P.gameEnv.sdarr=4,4
SFX.play('blip_2',.7)
SFX.play('warn_2',.7)
elseif D.target==170 then
P.gameEnv.drop,P.gameEnv.lock=3,3
P.gameEnv.sddas,P.gameEnv.sdarr=3,3
SFX.play('blip_2',.7)
SFX.play('warn_2',.7)
elseif D.target==200 then
P:win('finish')
return

View File

@@ -40,7 +40,7 @@ return{
if D.target==110 then
P.gameEnv.drop,P.gameEnv.lock=2,2
P.gameEnv.sddas,P.gameEnv.sdarr=2,2
SFX.play('blip_1')
SFX.play('warn_1')
elseif D.target==200 then
P:win('finish')
return

View File

@@ -20,7 +20,7 @@ return{
D.pt=D.pt+s
if D.pt%100==99 then
SFX.play('blip_1')
SFX.play('warn_1')
elseif D.pt>=D.target then--Level up!
s=D.target/100--range from 1 to 9
local E=P.gameEnv

View File

@@ -1,6 +1,6 @@
local death_lock={12,11,10,9,8, 7,7,7,7,6}
local death_wait={10,9, 8, 7,6, 6,6,5,5,4}
local death_fall={10,9, 8, 7,6, 6,5,5,4,4}
local death_lock={12,11,10,9,8, 8,8,7,7,6}
local death_wait={10,9, 8, 7,6, 7,6,6,5,5}
local death_fall={10,9, 8, 7,6, 7,6,5,5,5}
return{
drop=0,
@@ -24,7 +24,7 @@ return{
D.pt=D.pt+s
if D.pt%100==99 then
SFX.play('blip_1')
SFX.play('warn_1')
elseif D.pt>=D.target then--Level up!
s=D.target/100
local E=P.gameEnv

View File

@@ -24,7 +24,7 @@ return{
D.pt=D.pt+s
if D.pt%100==99 then
SFX.play('blip_1')
SFX.play('warn_1')
elseif D.pt>=D.target then--Level up!
s=D.target/100
local E=P.gameEnv

View File

@@ -147,7 +147,7 @@ return
P.modeData.target=260
p=260
SFX.play('blip_2')
SFX.play('warn_2')
SFX.play('reach')
else
p=260

View File

@@ -5,15 +5,22 @@ local setFont=setFont
local PLAYERS,PLY_ALIVE=PLAYERS,PLY_ALIVE
return{
layout='royale',
fkey1=function(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=45
end,
mesDisp=function(P)
setFont(35)
mStr(#PLY_ALIVE.."/"..#PLAYERS,63,175)
mStr(P.modeData.ko,80,215)
gc_draw(TEXTOBJ.ko,60-TEXTOBJ.ko:getWidth(),222)
setFont(20)
gc_setColor(1,.5,0,.6)
gc_print(P.badge,103,227)
gc_setColor(.97,.97,.97)
setFont(25)
mStr(text.powerUp[P.strength],63,290)
gc_setColor(1,1,1)

Binary file not shown.

View File

@@ -79,7 +79,7 @@ do--function loadFile(name,args), function saveFile(data,name,args)
local text=text or t
local res,mes=pcall(FILE.save,data,name,args)
if res then
return mes
return true
else
MES.new('error',
mes:find'duplicate'and
@@ -771,7 +771,7 @@ do--function resetGameData(args)
BGM.play(type(bgm)=='string'and bgm or type(bgm)=='table'and bgm[math.random(#bgm)])
TEXT.clear()
if GAME.modeEnv.royaleMode then
if GAME.modeEnv.eventset=='royale'then
for i=1,#PLAYERS do
PLAYERS[i]:changeAtk(randomTarget(PLAYERS[i]))
end
@@ -818,7 +818,7 @@ do--function checkWarning()
end
GAME.warnLVL=_
if GAME.warnLVL>1.126 and P1.frameRun%30==0 then
SFX.fplay('warning',SETTING.sfx_warn)
SFX.fplay('warn_beep',SETTING.sfx_warn)
end
elseif GAME.warnLVL>0 then
GAME.warnLVL=max(GAME.warnLVL-.026,0)

View File

@@ -859,12 +859,12 @@ return{
"Any input device takes some time for the input to reach the game. This delay can range from a few milliseconds to a few dozen milliseconds.\nIf input delay is too long, the controls can feel uncomfortable.\nThis delay is often due to the performance of the hardware and software used, and often out of your control. Turn on performance mode (or turn off power saving mode) on your device, and turn on gaming mode on your monitor/TV (if you have one), may help reducing input delay.",
},
{"Cold Clear",
"cc coldclear",
"cc coldclear ai bot",
"term",
"A Tetris bot. Originally built for Puyo Puyo Tetris, thus can be less powerful on Techmino.",
},
{"ZZZbot",
"zzzbot",
"zzzbot ai bot",
"term",
"A Tetris bot. Built by the Chinese Tetris player 奏之章 (Zou Zhi Zhang) and has decent performance in many games",
},

View File

@@ -810,9 +810,9 @@ return{
"快速震动手指,实现比长按更快速+灵活的高速单点移动主要在经典块的高难度下因为das不可调而且特别慢高速下很容易md导致失败此时手动连点就比自动移动更快或者受特殊情况限制不适合用自动移动时使用。会使用这个技术的人称为“Hypertapper”。",
},
{"穿透 Passthrough",
"穿透 passthrough pingthrough",
"穿透 passthrough pingthrough chuantou",
"term",
"(攻击)穿透,指双方的攻击明明时间上很接近但没有抵消,互相都收到的现象。\nTETR.IO中自定义房间如果开启passthrough规则曾经天梯默认开启那么对手消行攻击的瞬间能看到自己的红条出现但其处于“无敌时间”内不会触发也不能抵消此时你的攻击会直接打给对手。应该是给攻击的飞行动画预留时间同时也让玩家能反应过来并主动选择要不要抵消要的话就再等一会\n另有pingthrough的说法最终效果同passthrough只是根本原因是不可避免的网络传输延迟设计比较简单的联网对战块没有特殊考虑的话可能自然就会带有这个机制。",
"(攻击)穿透,指双方的攻击打出后没有抵消,互相都收到的现象。\nTETR.IO中自定义房间如果开启passthrough规则曾经天梯默认开启那么对手消行攻击的瞬间能看到自己的红条出现但其处于“无敌时间”内不会触发也不能抵消此时你的攻击会直接打给对手。应该是给攻击的飞行动画预留时间同时也让玩家能反应过来并主动选择要不要抵消要的话就再等一会\n另有pingthrough的说法只是原因是由于不可避免的网络传输延迟效果同passthrough设计比较简单的联网对战块没有特殊考虑的话可能自然就会带有这个机制。",
},
{"TOP攻击表",
"攻击表 top attack",
@@ -880,17 +880,17 @@ return{
"一个游戏模式:\nMemorylessPreviewlessHoldless\n纯随机+无next+无hold一个非常考验玩家反应速度的模式",
},
{"输入延迟",
"输入延迟 input delay",
"输入延迟 input delay yanchi",
"term",
"用任何设备玩任何游戏时所有的操作按键盘点鼠标等都会晚一点点很短几毫秒到几十毫秒才到达游戏如果过长就会很影响游戏手感作用效果类似于你拿QQ远程控制打fps游戏\nTOP、TE等游戏比较明显\n这个延迟一般由硬件性能,硬件状态影响,通常来说不可设置,开启性能模式(或者关闭节能模式)可能会好一点",
},
{"Cold Clear",
"cc coldclear",
"机器人 电脑 cc coldclear ai bot jiqiren",
"term",
"一个AI的名字就跟AlphaGo一样\n本身是为PPT开发故在本游戏中使用效果欠佳版本也较旧",
},
{"ZZZbot",
"zzzbot",
"机器人 电脑 zzzbot ai bot jiqiren",
"term",
"一个AI的名字就跟AlphaGo一样\n由研究群群友奏之章开发,重新调参后在各个游戏平台上的表现都很不错",
},
@@ -902,7 +902,7 @@ return{
"开局定式,定式一般指开局定式这个概念。\n指开局后可以使用的套路摆法。局中情况合适的时候也可以摆出同样的形状,但是和摆法开局一般都不一样。\n\n能称为定式的摆法要尽量满足以下至少2~3条\n能适应大多数块序\n输出高尽量不浪费T块\n很多方块无需软降,极简操作数少\n有明确后续,分支尽量少。\n\n绝大多数定式基于bag7序列规律性强才有发明定式的可能。",
},
{"DT炮",
"dt炮",
"dt炮 dt cannon",
"setup",
"Double-Triple Cannon.\n"..HDwiki,
HDsearch.."dt",
@@ -914,7 +914,7 @@ return{
HDsearch.."dt",
},
{"BT炮",
"bt炮",
"bt炮 bt cannon",
"setup",
"β炮Beta炮\n"..HDwiki,
HDsearch.."bt_cannon",
@@ -932,7 +932,7 @@ return{
HDsearch.."TKI_3_Perfect_Clear",
},
{"QT炮",
"qt炮",
"qt炮 qt cannon",
"setup",
"QT炮细节未知。",
},

View File

@@ -339,7 +339,7 @@ return{
title="Game Settings",
graphic="←Video",
sound="Audio→",
layout="Layout",
-- style="Style",
ctrl="Control Settings",
key="Key Mappings",
@@ -460,7 +460,7 @@ return{
},
setting_skin={
skinSet="Block Skin",
title="Layout Settings",
title="Style Settings",
skinR="Reset Colors",
faceR="Reset Dir.",
},
@@ -800,11 +800,11 @@ return{
"Bridge clear coming soon!",
"Can you master this modern yet familiar stacker?",
"Certainly within this heart lies my M@STERPIECE.",
"Changelogs in English can be found on Discord.",
"Change logs in English can be found on Discord.",
"Color clear coming soon!",
"Decreasing DAS and ARR makes your game faster but harder to control.",
"Did I just see a Back-to-Back-to-Back?",
"Does B2B2B2B exists?",
"Does B2B2B2B exist?",
"Don't let a small glitch ruin your entire day!",
"Don't look directly at the bugs!",
"Enjoy the Techmino rotation system!",
@@ -818,7 +818,6 @@ return{
"Have you noticed what \"rotating\" does do to a block?",
"Headphones recommended for a better experience.",
"Hello world!",
"hello world",
"I3 and L3 are the only two unique triminoes.",
"if a==true",
"Increase your frame rate for a better experience.",
@@ -839,7 +838,6 @@ return{
"No easter eggs in this menu if you have the simplistic style turned on!",
"O-Spin Triple!",
"OHHHHHHHHHHHHHH",
"Online mode is planned — please be patient.",
"Play single-handedly!",
"Playing good takes some time!",
"Powered by LÖVE",
@@ -860,6 +858,7 @@ return{
"There are several hidden modes in the game that cannot be entered using the map.",
"There is a total of 18 different pentominoes.",
"There is a total of 7 different tetrominoes.",
"Try online multiplayer! Expect things to break though.",
"Try using multiple Hold Queues!",
"Try using two rotation buttons. Using all three of them is better.",
"Warning: Programmer Art",
@@ -872,7 +871,6 @@ return{
"You are welcome to help us to make BGMs and SFXs!",
"You can connect a keyboard to your phone or tablet (not functional on iOS though).",
"You can customize the key mappings in settings!",
"You can navigate the menu with a keyboard, but only in this screen.",
"You can open the save directory from the Stats page.",
"You can perform a spin with 28 of the 29 minoes in this game; the exception being O1.",
"You can set the spawning orientation for each piece.",

View File

@@ -305,7 +305,7 @@ return{
title="Ajustes del Juego",
graphic="←Video",
sound="Sonido→",
layout="Diseño",
-- style="Style",
ctrl="Sensibilidad",
key="Teclas",

View File

@@ -299,10 +299,9 @@ return{
},
setting_game={
title="Paramètres du jeu",
graphic="←Vidéo",
sound="Son→",
layout="Disposition",
-- style="Style",
ctrl="Paramètres de contrôle",
key="Touches",

View File

@@ -327,7 +327,7 @@ return{
title="Config. de jogo",
graphic="←Video",
sound="Som→",
layout="Layout",
-- style="Style",
ctrl="Config. controle",
key="Map. teclas",

View File

@@ -228,10 +228,9 @@ return{
},
setting_game={
title="%~~%",
graphic="←Video",
sound="Sound→",
layout="=-=-=",
style="=-=-=",
ctrl="=?=",
key="=?",

View File

@@ -87,7 +87,6 @@ return{fallback='zh',
WidgetText={
setting_game={
title="改游戏",
graphic="←改画面",
sound="改声音→",

View File

@@ -337,9 +337,9 @@ return{
},
setting_game={
title="游戏设置",
graphic="←画面设置",
sound="声音设置",
layout="外观",
graphic="←画面",
sound="声音→",
style="风格",
ctrl="控制设置",
key="键位设置",
@@ -356,8 +356,8 @@ return{
},
setting_video={
title="画面设置",
sound="←声音设置",
game="游戏设置",
sound="←声音",
game="游戏→",
block="方块可见",
smooth="平滑下落",
@@ -403,8 +403,8 @@ return{
},
setting_sound={
title="声音设置",
game="←游戏设置",
graphic="画面设置",
game="←游戏",
graphic="画面→",
mainVol="总音量",
bgm="音乐",
@@ -772,57 +772,28 @@ return{
['custom_puzzle']= {"自定义", "拼图"},
},
getTip={refuseCopy=true,
"……合群了就会消失不合群世界毁灭指game over",
"……,合群了就会消失,但消失不代表没有意义",
"……,没有对比就没有伤害",
"“Techmino.app”将对您的电脑造成伤害。您应该将它移到废纸篓。",
"(a+b)³=a³+3a²b+3ab²+b³",
"(RUR'U')R'FR2U'R'U'(RUR'F')",
"《按钮风格进化史》",
"《加载动画进化史》",
"《教育的力量》",
"《练习的力量》",
"《梦想的意义》",
"《天赋的力量》",
"《游戏的意义》",
"《知识的力量》",
"《主题曲进化史》",
"↑↑↓↓←→←→BA",
"∫u dv=uv-∫v du",
"$include<studio.h>",
"0next 0hold.",
"11renPC",
"1next 0hold",
"1next 1hold",
"1next 6hold",
"2021年是Techmino联机元年",
"20G本质是一个全新的游戏规则",
"29种块里28个都能spin你敢信",
"3.1415926535897932384",
"3.1415926535897932384(\\d{3})",
"3next 1hold",
"40行世界纪录:14.915s by Reset_",
"6236326236327175",
"626in1",
"6next 1hold",
"6next 6hold",
"7宽三SZ架空捐了解一下",
"把手机调到特殊的日期也许会发生什么",
"报时机器人:新的一天开始了",
"背景影响游玩?可以去设置关闭",
"本游戏不叫Teachmino",
"本游戏的一部分内容是国际合作的!",
"本游戏的B2B是气槽机制和传统的开关机制不一样哦",
"本游戏还在测试中,出各种问题都是有可能的哦",
"本游戏内置了几个休(yìng)闲(hé)小游戏哦~",
"本游戏使用精简版字体,可能有些特殊字符不能正确显示",
"本游戏在设计的时候受到了大量其他块游甚至一些音游的启发",
"必须要软降才能到达的位置都会判定为极简操作",
"别看攻击效率不高,其实消四还是很强的",
"别问游戏名怎么取的,问就是随便想的",
"不同人打40行最合适的方式不一样s1w/63/散消/s2w……",
"不同游戏(甚至不同模式)中不同战术的强度都不一样,并不能简单的按顺序排名",
"不希望激烈的零和竞争充斥整个游戏",
"不要悲伤,不要心急",
"不要大力拍打或滑动哦",
"不要卖弱不要卖弱不要卖弱",
"不知道有多少人玩游戏的时候会关心游戏是谁做的",
@@ -832,168 +803,72 @@ return{
"车万方块是一家(暴论",
"成就系统在做了!",
"吃键?真的吗?建议回放看看到底按没按到,按了多久",
"除了雨宫太阳还有很多高手玩家,甚至强出很多很多",
"触发游戏报错后日志文件会越来越大不过顶多几百K",
"触摸板打osu也很好",
"凑数tip什么时候能站起来",
"打好块跟学习一样没有捷径,多练。",
"打铁.png",
"打铁",
"打网络对战前请确认自己有一定的水平,不然会毫无游戏体验的",
"大概还是有人会看tip的",
"量使用开局定式的数据是不准的",
"大陆的方块社区起步晚,所以世界级高手很少……下一个会是你吗?",
"家认为的俄罗斯方块很可能不是你以为的俄罗斯方块,场合合适的时候可以适当提醒一下哦",
"大满贯10连击消四全清",
"戴上耳机以获得最佳体验",
"单手也能玩!",
"低帧率会降低游戏体验",
"点击添加标题",
"电脑游玩自带按键显示~",
"对编程有真·兴趣推荐Lua安装无脑 语法简单 执行速度快 远离枯燥学校编程(雾",
"对战模式跟单机模式有本质区别timing等能力需要专门练习",
"多年小游戏玩家表示痛恨故意拖时间的假加载",
"多hold现代块又回来了",
"俄罗斯方块完全可以作为电竞游戏",
"发现有个“隐形”皮肤了吗",
"发现Bug可以去GitHub上开个issue反馈",
"方块不能吃",
"方块不是你生活的全部,适当走出去看看",
"方块教会我们,合群了就会消失,……",
"方块默认出现的方向都是重心在下哦(如果你没乱动设置",
"方块能吃吗",
"分数一般只是好看的没有实际用途,建议只关心关卡要求",
"服务器随时爆炸",
"感觉明明按键了但是没反应?你真的按到了吗?",
"感觉自己速度到上限了试着把das调低一点",
"感谢群友帮忙想tip",
"感谢Orzmic为这个tip框提供修改意见",
"感谢Phigros提供部分tip模板",
"刚接触方块的话多玩玩就行40行两分钟以外没啥好针对性练习的",
"刚开始练全隐形可以尽量堆平,留一列消四",
"感谢Phigros提供(确信)部分tip模板",
"隔壁不在乎玩家意见但是我们在乎,没人提过的合理建议一定会回应",
"隔断消除即将到来!",
"各种画面细节选项都可以在设置里找到哦",
"更换方块皮肤也许能帮助提升成绩?不懂,玄学",
"更小的DAS和ARR拥有更高的操作上限(能控制得了的话)",
"更新内容在游戏里和群公告都有写!",
"攻击生效速度(从快到慢):消二/三消四spin高连击",
"还能写些什么tip呢",
"好像还没人能用脚打块打到一定水平",
"好像可以把手机倒过来打场地旋转180……那还是不建议违反规则",
"很有精神!",
"欢迎来帮忙制作音乐或音效!",
"欢迎提供更多游戏创意!",
"混合消除即将到来!",
"基础堆叠和挖掘能力非常重要,忽视这两项的人都后悔了(确信)",
"即使被顶到天上了也不要放弃,每一行垃圾都有可能成为你的武器",
"极简率决定了你大概的速度上限和相等手速下的放块速度",
"假如生活欺骗了你,不要悲伤,不要心急,还有块陪着你",
"架空消除即将到来!",
"建议使用双手游玩",
"健康小贴士:不要熬夜,真的会猝死",
"健康小贴士:戴耳机(尤其是半入耳式)时音量千万别拉满,不然真的会影响听力(虽然很慢)",
"健康小贴士:玩游戏多眨眼,不然会干眼病",
"键位是可以自定义的",
"键位有可能决定了上限,可能的话还是尽量考虑一下自己的键位是否利于超高速操作",
"尽早学双旋吧,单旋没前途的",
"经典块的水也很深,不要小看经典块玩家",
"经典块跟现代块是两个游戏,一个厉害不代表另一个也厉害,得从头练起",
"经典块和渣方块不是一回事",
"据某个群友描述玩了Techmino之后打字速度变快了",
"绝大多数按钮上的图标是调用Unicode私用区里的自制字符实现的",
"觉得移动速度太慢或太快手感不好快去设置调整DAS/ARR",
"开启省流模式后将不会加载用户头像(应该能省不少流吧)",
"科技骨牌 你的创新式块堆栈业务技术管理器",
"块东V共荣",
"快去打一把100%极简看看会怎样",
"锟斤拷锟斤拷锟斤拷",
"来学编程,好玩的",
"老牌益智游戏了",
"连续pc有大量知识要背不过背出来后随手10连pc不是问题",
"六连块总共有……?那不重要,不会做的(大概",
"论如何正确使用Unicode私用区定制字体",
"卖弱和谦虚不是一回事,发言前三思呀",
"卖弱禁言警告",
"没学过编曲,音乐都是自己瞎写的,如果真的觉得好听就太好了!",
"没有量化就没有对比,……",
"每个块的出现方向可以自定义",
"每个块的颜色可以自定义",
"每个虚拟按键都可以隐藏/显示,尺寸也可调",
"免费吃鸡方块",
"喵!",
"魔方也是方块(确信",
"能导致吃键的问题有很多,建议说清楚具体发生了什么并且录视频说明",
"能玩到Techmino不是你有优越感的理由",
"你的双手是为了你的一生服务的而不是Techmino",
"你今天的人品值是(满分100):"..math.random(100),
"你可以从统计页面打开游戏存档目录",
"你们考虑过Z酱的感受吗没有你们只考虑你自己。",
"你说彩蛋?嗯…算是有,可以找找",
"你有一个好",
"你这场地是金子堆的还是块是金子做的",
"你知道吗[001]看主页机器人玩可能比较费电",
"你知道吗[002]全程不使用任何旋转键完成40行模式是有可能的",
"你知道吗[003]全程不使用左右移动键完成40行模式是有可能的",
"你知道吗[004]停留在模式地图界面很费电",
"你知道吗[005]在其他(方块)游戏相关场合提及本游戏是很不礼貌的",
"你知道吗[006]O-Spin是在0.8.20 (Fantastic Global Update II)中诞生的",
"你知道吗[007]TRS旋转系统的最初形态在0.0.091726版本就存在了",
"你准备好了吗?",
"其实很多时候“吃键”是玩家对游戏机制不了解或者自己的操作问题导致的",
"其实S和Z有四个方向(状态),虽然看起来只有两个",
"请谨慎向没有方块经验的玩家推荐,会对本游戏的生存环境造成影响,感谢配合。",
"请勿大力敲打设备敲坏了就没有Techmino玩了",
"请勿使用三只手游玩",
"去玩别的方块的时候记得没有Ospin",
"全球目前应该没人能全X评价(大爆炸不算)",
"群友翻译的中文方块百科全书tetris.huijiwiki.com",
"让他三尺又何妨",
"如何O-spin: 一秒转626圈(误",
"三连块只有2种",
"三岁通关困难马拉松",
"上面这个不是录像,是机器人实时在玩",
"少女祈祷中",
"少玩点游戏,多注意眨眼和休息",
"深降了解一下",
"时间碎片[000] 2021/11/21开始tip加入这个版块",
"时间碎片[001] V0.7.9加入O-spin",
"时间碎片[002] V0.7.19加入语音系统",
"时间碎片[003] V0.7.22加入平滑下落",
"时间碎片[004] V0.8.5加入模式地图",
"时间碎片[005] V0.8.19加入五连块",
"时间碎片[006] V0.9.0加入自定义序列和模式",
"时间碎片[007] V0.10.0加入录像回放",
"时间碎片[008] V0.11.1加入小z词典",
"时间碎片[009] V0.12.2加入mod系统",
"时间碎片[010] V0.13.0联网对战测试",
"时间碎片[011] V0.13.2加入任意场地高度",
"时间碎片[012] V0.13.3加入控制台",
"时间碎片[013] V0.14.4加入第一首不是用Beepbox制作的BGM",
"时间碎片[014] V0.14.5加入第一首社区玩家自制BGM",
"时间碎片[015] V0.15.5加入录像回放菜单",
"时间碎片[016] V0.16.0应该是单次更新内容最多的(起码更新历史最长)",
"时间碎片[017] V0.16.2加入打击垫样式的音效室",
"时间碎片[018] V0.17.0加入手柄的摇杆和扳机支持",
"使用固定堆叠方法达成20TSD难度很低",
"试试用跳舞毯打块",
"适度游戏益脑,沉迷游戏伤身,合理安排时间,享受健康生活",
"手机玩也可以外接键盘哦(iOS除外)",
"首页的机器人可能会不小心把自己给玩死",
"术语不认识?去右边那个词典里查查吧",
"水平是随着时间一点点提升的,不是几天几星期就能玩好的哦",
"四连块总共7种",
"虽然极简连击和极简率计算看着很怪,但以后你会发现还挺科学!",
"所有大道理tip都是亲眼目睹后加的如果觉得多余说明就不是给你看的呀消消气",
"烫烫烫烫烫烫",
"提前旋转等功能可以用来救命",
"天哪我竟然是一条凑数tip",
"退一步海阔天空",
"挖掘能力在对战里非常非常非常重要!!!!",
"玩到一半弹出消息框?快去设置禁止弹窗",
"玩得开心的话游戏作者也会很开心哦",
"为了保护玩家们的健康,本游戏有一个临时的简易防沉迷系统!(不过估计你也触发不了/笑)",
"为什么关卡那么少因为前一模式成绩连B都没达到再加把劲吧~",
"为数不多走向世界的国产方块游戏",
"我曾经在极度愤怒的时候15秒消了40行",
"我们联合!",
"我们是不是第一个在方块游戏做tip的",
@@ -1002,46 +877,25 @@ return{
"我一个滑铲就挖了个11renPC",
"我永远喜……",
"无法打开“Techmino.app”因为无法验证开发者。",
"无聊翻翻设置是好习惯",
"五连块总共18种",
"物理hold了解一下",
"希望极简率没事",
"希望你们都能喜欢Z……哦不是喜欢Techmino",
"喜欢本游戏的话可以到应用商……好像没上架呢还,不过快了就是(",
"喜欢本游戏的话可以到应用商店下载",
"享受Tech的特色旋转系统",
"向其他人询问练习方法最好提供自己的详细水平,最好录些视频,不然很难给出合适的建议",
"小心腱鞘炎",
"写不出那种很酷的音乐(哭",
"旋转不是变形!请尽量灵活利用顺逆时针两个旋转键",
"学会使用两个旋转键,三个更好",
"学习能力很重要,无论是玩游戏还是学知识",
"要盯着bug不放",
"音乐风格是什么,能吃吗",
"音乐使用beepbox制作",
"音游方块是一家(暴论",
"隐形真的不难,只要花几个小时耐心练下去",
"游戏确实可以是艺术,而不一定是纯“玩具”",
"游戏使用LÖVE引擎制作",
"游戏使用un……LÖVE引擎制作",
"游戏也是一种艺术形式",
"游戏中左下角三个信息分别是分数/时间/极简连击数",
"游戏字体里藏了一套Z块表情包",
"有建议的话可以把信息反馈给作者~",
"有建议的话可以反馈给作者~",
"有两个模式是以东方Project里的角色为主题的",
"有一些隐藏模式不能从地图进入,到处找找看吧",
"有疑问?先看设置有没有你想要的",
"右下角那个问号按钮是游戏说明书 (开了简洁模式当我没说)",
"长期睡眠不足会引起不可逆的脑损伤(变傻)",
"这不是休闲游戏……别怪关卡要求太高,多练吧",
"这个菜单可以用纯键盘控制",
"这里的极简判定不松不严,放心软降",
"震惊我只是一条凑数tip吗",
"中文方块百科全书tetris.huijiwiki.com",
"众所周知俄罗斯方块是经典编程练手游戏(",
"众所周知mac不能拿来玩游戏",
"注意到方块“旋转”的时候到底发生了些什么吗?",
"自定义场地可以画图实现逐页演示",
"自己不确定的问题尽量不要教别人哦",
"总共有400多条tip哦",
"作业都没做完别玩手机",
"作者40行sub26了",
"作者电脑上装了11个方块",
@@ -1052,29 +906,8 @@ return{
"B2B2B",
"B2B2B2B并不存在……",
"B2B2B2B存在吗",
"BT炮=beta炮=TCM-β炮",
"c4w可不是在所有游戏里都很强哦",
"c4w人竟是我自己",
"c4w人竟在我身边",
"cos(α+β)=CαCβ-SβSα",
"cos²α-cos²β=-S(α+β)S(α-β)",
"cos²α-sin²β=C(α+β)C(α-β)",
"cos2α=C²α-S²α",
"e^(πi)=-1",
"e^(πi/2)=i",
"e^(πi/4)=(1+i)/√2",
"Farter评[01]:“成天被夸赞‘好玩’的”",
"Farter评[02]:“可以形成方块圈子小中心话题,同作者一起衍生一些概念与梗的”",
"Farter评[03]:“论方块的软工意义(就算这么小个范围内,各种取舍蒙混翻车现象都总会以很易懂的方式出现(”",
"Farter评[04]:“民间微创新”",
"Farter评[05]“民间音lè与图案”",
"Farter评[06]:“民间游戏设计”",
"Farter评[07]:“是方块爱好者研究平台”",
"Farter评[08]:“是方块萌新入坑接收器”",
"Farter评[09]:“是居家旅行装逼必备”",
"Farter评[10]“是民间UI动效艺术作品”",
"Farter评[11]:“是一滩散乱的代码组成的蜜汁结构”",
"Farter评[12]“它是现在的techmino已发布版本”",
"fin neo iso 是满足tspin条件的特殊t2的名字",
"git commit",
"git push -f",
@@ -1083,33 +916,21 @@ return{
"iOS设备使用键盘控制可能会有问题还是先只用触屏吧",
"l-=-1",
"Let-The-Bass-Kick",
"lim x→c f(x)/g(x)=lim x→c f'(x)/g'(x)",
"MrZ是谁啊",
"pps-0.01",
"S△ABC=√(h(h-a)(h-b)(h-c))h=(a+b+c)/2",
"shutdown -h now",
"sin(α+β)=SαCβ+SβCα",
"sin²α-cos²β=-C(α+β)C(α-β)",
"sin²α-sin²β=S(α+β)S(α-β)",
"sin2α=2SαCα",
"sofunhowtoget",
"Staff名单里飘过的是赞助榜单喜欢本游戏的话可以给我们打赞助支持开发哦~",
"STSD必死",
"sudo rm -rf /*",
"Techmino /'tɛkmɪnoʊ/ n.铁壳米诺(游戏名)",
"Techmino = Technique + Tetromino",
"Techmino 好玩!",
"Techmino 濂界帺锛",
"Techmino 英['tɛkmɪnəʊ] 美/'tekmɪnoʊ/ n.铁壳米诺(游戏名)",
"Techmino console了解一下",
"Techmino: App意外退出。",
"Techmino.exe 已停止工作",
"Techmino安卓下载",
"Techmino不是工业产品也不是练手程序是游戏作品(至少目前是,嗯……)",
"Techmino好玩",
"Techmino没有氪金没有逼肝良不良心~",
"Techmino生日不太清楚那就定在2019.6.26吧",
"Techmino也有节日主题了哦",
"Techmino有一个Nspire-CX版本",
"Techmino在哪里下载",
"Techmino怎么念啊",
"techminohaowan",
@@ -1122,22 +943,197 @@ return{
"Z酱是谁",
"Z酱只是个写代码的懂什么方块",
"Z块等身抱枕来一个(x",
"豆知识[001]总共有400多条tip哦",
"豆知识[002]背景影响游玩?可以去设置关闭",
"豆知识[003]方块默认出现的方向都是重心在下哦(如果你没乱动设置",
"豆知识[004]各种画面细节选项都可以在设置里找到哦",
"豆知识[005]觉得移动速度太慢或太快手感不好快去设置调整DAS/ARR",
"豆知识[006]无聊翻翻设置是好习惯",
"豆知识[007]有疑问?先看设置有没有你想要的",
"豆知识[008]2021年是Techmino联机元年",
"豆知识[009]20G本质是一个全新的游戏规则",
"豆知识[010]29种块里28个都能spin你敢信",
"豆知识[011]7宽三SZ架空捐了解一下",
"豆知识[012]把手机调到特殊的日期也许会发生什么",
"豆知识[013]本游戏不叫Teachmino",
"豆知识[014]本游戏的一部分内容是国际合作的!",
"豆知识[015]本游戏的中文名叫《方块研究所》",
"豆知识[016]本游戏的B2B是气槽机制和传统的开关机制不一样哦",
"豆知识[017]本游戏内置了几个休(yìng)闲(hé)小游戏哦~",
"豆知识[018]本游戏在设计的时候受到了大量其他块游甚至一些音游的启发",
"豆知识[019]必须要软降才能到达的位置都会判定为极简操作",
"豆知识[020]别看攻击效率不高,其实消四还是很强的",
"豆知识[021]别问游戏名字怎么取的,问就是随便想的",
"豆知识[022]不同人打40行最合适的方式不一样s1w/63/散消/s2w……",
"豆知识[023]不同游戏(甚至不同模式)中不同战术的强度都不一样,并不能简单的按顺序排名",
"豆知识[024]除了雨宫太阳还有很多高手玩家尤其是不在PPT里甚至强出不少",
"豆知识[025]触发游戏报错后日志文件会越来越大不过顶多几百K",
"豆知识[026]打好块跟学习一样没有捷径,多练!",
"豆知识[027]打网络对战前请确认自己有一定的水平,不然会毫无游戏体验的",
"豆知识[028]大量使用开局定式的数据是不准的",
"豆知识[029]大陆的方块社区起步晚,所以世界级高手很少……下一个会是你吗?",
"豆知识[030]低帧率会降低游戏体验",
"豆知识[031]电脑游玩自带按键显示~",
"豆知识[032]对战模式跟单机模式有本质区别timing等能力需要专门练习",
"豆知识[033]发现Bug可以去GitHub上开个issue反馈",
"豆知识[034]分数一般只是好看的没有实际用途,建议只关心关卡要求",
"豆知识[035]服务器随时爆炸",
"豆知识[036]感觉自己速度到上限了试着把das调低一点",
"豆知识[037]刚接触方块的话多玩玩就行40行两分钟以外没啥好针对性练习的",
"豆知识[038]刚开始练全隐形可以尽量堆平,留一列消四",
"豆知识[039]更小的DAS和ARR拥有更高的操作上限(能控制得了的话)",
"豆知识[040]更新内容在游戏里和群公告都有写!",
"豆知识[041]攻击生效速度(从快到慢):消二/三消四spin高连击",
"豆知识[042]好像可以把手机倒过来打场地旋转180……那还是不建议违反规则",
"豆知识[043]基础堆叠和挖掘能力非常重要,忽视这两项的人都后悔了(确信)",
"豆知识[044]即使被顶到天上了也不要放弃,每一行垃圾都有可能成为你的武器",
"豆知识[045]极简率决定了你大概的速度上限和相等手速下的放块速度",
"豆知识[046]键位是可以自定义的",
"豆知识[047]键位有可能决定了上限,可能的话还是尽量考虑一下自己的键位是否利于超高速操作",
"豆知识[048]尽早学双旋吧,单旋没前途的",
"豆知识[049]经典块的水也很深,不要小看经典块玩家",
"豆知识[050]经典块跟现代块是两个游戏,一个厉害不代表另一个也厉害,得从头练起",
"豆知识[051]经典块和渣方块不是一回事",
"豆知识[052]开启省流模式后将不会加载用户头像(应该能省不少流吧)",
"豆知识[053]看主页机器人玩可能比较费电",
"豆知识[054]连续pc有大量知识要背不过背出来后随手10连pc不是问题",
"豆知识[055]每个块的出现方向可以自定义",
"豆知识[056]每个块的颜色可以自定义",
"豆知识[057]每个虚拟按键都可以隐藏/显示,尺寸也可调",
"豆知识[058]能导致吃键的问题有很多,建议说清楚具体发生了什么并且录视频说明",
"豆知识[059]你可以从统计页面打开游戏存档目录",
"豆知识[060]你说彩蛋?嗯…算是有,可以找找",
"豆知识[061]其实很多时候“吃键”是玩家对游戏机制不了解或者自己的操作问题导致的",
"豆知识[062]其实S和Z有四个方向(状态),虽然看起来只有两个",
"豆知识[063]去玩别的方块的时候记得没有Ospin",
"豆知识[064]全程不使用任何旋转键完成40行模式是有可能的",
"豆知识[065]三连块只有2种",
"豆知识[066]四连块总共7种",
"豆知识[067]五连块总共18种",
"豆知识[068]六连块总共有……?那不重要,不会做的(大概",
"豆知识[069]上面这个不是录像,是机器人实时在玩",
"豆知识[070]使用固定堆叠方法达成20TSD难度很低",
"豆知识[071]手机玩也可以外接键盘哦(iOS除外)",
"豆知识[072]首页的机器人可能会不小心把自己给玩死",
"豆知识[073]术语不认识?去右边那个词典里查查吧",
"豆知识[074]水平是随着时间一点点提升的,不是几天几星期就能玩好的哦",
"豆知识[075]虽然极简连击和极简率计算看着很怪,但以后你会发现还挺科学!",
"豆知识[076]提前旋转等功能可以用来救命",
"豆知识[077]停留在模式地图界面很费电",
"豆知识[078]为了保护玩家们的健康,本游戏有一个临时的简易防沉迷系统!(不过估计你也触发不了/笑)",
"豆知识[079]为什么关卡那么少因为前一模式成绩连B都没达到再加把劲吧~",
"豆知识[080]为数不多走向世界的国产方块游戏",
"豆知识[081]向其他人询问练习方法最好提供自己的详细水平,最好录些视频,不然很难给出合适的建议",
"豆知识[082]小心腱鞘炎",
"豆知识[083]玄学研究显示,更换方块皮肤也许能帮助提升成绩",
"豆知识[084]旋转不是变形!请尽量灵活利用顺逆时针两个旋转键",
"豆知识[085]学会使用两个旋转键,三个更好",
"豆知识[086]隐形真的不难,只要耐心花几个小时练下去",
"豆知识[087]游戏中左下角三个信息分别是分数/时间/极简连击数",
"豆知识[088]游戏字体里藏了一套Z块表情包",
"豆知识[089]有几个隐藏模式不能从地图进入,到处找找看吧",
"豆知识[090]右下角那个问号按钮是游戏说明书 (开了简洁模式当我没说)",
"豆知识[091]在其他(方块)游戏相关场合提及本游戏是很不礼貌的",
"豆知识[092]这里的极简判定不松不严,放心软降",
"豆知识[093]注意到方块“旋转”的时候到底发生了些什么吗?",
"豆知识[094]自定义场地可以画图实现逐页演示",
"豆知识[095]自己不确定的问题尽量不要教别人哦",
"豆知识[096]BT炮=beta炮=TCM-β炮",
"豆知识[097]c4w可不是在所有游戏里都很强哦",
"豆知识[098]Staff名单里飘过的是赞助榜单喜欢本游戏的话可以给我们打赞助支持开发哦~",
"豆知识[099]Techmino不是工业产品也不是练手程序是游戏作品(至少目前是,嗯……)",
"豆知识[100]Techmino生日不太清楚那就定在2019.6.26吧",
"豆知识[101]Techmino有一个简单的节日主题系统",
"豆知识[102]Techmino有一个Nspire-CX原型版本",
"健康小贴士[01]玩游戏多眨眼,不然会干眼病",
"健康小贴士[02]少玩点游戏,多注意眨眼和休息",
"健康小贴士[03]戴耳机(尤其是半入耳式)时音量千万别拉满,不然真的会影响听力(虽然很慢)",
"健康小贴士[04]不要熬夜,真的会猝死",
"健康小贴士[05]长期睡眠不足会引起不可逆的脑损伤(变傻)",
"Z思辨[01]《教育的力量》",
"Z思辨[02]《学习的意义》",
"Z思辨[03]《练习的力量》",
"Z思辨[04]《知识的力量》",
"Z思辨[05]《梦想的价值》",
"Z思辨[06]《天赋的力量》",
"Z思辨[07]《游戏的意义》",
"Frt评[01]“成天被夸赞‘好玩’的”",
"Frt评[02]“可以形成方块圈子小中心话题,同作者一起衍生一些概念与梗的”",
"Frt评[03]“论方块的软工意义(就算这么小个范围内,各种取舍蒙混翻车现象都总会以很易懂的方式出现(”",
"Frt评[04]“民间微创新”",
"Frt评[05]“民间音lè与图案”",
"Frt评[06]“民间游戏设计”",
"Frt评[07]“是方块爱好者研究平台”",
"Frt评[08]“是方块萌新入坑接收器”",
"Frt评[09]“是居家旅行装逼必备”",
"Frt评[10]“是民间UI动效艺术作品”",
"Frt评[11]“是一滩散乱的代码组成的蜜汁结构”",
"Frt评[12]“它是现在的techmino已发布版本”",
"今日数学[01](a+b)³=a³+3a²b+3ab²+b³",
"今日数学[02]∫u dv=uv-∫v du",
"今日数学[03]cos(α+β)=CαCβ-SβSα",
"今日数学[04]cos²α-cos²β=-S(α+β)S(α-β)",
"今日数学[05]cos²α-sin²β=C(α+β)C(α-β)",
"今日数学[06]cos2α=C²α-S²α",
"今日数学[07]e^(πi)=-1",
"今日数学[08]e^(πi/2)=i",
"今日数学[09]e^(πi/4)=(1+i)/√2",
"今日数学[10]lim x→c f(x)/g(x)=lim x→c f'(x)/g'(x)",
"今日数学[11]S△ABC=√(h(h-a)(h-b)(h-c))h=(a+b+c)/2",
"今日数学[12]sin(α+β)=SαCβ+SβCα",
"今日数学[13]sin²α-cos²β=-C(α+β)C(α-β)",
"今日数学[14]sin²α-sin²β=S(α+β)S(α-β)",
"今日数学[15]sin2α=2SαCα",
"时间碎片[000] 2021/11/21加入这个版块",
"时间碎片[001] V0.0.091726加入TRS旋转系统",
"时间碎片[002] V0.7.9加入O-spin",
"时间碎片[003] V0.7.19加入语音系统",
"时间碎片[004] V0.7.22加入平滑下落",
"时间碎片[005] V0.8.5加入模式地图",
"时间碎片[006] V0.8.19加入五连块",
"时间碎片[007] V0.9.0加入自定义序列和模式",
"时间碎片[008] V0.10.0加入录像回放",
"时间碎片[009] V0.11.1加入小z词典",
"时间碎片[010] V0.12.2加入mod系统",
"时间碎片[011] V0.13.0联网对战测试",
"时间碎片[012] V0.13.2加入任意场地高度",
"时间碎片[013] V0.13.3加入控制台",
"时间碎片[014] V0.14.4加入第一首非Beepbox制作的BGM",
"时间碎片[015] V0.14.5加入第一首社区玩家自制BGM",
"时间碎片[016] V0.15.5加入录像回放菜单",
"时间碎片[017] V0.16.0加入BIRS",
"时间碎片[018] V0.16.2加入打击垫样式的音效室",
"时间碎片[019] V0.17.0加入手柄的摇杆和扳机支持",
"Z哲[01]方块教会我们,合群了就会消失,……",
"Z哲[02]假如生活欺骗了你,不要悲伤,不要心急,还有块陪着你",
"Z哲[03]……合群了就会消失不合群世界毁灭指game over",
"Z哲[04]……,合群了就会消失,但消失不代表没有意义",
"Z哲[05]没有量化就没有对比,……",
"Z哲[06]……,没有对比就没有伤害",
"Z哲[07]方块不是你生活的全部,适当走出去看看",
"Z哲[08]能玩到Techmino不是你有优越感的理由",
"Z哲[09]卖弱和谦虚不是一回事,发言前三思呀",
"Z哲[10]让他三尺又何妨",
"Z哲[11]退一步海阔天空",
"Z哲[12]学习能力很重要,只要你以变强为目的,无论玩游戏学知识都可以很难",
"Z哲[13]游戏确实可以是一种艺术形式,而不一定是纯“玩具”",
"Z哲[14]不希望激烈的零和竞争充斥整个游戏",
{C.C,"<PURE ",C.P,"MEMORY>"},
{C.C,"15puzzle好玩!"},
{C.C,"东方Project好玩"},
{C.C,"魔方好玩!"},
{C.C,"噗哟噗哟好玩!"},
{C.C,"扫雷好玩!"},
{C.C,"Ballance好玩!"},
{C.C,"Celeste好玩!"},
{C.C,"Minecraft好玩!"},
{C.C,"Orzmic好玩!"},
{C.C,"Osu! 好玩!"},
{C.C,"Phigros好玩!"},
{C.C,"Terraria好玩"},
{C.C,"VVVVVV好玩!"},
{C.C,"World of goo好玩!"},
{C.C,"Zuma好玩!"},
{C.C,"z推[01]东方Project好玩!"},
{C.C,"z推[02]Minecraft好玩"},
{C.C,"z推[03]Osu!好玩!"},
{C.C,"z推[04]Terraria好玩!"},
{C.C,"z推[05]Celeste好玩!"},
{C.C,"z推[06]World of goo好玩!"},
{C.C,"z推[07]Orzmic好玩!"},
{C.C,"z推[08]噗哟噗哟好玩!"},
{C.C,"z推[09]Phigros好玩!"},
{C.C,"z推[10]VVVVVV好玩!"},
{C.C,"z推[11]Ballance好玩!"},
{C.C,"z推[12]Zuma好玩"},
{C.C,"z推[13]魔方好玩!"},
{C.C,"z推[14]15puzzle好玩!"},
{C.C,"z推[15]扫雷好玩!"},
{C.H,"暂定段位:9"},
{C.H,"REGRET!!"},
{C.lC,"Xspin",C.Z,"是啥"},
@@ -1152,9 +1148,9 @@ return{
{C.R,"《知识产权法》"},
{C.R,"本游戏难度上限很高,做好心理准备。"},
{C.R,"不要向不感兴趣的路人推荐!!!!!!!!"},
{C.R,"不要在上课时玩游戏!"},
{C.R,"光敏性癫痫警告"},
{C.R,"请在有一定游戏基础之后再学Tspin不然副作用非常大"},
{C.R,"上班时间不许摸鱼打块!"},
{C.R,"上课时间不许摸鱼打块!"},
{C.R,"新人请千万记住,打好基础,不要太早学那些花里胡哨的。"},
{C.R,"长时间游戏状态会越来越差!玩久了记得放松一下~"},
{C.R,"DD",C.Z,"炮=",C.P,"TS",C.R,"D",C.Z,"+",C.P,"TS",C.R,"D",C.Z,""},

View File

@@ -337,7 +337,7 @@ return{
title="游戏设置",
graphic="←视频",
sound="声音→",
layout="布局",
style="风格",
ctrl="控制设置",
key="键映射",

View File

@@ -336,9 +336,9 @@ return{
},
setting_game={
title="遊戲設置",
graphic="←畫面設置",
sound="音頻設置",
layout="外觀",
graphic="←畫面",
sound="音頻→",
style="風格",
ctrl="控制設置",
key="鍵位設置",
@@ -355,8 +355,8 @@ return{
},
setting_video={
title="畫面設置",
sound="←音頻設置",
game="遊戲設置",
sound="←音頻",
game="遊戲→",
block="方塊可見",
smooth="平滑下落",
@@ -402,8 +402,8 @@ return{
},
setting_sound={
title="音頻設置",
game="←遊戲設置",
graphic="畫面設置",
game="←遊戲",
graphic="畫面→",
mainVol="主音量",
bgm="音樂",

View File

@@ -15,12 +15,12 @@ local function check_rise(P)
if L==0 then
P:_showText(text.awesome,0,-120,80,'beat',.6)
SFX.play('pc')
BG.send(26)
if BG.cur=='wing'then BG.send(26)end
for _=1,8 do
P:garbageRise(13,1,generateLine(P.holeRND:random(10)))
end
else
BG.send(#P.clearedRow)
if BG.cur=='wing'then BG.send(#P.clearedRow)end
end
end
end

View File

@@ -1,7 +1,6 @@
return{
env={
infHold=true,
drop=1e99,lock=1e99,
eventSet='checkAttack_100',
bg='matrix',bgm='new era',
},

View File

@@ -16,6 +16,6 @@ return{
L>=120 and 3 or
L>=70 and 2 or
L>=40 and 1 or
L>=26 and 0
L>=16 and 0
end,
}

View File

@@ -16,6 +16,6 @@ return{
L>=80 and 3 or
L>=40 and 2 or
L>=20 and 1 or
L>=26 and 0
L>=10 and 0
end,
}

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=60,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=60,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=15,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=60,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=60,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -1,14 +1,7 @@
local function selectTarget(P)
P:changeAtkMode(P.atkMode<3 and P.atkMode+2 or 5-P.atkMode)
P.swappingAtkMode=30
end
return{
env={
drop=15,lock=60,
fall=20,
royaleMode=true,
fkey1=selectTarget,
garbageSpeed=.3,
pushSpeed=2,
freshLimit=15,

View File

@@ -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(loadFile('conf/vkSave1'))},
{section=7,data=STRING.packTable(loadFile('conf/vkSave2'))},
{section=6,data=STRING.packTable(loadFile('conf/vkSave1','-canSkip')or{})},
{section=7,data=STRING.packTable(loadFile('conf/vkSave2','-canSkip')or{})},
}..'}}')
MES.new('info',"Uploading")
end
@@ -287,10 +287,12 @@ function NET.loadSavedData(sections)
TABLE.cover(NET.cloudData.VK_org,VK_ORG)
success=success and saveFile(VK_ORG,'conf/virtualkey')
success=success and saveFile(NET.cloudData.vkSave1,'conf/vkSave1')
success=success and saveFile(NET.cloudData.vkSave2,'conf/vkSave2')
if #NET.cloudData.vkSave1[1]then success=success and saveFile(NET.cloudData.vkSave1,'conf/vkSave1')end
if #NET.cloudData.vkSave2[1]then success=success and saveFile(NET.cloudData.vkSave2,'conf/vkSave2')end
if success then
MES.new('check',text.saveDone)
else
MES.new('warn',text.dataCorrupted)
end
end

View File

@@ -157,7 +157,7 @@ function NETPLY.setJoinMode(uid,ready)
return
end
end
SFX.play('blip_2',.5)
SFX.play('warn_2',.5)
end
end
return

View File

@@ -11,7 +11,7 @@ local int,ceil,rnd=math.floor,math.ceil,math.random
local max,min,sin,modf=math.max,math.min,math.sin,math.modf
local setFont,mDraw,mStr=FONT.set,GC.draw,GC.mStr
local SKIN,TEXTURE,IMG=SKIN,TEXTURE,IMG
local TEXT,COLOR,GAME,TIME=TEXT,COLOR,GAME,TIME
local TEXT,COLOR,TIME=TEXT,COLOR,TIME
local shader_alpha,shader_lighter=SHADER.alpha,SHADER.lighter
local shader_fieldSatur,shader_blockSatur=SHADER.fieldSatur,SHADER.blockSatur
local TEXTOBJ,ENUM_MISSION,BLOCK_COLORS=TEXTOBJ,ENUM_MISSION,BLOCK_COLORS
@@ -862,12 +862,12 @@ function draw.norm(P,repMode)
_drawLDI(ENV.easyFresh,P.lockDelay/ENV.lock,P.freshTime)
--Draw target selecting pad
if GAME.modeEnv.royaleMode then
if ENV.layout=='royale'then
if P.atkMode then
gc_setColor(1,.8,0,P.swappingAtkMode*.02)
gc_setColor(1,.8,0,min(P.swappingAtkMode,30)*.02)
gc_rectangle('fill',RCPB[2*P.atkMode-1],RCPB[2*P.atkMode],90,35,8,4)
end
gc_setColor(1,1,1,P.swappingAtkMode*.025)
gc_setColor(1,1,1,min(P.swappingAtkMode,30)*.025)
setFont(35)
gc_setLineWidth(1)
for i=1,4 do
@@ -953,7 +953,7 @@ function draw.small(P)
end
--Draw badge
if GAME.modeEnv.royaleMode then
if P.gameEnv.layout=='royale'then
gc_setColor(1,1,1)
for i=1,P.strength do
gc_draw(IMG.badgeIcon,12*i-7,4,nil,.5)

View File

@@ -53,6 +53,7 @@ return{
bufferLimit=1e99,
fillClear=true,
layout='normal',
fkey1=false,fkey2=false,
keyCancel={},
fine=false,fineKill=false,

View File

@@ -136,7 +136,7 @@ local function _newEmptyPlayer(id,mini)
}
P.newNext=false--Warped coroutine to get new next, loaded in applyGameEnv()
]]
P.movDir,P.moving,P.downing=0,0,0--Last move key,DAS charging,downDAS charging
P.movDir,P.moving,P.downing=0,0,-1--Last move key,DAS charging,downDAS charging
P.dropDelay,P.lockDelay=0,0
P.waiting,P.falling=0,0
P.freshTime=0

View File

@@ -193,9 +193,9 @@ function Player:createBeam(R,send)
local c=BLOCK_COLORS[color]
local r,g,b=c[1]*2,c[2]*2,c[3]*2
local a=GAME.modeEnv.royaleMode and not(self.type=='human'or R.type=='human')and .2 or 1
SYSFX.newAttack(1-power*.1,x1,y1,x2,y2,int(send^.7*(4+power)),r,g,b,a*(power+2)*.0626)
local a=(power+2)*.0626
if self.type~='human'and R.type~='human'then a=a*.2 end
SYSFX.newAttack(1-power*.1,x1,y1,x2,y2,int(send^.7*(4+power)),r,g,b,a)
end
end
--------------------------</FX>--------------------------
@@ -220,7 +220,7 @@ function Player:act_moveLeft(auto)
self.ctrlCount=self.ctrlCount+1
end
self.movDir=-1
if self.control and self.waiting==0 then
if self.cur then
if self.cur and not self:ifoverlap(self.cur.bk,self.curX-1,self.curY)then
self:createMoveFX('left')
self.curX=self.curX-1
@@ -241,7 +241,7 @@ function Player:act_moveRight(auto)
self.ctrlCount=self.ctrlCount+1
end
self.movDir=1
if self.control and self.waiting==0 then
if self.cur then
if self.cur and not self:ifoverlap(self.cur.bk,self.curX+1,self.curY)then
self:createMoveFX('right')
self.curX=self.curX+1
@@ -258,21 +258,21 @@ function Player:act_moveRight(auto)
end
end
function Player:act_rotRight()
if self.control and self.cur then
if 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.cur then
if 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.cur then
if 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.cur then
if self.cur then
if self.lastPiece.autoLock and self.frameRun-self.lastPiece.frame<ENV.dropcut then
SFX.play('drop_cancel',.3)
else
@@ -304,12 +304,19 @@ function Player:act_hardDrop()
end
end
function Player:act_softDrop()
self.downing=1
if self.control and self.cur then
self.downing=0
if self.cur then
if self.curY>self.ghoY then
self.curY=self.curY-1
self:freshBlock('fresh')
self.spinLast=false
if self.gameEnv.sddas==0 then
if self.gameEnv.sdarr==0 then
self:act_insDown()
else
self:act_down1()
self:act_down1()
end
else
self:act_down1()
end
self:checkTouchSound()
elseif self.gameEnv.deepdrop then
self:_deepdrop()
@@ -317,7 +324,7 @@ function Player:act_softDrop()
end
end
function Player:act_hold()
if self.control and self.cur then
if self.cur then
if self:hold()then
self.keyPressing[8]=false
end
@@ -497,19 +504,27 @@ local playerActions={
self.keyPressing[keyID]=true
playerActions[keyID](self)
self.stat.key=self.stat.key+1
if self.id==1 and GAME.recording then
end
if self.id==1 then
if GAME.recording then
local L=GAME.rep
ins(L,self.frameRun)
ins(L,keyID)
elseif self.streamProgress then
VK.press(keyID)
end
end
end
function Player:releaseKey(keyID)
self.keyPressing[keyID]=false
if self.id==1 and GAME.recording then
local L=GAME.rep
ins(L,self.frameRun)
ins(L,32+keyID)
if self.id==1 then
if GAME.recording then
local L=GAME.rep
ins(L,self.frameRun)
ins(L,32+keyID)
elseif self.streamProgress then
VK.release(keyID)
end
end
end
function Player:newTask(code,...)
@@ -819,7 +834,7 @@ function Player:receive(A,send,time,line)
self.atkBufferSum=self.atkBufferSum+send
self.stat.recv=self.stat.recv+send
if self.sound then
SFX.play(send<4 and'blip_1'or'blip_2',min(send+1,5)*.1)
SFX.play(send<4 and'warn_1'or'warn_2',min(send+1,5)*.1)
end
if send>=2 then
self:shakeField(send/2)
@@ -889,7 +904,7 @@ function Player:freshBlock(mode,ifTele)--string mode: push/move/fresh/newBlock
if(mode=='move'or mode=='newBlock'or mode=='push')and self.cur then
local CB=self.cur.bk
self.ghoY=min(#self.field+1,self.curY)
if self._20G or ENV.sdarr==0 and self.keyPressing[7]and self.downing>ENV.sddas then
if self._20G or ENV.sdarr==0 and self.keyPressing[7]and self.downing>=ENV.sddas then
local _=self.ghoY
--Move ghost to bottom
@@ -1324,8 +1339,8 @@ function Player:hold_swap(ifpre)
self.stat.hold=self.stat.hold+1
end
function Player:hold(ifpre)
if self.holdTime>0 and(ifpre or self.falling==0 and self.waiting==0)then
function Player:hold(ifpre,force)
if self.holdTime>0 and(self.cur or ifpre or force)then
if self.gameEnv.holdMode=='hold'then
self:hold_norm(ifpre)
elseif self.gameEnv.holdMode=='swap'then
@@ -1391,7 +1406,7 @@ function Player:popNext(ifhold)--Pop nextQueue to hand
pressing[6]=false
end
elseif self.holdQueue[1]then--Force using hold
self:hold()
self:hold(true,true)
else--Next queue is empty, force lose
self:lose(true)
end
@@ -1832,7 +1847,7 @@ do
end
--Bonus atk/def when focused
if GAME.modeEnv.royaleMode then
if ENV.layout=='royale'then
local i=min(#self.atker,9)
if i>1 then
atk=atk+reAtk[i]
@@ -1855,7 +1870,7 @@ do
off=off+_
if send>0 then
local T
if GAME.modeEnv.royaleMode then
if ENV.layout=='royale'then
if self.atkMode==4 then
local M=#self.atker
if M>0 then
@@ -2048,7 +2063,7 @@ do
return _cc,_gbcc
end
end
function Player:loadAI(data)--Load AI params
function Player:loadAI(data)--Load AI with params
self.bot=BOT.new(self,data)
self.bot.data=data
end
@@ -2129,7 +2144,7 @@ local function task_lose(self)
return
end
end
if not GAME.modeEnv.royaleMode and #PLAYERS>1 then
if not self.gameEnv.layout=='royale'and #PLAYERS>1 then
self.y=self.y+self.endCounter*.26
self.absFieldY=self.absFieldY+self.endCounter*.26
end
@@ -2301,6 +2316,9 @@ local function update_alive(P)
P.control=true
P.timing=true
P:popNext()
if P.bot then
P.bot:updateField()
end
end
if P.movDir~=0 then
if P.moving<P.gameEnv.das then
@@ -2321,7 +2339,7 @@ local function update_alive(P)
P.dropSpeed=P.dropSpeed*.99+v*.01
end
if GAME.modeEnv.royaleMode then
if P.gameEnv.layout=='royale'then
local v=P.swappingAtkMode
local tar=#P.field>15 and 4 or 8
if v~=tar then
@@ -2413,8 +2431,7 @@ local function update_alive(P)
--Drop pressed
if P.keyPressing[7]then
P.downing=P.downing+1
local d=P.downing-ENV.sddas
if d>1 then
if P.downing>=ENV.sddas then
if ENV.sdarr==0 then
P:act_insDown()
end
@@ -2423,7 +2440,7 @@ local function update_alive(P)
end
end
else
P.downing=0
P.downing=-1
end
local stopAtFalling
@@ -2457,7 +2474,7 @@ local function update_alive(P)
local dist--Drop distance
if D>1 then
D=D-1
if P.downing>ENV.sddas then
if P.keyPressing[7]and P.downing>=ENV.sddas then
D=D-ceil(ENV.drop/ENV.sdarr)
end
if D<=0 then
@@ -2468,7 +2485,7 @@ local function update_alive(P)
goto THROW_stop
end
elseif D==1 then--We don't know why dropDelay is 1, so checking ENV.drop>1 is neccessary
if ENV.drop>1 and P.downing>ENV.sddas and(P.downing-ENV.sddas)%ENV.sdarr==0 then
if ENV.drop>1 and P.downing>=ENV.sddas and(P.downing-ENV.sddas)%ENV.sdarr==0 then
dist=2
else
dist=1
@@ -2579,7 +2596,7 @@ local function update_dead(P)
--Final average speed
P.dropSpeed=P.dropSpeed*.96+S.piece/S.frame*144
if GAME.modeEnv.royaleMode then
if P.gameEnv.layout=='royale'then
P.swappingAtkMode=min(P.swappingAtkMode+2,30)
end
@@ -2697,7 +2714,7 @@ function Player:win(result)
end
self:_die()
self.result='win'
if GAME.modeEnv.royaleMode then
if self.gameEnv.layout=='royale'then
self.modeData.place=1
self:changeAtk()
end
@@ -2712,7 +2729,7 @@ function Player:win(result)
GAME.result=result or'gamewin'
SFX.play('win')
VOC.play('win')
if GAME.modeEnv.royaleMode then
if self.gameEnv.layout=='royale'then
BGM.play('8-bit happiness')
end
end
@@ -2743,7 +2760,7 @@ function Player:lose(force)
self:_die()
self.result='lose'
do local p=TABLE.find(PLY_ALIVE,self)if p then rem(PLY_ALIVE,p)end end
if GAME.modeEnv.royaleMode then
if self.gameEnv.layout=='royale'then
self:changeAtk()
self.modeData.place=#PLY_ALIVE+1
self.strength=0
@@ -2785,7 +2802,7 @@ function Player:lose(force)
GAME.result='gameover'
SFX.play('fail')
VOC.play('lose')
if GAME.modeEnv.royaleMode then
if self.gameEnv.layout=='royale'then
BGM.play('end')
end
gameOver()

View File

@@ -59,7 +59,7 @@ scene.widgetList={
WIDGET.newButton{name='staff', x=1140,y=380,w=220,h=80,font=35,code=goScene'staff'},
WIDGET.newButton{name='his', x=1140,y=480,w=220,h=80,font=35,code=goScene'history'},
WIDGET.newButton{name='legals', x=1140,y=580,w=220,h=80,font=35,code=goScene'legals'},
WIDGET.newButton{name='back', x=640, y=600,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=640, y=600,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -8,7 +8,7 @@ end
scene.widgetList={
WIDGET.newText{name='title',x=80,y=50,font=70,align='L'},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -315,7 +315,7 @@ scene.widgetList={
WIDGET.newSwitch{name='slide', x=240, y=420,lim=200,font=40,disp=function()return slide end, code=pressKey'e',hideF=ifGaming},
WIDGET.newSwitch{name='pathVis',x=240, y=510,lim=200,font=40,disp=function()return pathVis end,code=pressKey'r',hideF=function()return state==1 or not slide end},
WIDGET.newSwitch{name='revKB', x=240, y=600,lim=200,font=40,disp=function()return revKB end, code=pressKey't',hideF=ifGaming},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -493,7 +493,7 @@ scene.widgetList={
WIDGET.newKey{name='record2', x=1100,y=450,w=220,h=50,fText="", color='H',code=pressKey'2', hideF=function()return state==2 end},
WIDGET.newKey{name='replay1', x=1245,y=390,w=50,fText="!", color='G',code=pressKey'c1', hideF=function()return state==2 or #repeater.seq[1]==0 end},
WIDGET.newKey{name='replay2', x=1245,y=450,w=50,fText="!", color='G',code=pressKey'c2', hideF=function()return state==2 or #repeater.seq[2]==0 end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -119,7 +119,7 @@ scene.widgetList={
WIDGET.newSelector{name='level', x=640,y=640,w=200,list={'A_Z','Z_A','Tech1','Tech2','KeyTest1','KeyTest2','Hello','Roll1','Roll2','Roll3','ZZZ','ZXZX','ZMZM','Stair','Stair2','Stair3','BPW'},disp=function()return levelName end,code=function(i)levelName=i;targetString=levels[i]end,hideF=function()return state>0 end},
WIDGET.newButton{name='reset', x=160,y=100,w=180,h=100,color='lG',font=50,fText=CHAR.icon.retry_spin,code=pressKey'space'},
WIDGET.newButton{name='keyboard',x=160,y=210,w=180,h=100,code=function()love.keyboard.setTextInput(true,0,select(2,SCR.xOy:transformPoint(0,500)),1,1)end,hide=not MOBILE},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -232,7 +232,7 @@ end
scene.widgetList={
WIDGET.newButton{name='reset',x=1140,y=540,w=170,h=80,font=50,fText=CHAR.icon.retry_spin,color='lG',code=restart},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -231,7 +231,7 @@ scene.widgetList={
WIDGET.newKey{name='7',x=540,y=320,w=90,font=60,fText="7",code=pressKey'7'},
WIDGET.newKey{name='8',x=640,y=320,w=90,font=60,fText="8",code=pressKey'8'},
WIDGET.newKey{name='9',x=740,y=320,w=90,font=60,fText="9",code=pressKey'9'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=45,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -165,7 +165,7 @@ scene.widgetList={
WIDGET.newKey{name='/',x=445,y=600,w=90,sound=false,fText="/",color='lB',font=50,code=pressKey'/'},
WIDGET.newKey{name='<',x=545,y=300,w=90,sound=false,fText=CHAR.key.backspace,color='lR',font=50,code=pressKey'backspace'},
WIDGET.newKey{name='=',x=545,y=400,w=90,sound=false,fText="=",color='lY',font=50,code=pressKey'return'},
WIDGET.newKey{name='back',x=1135,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='back',x=1135,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -127,7 +127,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -187,7 +187,7 @@ function scene.update(dt)
speed=speed+.2
end
level=level+1
SFX.play('blip_1')
SFX.play('warn_1')
end
sunH=sunH+.01
elseif menu==1 then
@@ -318,7 +318,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newKey{name='back',x=1140,y=80,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='back',x=1140,y=80,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -236,7 +236,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newButton{name='back',x=1140,y=60,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=60,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -383,7 +383,7 @@ scene.widgetList={
WIDGET.newButton{name='reset',x=155,y=100,w=180,h=100,color='lG',font=50,fText=CHAR.icon.retry_spin,code=pressKey'r'},
modeSelector,bgmSelector,colorSelector,
arcadeSwitch,
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -399,7 +399,7 @@ end
scene.widgetList={
WIDGET.newButton{name='reset',x=80,y=60,w=110,h=60,color='lG',fText=CHAR.icon.retry_spin,code=pressKey'r',hideF=function()return state==0 end},
WIDGET.newSwitch{name='invis',x=100,y=140,lim=80,disp=function()return invis end,code=pressKey'q',hideF=function()return state==1 end},
WIDGET.newButton{name='back',x=1200,y=660,w=110,font=50,fText=CHAR.icon.back,code=pressKey'escape'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,font=45,sound='back',fText=CHAR.icon.back,code=pressKey'escape'},
}
return scene

View File

@@ -120,7 +120,7 @@ scene.widgetList={
WIDGET.newKey{name='7',x=540,y=320,w=90,font=60,fText="7",code=pressKey'7'},
WIDGET.newKey{name='8',x=640,y=320,w=90,font=60,fText="8",code=pressKey'8'},
WIDGET.newKey{name='9',x=740,y=320,w=90,font=60,fText="9",code=pressKey'9'},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1200,y=660,w=110,h=60,font=45,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -48,6 +48,6 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -165,7 +165,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newKey{name='back',x=1140,y=60,w=170,h=80,color='D',font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='back',x=1140,y=60,w=170,h=80,color='D',font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -177,7 +177,7 @@ end
scene.widgetList={
WIDGET.newKey{name='reset',x=640,y=45,w=150,h=50,font=35,fText=CHAR.icon.retry_spin,code=pressKey'r'},
WIDGET.newKey{name='back',x=640,y=675,w=150,h=50,font=40,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='back',x=640,y=675,w=150,h=50,font=40,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -131,7 +131,7 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newKey{name='back',x=640,y=675,w=150,h=50,font=40,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='back',x=640,y=675,w=150,h=50,font=40,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -175,7 +175,7 @@ scene.widgetList={
WIDGET.newSwitch{name='invis', x=240,y=330,lim=200,font=40,disp=function()return invis end, code=pressKey'q',hideF=function()return state==1 end},
WIDGET.newSwitch{name='disappear',x=240,y=420,lim=200,font=40,disp=function()return disappear end,code=pressKey'w',hideF=function()return state==1 end},
WIDGET.newSwitch{name='tapFX', x=240,y=510,lim=200,font=40,disp=function()return tapFX end, code=pressKey'e',hideF=function()return state==1 end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -43,6 +43,6 @@ end
scene.widgetList={
WIDGET.newButton{name="spin", x=1140,y=360,w=120,font=60,fText=CHAR.icon.retry_spin,code=pressKey'space'},
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -26,7 +26,7 @@ function scene.keyDown(key,isRep)
else
ins(keyTime,1,TIME())
keyTime[41]=nil
SFX.play('click',.3)
SFX.play('lock')
end
end
end
@@ -71,8 +71,8 @@ function scene.draw()
end
scene.widgetList={
WIDGET.newKey{name='tap',x=640,y=540,w=626,h=260,fText="TAP",color='Z',font=100,code=function(i)love.keypressed('b'..i)end},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newKey{name='tap',x=640,y=540,w=626,h=260,sound='touch',fText="TAP",color='Z',font=100,code=function(i)love.keypressed('b'..i)end},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -308,7 +308,7 @@ scene.widgetList={
WIDGET.newSwitch{name='next', x=240,y=235,lim=200,font=40,disp=function()return nexts end,code=pressKey'q',hideF=function()return state==1 end},
WIDGET.newSwitch{name='invis',x=240,y=305,lim=200,font=40,disp=function()return invis end,code=pressKey'w',hideF=function()return state==1 end},
WIDGET.newSwitch{name='fast', x=240,y=375,lim=200,font=30,disp=function()return fast end,code=pressKey'e',hideF=function()return state==1 end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -345,6 +345,6 @@ end
scene.widgetList={
WIDGET.newButton{name='reset',x=160,y=100,w=180,h=100,color='lG',font=50,fText=CHAR.icon.retry_spin,code=pressKey'r'},
WIDGET.newButton{name="back", x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -210,7 +210,7 @@ scene.widgetList={
WIDGET.newButton{name='paste', x=1070,y=380,w=310,h=70,color='lB',font=25,code=pressKey'cV'},
WIDGET.newButton{name='play_clear', x=1070,y=460,w=310,h=70,color='lY',font=35,code=pressKey'play1'},
WIDGET.newButton{name='play_puzzle', x=1070,y=540,w=310,h=70,color='lM',font=35,code=pressKey'play2',hideF=function()return #FIELD[1]==0 end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=pressKey'escape'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=pressKey'escape'},
--Rule set
WIDGET.newSelector{name='eventSet', x=1050,y=760,w=340,color='H',list=sList.eventSet,disp=CUSval('eventSet'),code=CUSsto('eventSet')},

View File

@@ -209,7 +209,7 @@ function scene.keyDown(key)
elseif key=='n'then
ins(FIELD,page+1,DATA.newBoard(FIELD[page]))
page=page+1
SFX.play('blip_1',.8)
SFX.play('warn_1',.8)
SYSFX.newShade(3,200,60,300,600,.5,1,.5)
elseif key=='m'then
rem(FIELD,page)
@@ -428,8 +428,8 @@ function scene.draw()
setFont(55)
gc.setColor(1,1,1)
for i=1,7 do
local skin=SETTING.skin[i]
mStr(text.block[i],500+skin%8*80,90+80*int(skin/8))
local skin=SETTING.skin[i]-1
mStr(text.block[i],580+(skin%8)*80,90+80*int(skin/8))
end
end
@@ -438,32 +438,32 @@ scene.widgetList={
WIDGET.newText{name='title', x=1020,y=5,font=70,align='R'},
WIDGET.newText{name='subTitle', x=1030,y=50,font=35,align='L',color='H'},
WIDGET.newButton{name='b1', x=580, y=130,w=76,fText="",color='R',code=_setPen(1)},--B1
WIDGET.newButton{name='b2', x=660, y=130,w=76,fText="",color='F',code=_setPen(2)},--B2
WIDGET.newButton{name='b3', x=740, y=130,w=76,fText="",color='O',code=_setPen(3)},--B3
WIDGET.newButton{name='b4', x=820, y=130,w=76,fText="",color='Y',code=_setPen(4)},--B4
WIDGET.newButton{name='b5', x=900, y=130,w=76,fText="",color='L',code=_setPen(5)},--B5
WIDGET.newButton{name='b6', x=980, y=130,w=76,fText="",color='J',code=_setPen(6)},--B6
WIDGET.newButton{name='b7', x=1060,y=130,w=76,fText="",color='G',code=_setPen(7)},--B7
WIDGET.newButton{name='b8', x=1140,y=130,w=76,fText="",color='A',code=_setPen(8)},--B8
WIDGET.newButton{name='b1', x=580, y=130,w=73,fText="",color='R',code=_setPen(1)},--B1
WIDGET.newButton{name='b2', x=660, y=130,w=73,fText="",color='F',code=_setPen(2)},--B2
WIDGET.newButton{name='b3', x=740, y=130,w=73,fText="",color='O',code=_setPen(3)},--B3
WIDGET.newButton{name='b4', x=820, y=130,w=73,fText="",color='Y',code=_setPen(4)},--B4
WIDGET.newButton{name='b5', x=900, y=130,w=73,fText="",color='L',code=_setPen(5)},--B5
WIDGET.newButton{name='b6', x=980, y=130,w=73,fText="",color='J',code=_setPen(6)},--B6
WIDGET.newButton{name='b7', x=1060,y=130,w=73,fText="",color='G',code=_setPen(7)},--B7
WIDGET.newButton{name='b8', x=1140,y=130,w=73,fText="",color='A',code=_setPen(8)},--B8
WIDGET.newButton{name='b9', x=580, y=210,w=76,fText="",color='C',code=_setPen(9)},--B9
WIDGET.newButton{name='b10', x=660, y=210,w=76,fText="",color='N',code=_setPen(10)},--B10
WIDGET.newButton{name='b11', x=740, y=210,w=76,fText="",color='S',code=_setPen(11)},--B11
WIDGET.newButton{name='b12', x=820, y=210,w=76,fText="",color='B',code=_setPen(12)},--B12
WIDGET.newButton{name='b13', x=900, y=210,w=76,fText="",color='V',code=_setPen(13)},--B13
WIDGET.newButton{name='b14', x=980, y=210,w=76,fText="",color='P',code=_setPen(14)},--B14
WIDGET.newButton{name='b15', x=1060,y=210,w=76,fText="",color='M',code=_setPen(15)},--B15
WIDGET.newButton{name='b16', x=1140,y=210,w=76,fText="",color='W',code=_setPen(16)},--B16
WIDGET.newButton{name='b9', x=580, y=210,w=73,fText="",color='C',code=_setPen(9)},--B9
WIDGET.newButton{name='b10', x=660, y=210,w=73,fText="",color='N',code=_setPen(10)},--B10
WIDGET.newButton{name='b11', x=740, y=210,w=73,fText="",color='S',code=_setPen(11)},--B11
WIDGET.newButton{name='b12', x=820, y=210,w=73,fText="",color='B',code=_setPen(12)},--B12
WIDGET.newButton{name='b13', x=900, y=210,w=73,fText="",color='V',code=_setPen(13)},--B13
WIDGET.newButton{name='b14', x=980, y=210,w=73,fText="",color='P',code=_setPen(14)},--B14
WIDGET.newButton{name='b15', x=1060,y=210,w=73,fText="",color='M',code=_setPen(15)},--B15
WIDGET.newButton{name='b16', x=1140,y=210,w=73,fText="",color='W',code=_setPen(16)},--B16
WIDGET.newButton{name='b17', x=580, y=290,w=76,font=40,fText=CHAR.icon.bone, color='dH',code=_setPen(17)},--BONE
WIDGET.newButton{name='b18', x=660, y=290,w=76,font=40,fText=CHAR.icon.invis, color='D', code=_setPen(18)},--HIDE
WIDGET.newButton{name='b19', x=740, y=290,w=76,font=40,fText=CHAR.icon.bomb, color='lY',code=_setPen(19)},--BOMB
WIDGET.newButton{name='b20', x=820, y=290,w=76,font=40,fText=CHAR.icon.garbage,color='H', code=_setPen(20)},--GB1
WIDGET.newButton{name='b21', x=900, y=290,w=76,font=40,fText=CHAR.icon.garbage,color='lH',code=_setPen(21)},--GB2
WIDGET.newButton{name='b22', x=980, y=290,w=76,font=40,fText=CHAR.icon.garbage,color='dV',code=_setPen(22)},--GB3
WIDGET.newButton{name='b23', x=1060,y=290,w=76,font=40,fText=CHAR.icon.garbage,color='dR',code=_setPen(23)},--GB4
WIDGET.newButton{name='b24', x=1140,y=290,w=76,font=40,fText=CHAR.icon.garbage,color='dG',code=_setPen(24)},--GB5
WIDGET.newButton{name='b17', x=580, y=290,w=73,font=40,fText=CHAR.icon.bone, color='dH',code=_setPen(17)},--BONE
WIDGET.newButton{name='b18', x=660, y=290,w=73,font=40,fText=CHAR.icon.invis, color='D', code=_setPen(18)},--HIDE
WIDGET.newButton{name='b19', x=740, y=290,w=73,font=40,fText=CHAR.icon.bomb, color='lY',code=_setPen(19)},--BOMB
WIDGET.newButton{name='b20', x=820, y=290,w=73,font=40,fText=CHAR.icon.garbage,color='H', code=_setPen(20)},--GB1
WIDGET.newButton{name='b21', x=900, y=290,w=73,font=40,fText=CHAR.icon.garbage,color='lH',code=_setPen(21)},--GB2
WIDGET.newButton{name='b22', x=980, y=290,w=73,font=40,fText=CHAR.icon.garbage,color='dV',code=_setPen(22)},--GB3
WIDGET.newButton{name='b23', x=1060,y=290,w=73,font=40,fText=CHAR.icon.garbage,color='dR',code=_setPen(23)},--GB4
WIDGET.newButton{name='b24', x=1140,y=290,w=73,font=40,fText=CHAR.icon.garbage,color='dG',code=_setPen(24)},--GB5
WIDGET.newButton{name='any', x=600, y=400,w=120,color='lH', font=40,code=_setPen(0)},
WIDGET.newButton{name='space', x=730, y=400,w=120,color='H', font=55,code=_setPen(-1),fText=CHAR.icon.cross_thick},
@@ -481,7 +481,7 @@ scene.widgetList={
WIDGET.newButton{name='prevPg', x=100, y=350,w=160,h=110,color='lG',font=20,code=pressKey'pageup',hideF=function()return page==1 end},
WIDGET.newButton{name='nextPg', x=100, y=470,w=160,h=110,color='lG',font=20,code=pressKey'pagedown',hideF=function()return page==#FIELD end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -224,7 +224,7 @@ scene.widgetList={
WIDGET.newButton{name='paste', x=1140,y=540,w=170,h=80,color='lB',font=50,code=pressKey'cV', fText=CHAR.icon.import},
WIDGET.newSwitch{name='mission',x=1150,y=340,lim=280,disp=CUSval('missionKill'),code=CUSrev('missionKill')},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -220,7 +220,7 @@ scene.widgetList={
WIDGET.newButton{name='copy', x=1140,y=460,w=170,h=80,color='lR',font=50,fText=CHAR.icon.export,code=pressKey'cC',hideF=function()return #BAG==0 end},
WIDGET.newButton{name='paste',x=1140,y=550,w=170,h=80,color='lB',font=50,fText=CHAR.icon.import,code=pressKey'cV'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -221,7 +221,7 @@ scene.widgetList={
WIDGET.newKey{name='down', x=1120,y=565,w=80,font=50,fText=CHAR.key.down, code=pressKey'down',hide=not MOBILE},
WIDGET.newKey{name='pageup', x=1210,y=475,w=80,font=50,fText=CHAR.icon.toUp, code=pressKey'pageup',hide=not MOBILE},
WIDGET.newKey{name='pagedown',x=1210,y=565,w=80,font=50,fText=CHAR.icon.toDown,code=pressKey'pagedown',hide=not MOBILE},
WIDGET.newButton{name='back', x=1165,y=60,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1165,y=60,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -293,7 +293,7 @@ local function _update_common(dt)
for p=1,#PLAYERS do PLAYERS[p]:update(dt)end
--Fresh royale target
if GAME.modeEnv.royaleMode and PLAYERS[1].frameRun%120==0 then
if PLAYERS[1].frameRun%120==0 and PLAYERS[1].gameEnv.layout=='royale'then
freshMostDangerous()
end
@@ -339,7 +339,7 @@ function scene.draw()
VK.draw()
--Attacking & Being attacked
if GAME.modeEnv.royaleMode then
if PLAYERS[1].gameEnv.layout=='royale'then
local P=PLAYERS[1]
gc_setLineWidth(5)
gc_setColor(.8,1,0,.2)

View File

@@ -24,7 +24,7 @@ end
scene.widgetList={
WIDGET.newTextBox{name='texts',x=30,y=45,w=1000,h=640,font=20,fix=true},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -4,13 +4,27 @@ local langList={
zh_trad="繁體中文",
en="English",
fr="Français",
es="Español\nCastellano",
es=" Español\n(Castellano)",
pt="Português",
zh_grass="机翻",
zh_yygq="就这?",
symbol="?????",
}
local languages={
"Language",
"语言",
"言語",
"Langue",
"Idioma",
"Línguas",
"Sprache",
"Lingua",
"Язык",
"Γλώσσα",
"언어",
}
local curLang=1
local scene={}
@@ -18,28 +32,45 @@ function scene.sceneBack()
saveSettings()
end
function scene.update(dt)
curLang=curLang+dt*1.626
if curLang>=#languages+1 then
curLang=1
end
end
function scene.draw()
setFont(80)
love.graphics.setColor(1,1,1,1-curLang%1*2)
GC.mStr(languages[curLang-curLang%1],640,20)
love.graphics.setColor(1,1,1,curLang%1*2)
GC.mStr(languages[curLang-curLang%1+1]or languages[1],640,20)
end
local function _setLang(lid)
SETTING.locale=lid
applyLanguage()
TEXT.clear()
TEXT.show(langList[lid],640,360,100,'appear',.626)
collectgarbage()
if FIRSTLAUNCH then SCN.back()end
end
scene.widgetList={
WIDGET.newButton{x=271,y=190,w=346,h=120,font=40, fText=langList.zh, color='O',code=function()_setLang('zh')end},
WIDGET.newButton{x=637,y=190,w=346,h=120,font=40, fText=langList.zh_trad, color='F',code=function()_setLang('zh_trad')end},
WIDGET.newButton{x=1003,y=190,w=346,h=120,font=40, fText=langList.zh_full, color='R',code=function()_setLang('zh_full')end},
WIDGET.newButton{x=271,y=210,w=346,h=100,font=40, fText=langList.en, color='R',code=function()_setLang('en')end},
WIDGET.newButton{x=271,y=329,w=346,h=100,font=40, fText=langList.fr, color='F',code=function()_setLang('fr')end},
WIDGET.newButton{x=271,y=508,w=346,h=220,font=40, fText=langList.es, color='O',code=function()_setLang('es')end},
WIDGET.newButton{x=225,y=331,w=255,h=120,font=40, fText=langList.en, color='L',code=function()_setLang('en')end},
WIDGET.newButton{x=500,y=331,w=255,h=120,font=40, fText=langList.fr, color='J',code=function()_setLang('fr')end},
WIDGET.newButton{x=775,y=331,w=255,h=120,font=35, fText=langList.es, color='G',code=function()_setLang('es')end},
WIDGET.newButton{x=1050,y=331,w=255,h=120,font=40, fText=langList.pt, color='dG',code=function()_setLang('pt')end},
WIDGET.newButton{x=637,y=210,w=346,h=100,font=40, fText=langList.pt, color='G',code=function()_setLang('pt')end},
WIDGET.newButton{x=637,y=329,w=346,h=100,font=40, fText=langList.symbol, color='J',code=function()_setLang('symbol')end},
WIDGET.newButton{x=637,y=449,w=346,h=100,font=40, fText=langList.zh_yygq, color='L',code=function()_setLang('zh_yygq')end},
WIDGET.newButton{x=637,y=568,w=346,h=100,font=40, fText=langList.zh_grass,color='Y',code=function()_setLang('zh_grass')end},
WIDGET.newButton{x=271,y=472,w=346,h=120,font=45, fText=langList.zh_grass,color='N',code=function()_setLang('zh_grass')end},
WIDGET.newButton{x=637,y=472,w=346,h=120,font=45, fText=langList.zh_yygq, color='S',code=function()_setLang('zh_yygq')end},
WIDGET.newButton{x=1003,y=472,w=346,h=120,font=45, fText=langList.symbol, color='B',code=function()_setLang('symbol')end},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{x=1003,y=210,w=346,h=100,font=40,fText=langList.zh, color='B',code=function()_setLang('zh')end},
WIDGET.newButton{x=1003,y=329,w=346,h=100,font=40,fText=langList.zh_full, color='S',code=function()_setLang('zh_full')end},
WIDGET.newButton{x=1003,y=449,w=346,h=100,font=40,fText=langList.zh_trad, color='N',code=function()_setLang('zh_trad')end},
WIDGET.newButton{name='back',x=1003,y=568,w=346,h=100,font=60,fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -53,12 +53,12 @@ pad={x=140,y=65,page=1,
{samp={tag='clear_7',func=function()playClearSFX(7)end}},
{samp={tag='clear_10',func=function()playClearSFX(10)end}},
},
{{sfx='prerotate'}, {sfx='rotate'}, {sfx='rotatekick'}, {}, {voc='single'}, {voc='double'}, {voc='triple'}, {voc='techrash'}},
{{sfx='finesseError'},{sfx='finesseError_long'},{sfx='drop_cancel'},{}, {sfx='spin_0'}, {sfx='spin_1'}, {sfx='spin_2'}, {sfx='spin_3'}},
{{sfx='ren_1'}, {sfx='ren_2'}, {sfx='ren_3'}, {sfx='ren_4'}, {}, {sfx='warning'},{sfx='reach'}, {sfx='pc'}},
{{sfx='ren_5'}, {sfx='ren_6'}, {sfx='ren_7'}, {sfx='ren_8'}, {}, {sfx='collect'},{sfx='emit'}, {sfx='blip_1'}},
{{sfx='ren_9'}, {sfx='ren_10'}, {sfx='ren_11'}, {sfx='ren_mega'},{voc='win'}, {voc='lose'}, {sfx='win'}, {sfx='fail'}},
{{sfx='spawn_1'}, {sfx='spawn_2'}, {sfx='spawn_3'}, {sfx='spawn_4'}, {sfx='spawn_5'},{sfx='spawn_6'},{sfx='spawn_7'},{}},
{{sfx='prerotate'}, {sfx='rotate'}, {sfx='rotatekick'}, {}, {voc='single'}, {voc='double'}, {voc='triple'}, {voc='techrash'}},
{{sfx='finesseError'},{sfx='finesseError_long'},{sfx='drop_cancel'},{}, {sfx='spin_0'}, {sfx='spin_1'}, {sfx='spin_2'}, {sfx='spin_3'}},
{{sfx='ren_1'}, {sfx='ren_2'}, {sfx='ren_3'}, {sfx='ren_4'}, {}, {sfx='warn_beep'},{sfx='reach'}, {sfx='pc'}},
{{sfx='ren_5'}, {sfx='ren_6'}, {sfx='ren_7'}, {sfx='ren_8'}, {}, {sfx='collect'}, {sfx='emit'}, {sfx='warn_1'}},
{{sfx='ren_9'}, {sfx='ren_10'}, {sfx='ren_11'}, {sfx='ren_mega'},{voc='win'}, {voc='lose'}, {sfx='win'}, {sfx='fail'}},
{{sfx='spawn_1'}, {sfx='spawn_2'}, {sfx='spawn_3'}, {sfx='spawn_4'}, {sfx='spawn_5'},{sfx='spawn_6'}, {sfx='spawn_7'},{}},
},
{
{{voc='mini'}, {voc='b2b'}, {voc='b3b'}, {voc='perfect_clear'},{voc='half_clear'},{}, {}, {}},
@@ -90,8 +90,8 @@ pad={x=140,y=65,page=1,
{{voc='mini'}, {voc='b2b'}, {voc='b3b'}, {voc='perfect_clear'}, {voc='half_clear'}, {sfx='finesseError'}, {sfx='finesseError_long'}, {sfx='drop_cancel'},},
{{voc='zspin'}, {voc='sspin'}, {voc='jspin'}, {voc='lspin'}, {voc='tspin'}, {voc='ospin'}, {voc='ispin'}, {}},
{{voc='single'}, {voc='double'}, {voc='triple'},{voc='techrash'}, {sfx='ren_mega', vol=0.25},{sfx='ren_mega', vol=0.5},{sfx='ren_mega', vol=0.75},{sfx='ren_mega'}},
{{sfx='ren_1'}, {sfx='ren_2'}, {sfx='ren_3'}, {sfx='ren_4'}, {sfx='blip_1'}, {sfx='warning'}, {sfx='reach'}, {sfx='pc'}},
{{sfx='ren_5'}, {sfx='ren_6'}, {sfx='ren_7'}, {sfx='ren_8'}, {sfx='blip_2'}, {sfx='collect'}, {sfx='emit'}, {}},
{{sfx='ren_1'}, {sfx='ren_2'}, {sfx='ren_3'}, {sfx='ren_4'}, {sfx='warn_1'}, {sfx='warn_beep'}, {sfx='reach'}, {sfx='pc'}},
{{sfx='ren_5'}, {sfx='ren_6'}, {sfx='ren_7'}, {sfx='ren_8'}, {sfx='warn_2'}, {sfx='collect'}, {sfx='emit'}, {}},
{{sfx='ren_9'}, {sfx='ren_10'}, {sfx='ren_11'},{sfx='ren_mega'}, {voc='win'}, {voc='lose'}, {sfx='win'}, {sfx='fail'}},
},
{
@@ -287,7 +287,7 @@ scene.widgetList={
WIDGET.newSlider{name='voc', x=1000,y=220,lim=130,w=250,disp=SETval('voc'),code=function(v)SETTING.voc=v VOC.setVol(SETTING.voc)end},
WIDGET.newSwitch{name='label',x=1200,y=290,lim=160,disp=function()return showLabel end,code=pressKey'space',},
WIDGET.newButton{name='music',x=1140,y=540,w=170,h=80,font=40,code=pressKey'tab'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -28,7 +28,7 @@ end
scene.widgetList={
WIDGET.newTextBox{name='texts',x=30,y=45,w=1000,h=640,font=15,fix=true},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -10,6 +10,7 @@ local function _login()
elseif #password==0 then
MES.new('error',text.noPassword)return
end
-- password=STRING.digezt(password)
NET.wsconn_user_pswd(email,password)
if savePW then
saveFile({email,password},'conf/account')
@@ -21,7 +22,7 @@ end
local scene={}
function scene.sceneInit()
local data=loadFile('conf/account')
local data=loadFile('conf/account','-canSkip')
if data then
savePW=true
emailBox:setText(data[1])
@@ -36,7 +37,7 @@ scene.widgetList={
passwordBox,
WIDGET.newSwitch{name='keepPW', x=900, y=420,disp=function()return savePW end,code=function()savePW=not savePW end},
WIDGET.newKey{name='login', x=1140,y=540,w=170,h=80,font=40,code=_login},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -30,7 +30,7 @@ end
scene.widgetList={
WIDGET.newTextBox{name='texts',x=30,y=45,w=1000,h=640,font=15,fix=true},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -158,7 +158,7 @@ scene.widgetList={
WIDGET.newText{name='title', x=80,y=50,font=70,align='L'},
WIDGET.newText{name='unranked',x=1200,y=60,color='Y',font=50,align='R'},
WIDGET.newButton{name='reset', x=1140,y=540,w=170,h=80,font=25,code=pressKey'tab'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -331,7 +331,7 @@ end
scene.widgetList={
WIDGET.newKey{name='mod', x=140,y=655,w=220,h=80,font=35,code=goScene'mod'},
WIDGET.newButton{name='start',x=1040,y=655,w=180,h=80,font=40,code=pressKey'return',hideF=function()return not mapCam.sel end},
WIDGET.newButton{name='back', x=1200,y=655,w=120,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1200,y=655,w=120,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -55,11 +55,10 @@ function scene.keyDown(key,isRep)
if key=='return'or key=='space'then
if BGM.nowPlay~=bgmList[S]then
BGM.play(bgmList[S])
if SETTING.bgm>0 then
SFX.play('click')
end
SFX.play('click')
else
BGM.stop()
SFX.play('click')
end
elseif key=='tab'then
SCN.swapTo('launchpad','none')
@@ -126,10 +125,10 @@ scene.widgetList={
},
WIDGET.newSlider{name='bgm', x=760,y=80,w=400,disp=SETval('bgm'),code=function(v)SETTING.bgm=v BGM.setVol(SETTING.bgm)end},
WIDGET.newButton{name='up', x=200,y=250,w=120,code=pressKey'up',hideF=function()return selected==1 end,font=60,fText=CHAR.key.up},
WIDGET.newButton{name='play', x=200,y=390,w=120,code=pressKey'space',font=65,fText=CHAR.icon.play_pause},
WIDGET.newButton{name='play', x=200,y=390,w=120,code=pressKey'space',sound=false,font=65,fText=CHAR.icon.play_pause},
WIDGET.newButton{name='down', x=200,y=530,w=120,code=pressKey'down',hideF=function()return selected==#bgmList end,font=60,fText=CHAR.key.down},
WIDGET.newButton{name='sound',x=1140,y=540,w=170,h=80,font=40,code=pressKey'tab'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -200,7 +200,7 @@ function scene.socketRead(cmd,d)
COLOR.dY,"#"..d.uid.." ",
COLOR.Y,text.joinRoom,
}
SFX.play('click')
SFX.play('warn_1')
elseif cmd=='leave'then
textBox:push{
COLOR.lR,d.username,

View File

@@ -17,7 +17,7 @@ end
scene.widgetList={
WIDGET.newKey{name='setting',x=1200,y=160,w=90,h=90,font=60,fText=CHAR.icon.settings,code=goScene'setting_game'},
WIDGET.newKey{name='match',x=640,y=500,w=760,h=140,font=60,code=function()MES.new('warn',text.notFinished)end},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back',x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -30,7 +30,7 @@ scene.widgetList={
end
end
end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -86,7 +86,7 @@ scene.widgetList={
--Capacity & Create & Back
WIDGET.newSelector{name='capacity', x=1070,y=330,w=310,color='lY',list={2,3,4,5,7,10,17,31,49,99},disp=ROOMval('capacity'),code=ROOMsto('capacity')},
WIDGET.newButton{name='create', x=1070,y=480,w=310,h=140,color='lN',font=40,code=_createRoom},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
--Special rules
WIDGET.newSwitch{name='ospin', x=850, y=850, lim=210,disp=ROOMval('ospin'), code=ROOMrev('ospin')},

View File

@@ -140,7 +140,7 @@ scene.widgetList={
WIDGET.newKey{name='refresh', x=250,y=630,w=140,h=120,code=_fetchRoom,hideF=function()return fetchTimer>7 end},
WIDGET.newKey{name='new', x=510,y=630,w=260,h=120,code=goScene'net_newRoom'},
WIDGET.newKey{name='join', x=780,y=630,w=140,h=120,code=pressKey'join',hideF=function()return roomList:getLen()==0 or NET.getlock('enterRoom')end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=pressKey'escape'},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=pressKey'escape'},
}
return scene

View File

@@ -36,8 +36,8 @@ function scene.sceneInit(org)
("%d(%d) %.2fLPM"):format(S.row,S.dig,S.row/S.time*60),
("%d(%d) %.2fAPM"):format(S.atk,S.digatk,S.atk/S.time*60),
("%d(%d-%d)"):format(S.pend,S.recv,S.recv-S.pend),
("%d/%d/%d/%d"):format(S.clears[1],S.clears[2],S.clears[3],S.clears[4]),
("(%d)/%d/%d/%d"):format(S.spins[1],S.spins[2],S.spins[3],S.spins[4]),
("[1] %-7d[2] %-7d[3] %-7d[4] %-7d"):format(S.clears[1],S.clears[2],S.clears[3],S.clears[4]),
(CHAR.icon.num0InSpin.." %-8d"..CHAR.icon.num1InSpin.." %-8d"..CHAR.icon.num2InSpin.." %-8d"..CHAR.icon.num3InSpin.." %-8d"):format(S.spins[1],S.spins[2],S.spins[3],S.spins[4]),
("%d/%d ; %d/%d"):format(S.b2b,S.b3b,S.pc,S.hpc),
("%d/%dx/%.2f%%"):format(S.extraPiece,S.maxFinesseCombo,S.finesseRate*20/S.piece),
}
@@ -222,7 +222,7 @@ function scene.draw()
end
--Big info frame
if PLAYERS[1].frameRun>180 then
if PLAYERS[1].frameRun>=180 then
gc.push('transform')
gc.translate(560,205)
gc.setLineWidth(2)
@@ -349,12 +349,12 @@ scene.widgetList={
WIDGET.newKey{name='setting', x=290,y=440,w=300,h=70,code=pressKey's',hideF=function()return GAME.fromRepMenu end},
WIDGET.newKey{name='quit', x=290,y=540,w=300,h=70,code=pressKey'q'},
WIDGET.newKey{name='tas', x=290,y=620,w=240,h=50,code=pressKey't',hideF=function()return not SETTING.allowTAS or GAME.tasUsed or GAME.result or GAME.replaying end},
WIDGET.newKey{name='page_prev',x=500,y=390,w=70,code=pressKey'tab',noFrame=true,
WIDGET.newKey{name='page_prev',x=500,y=390,w=70,code=pressKey'tab',
fText=GC.DO{70,70,{'setLW',2}, {'dRPol',33,35,32,3,6,3.142},{'dRPol',45,35,32,3,6,3.142}},
fShade=GC.DO{70,70,{'setCL',1,1,1,.4},{'draw',GC.DO{70,70,{'setCL',1,1,1,1},{'fRPol',33,35,32,3,6,3.142},{'fRPol',45,35,32,3,6,3.142}}}},
hideF=function()return PLAYERS[1].frameRun<=180 end,
},
WIDGET.newKey{name='page_next',x=1230,y=390,w=70,code=pressKey'Stab',noFrame=true,
WIDGET.newKey{name='page_next',x=1230,y=390,w=70,code=pressKey'Stab',
fText=GC.DO{70,70,{'setLW',2}, {'dRPol',37,35,32,3,6},{'dRPol',25,35,32,3,6}},
fShade=GC.DO{70,70,{'setCL',1,1,1,.4},{'draw',GC.DO{70,70,{'setCL',1,1,1,1},{'fRPol',37,35,32,3,6},{'fRPol',25,35,32,3,6}}}},
hideF=function()return PLAYERS[1].frameRun<=180 end,

View File

@@ -28,7 +28,7 @@ scene.widgetList={
WIDGET.newKey{name='register', x=640, y=640,w=300,h=80,font=40,code=_register,hideF=function()return NET.getlock('register')end},
WIDGET.newText{name='registering', x=640, y=605,font=50,hideF=function()return not NET.getlock('register')end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -130,6 +130,8 @@ function scene.keyDown(key)
SFX.play('finesseError',.7)
end
end
elseif key=='up'or key=='down'then
listBox:arrowKey(key)
else
return true
end
@@ -141,7 +143,7 @@ scene.widgetList={
WIDGET.newButton{name='import',x=350,y=640,w=140,h=80,color='lN',code=pressKey'cV',font=50,fText=CHAR.icon.import},
WIDGET.newButton{name='play', x=700,y=640,w=170,h=80,color='lY',code=pressKey'return',font=65,fText=CHAR.icon.play},
WIDGET.newButton{name='delete',x=850,y=640,w=80,h=80,color='lR',code=pressKey'delete',font=50,fText=CHAR.icon.trash},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -82,7 +82,7 @@ scene.widgetList={
WIDGET.newText{name='notLogin', x=55,y=550,color='dB',align='L',font=30,hideF=function()return WS.status('user')=='running'end},
WIDGET.newButton{name='upload', x=190,y=610,w=280,h=90,color='lB',font=25,code=NET.uploadSave,hideF=function()return WS.status('user')~='running'end},
WIDGET.newButton{name='download', x=490,y=610,w=280,h=90,color='lB',font=25,code=NET.downloadSave,hideF=function()return WS.status('user')~='running'end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

View File

@@ -105,7 +105,7 @@ scene.widgetList={
_.sddas,_.sdarr=0,2
_.ihs,_.irs,_.ims=false,false,false
end},
WIDGET.newButton{name='back', x=1140, y=640,w=170,h=80,font=60,fText=CHAR.icon.back,code=backScene},
WIDGET.newButton{name='back', x=1140, y=640,w=170,h=80,font=60,sound='back',fText=CHAR.icon.back,code=backScene},
}
return scene

Some files were not shown because too many files have changed in this diff Show More