bug修复,水印修改,20G上级调平
This commit is contained in:
@@ -455,21 +455,13 @@ function keyDown.draw(key)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function mouseDown.setting_sound(x,y,k)
|
function mouseDown.setting_sound(x,y,k)
|
||||||
if x>780 and x<980 and y>470 and sceneTemp.jump==0 then
|
local s=sceneTemp
|
||||||
sceneTemp.jump=10
|
if x>780 and x<980 and y>470 and s.jump==0 then
|
||||||
local t=Timer()-sceneTemp.last
|
s.jump=10
|
||||||
|
local t=Timer()-s.last
|
||||||
if t>1 then
|
if t>1 then
|
||||||
VOC.play((t<1.5 or t>15)and"doubt"or rnd()<.8 and"happy"or"egg")
|
VOC.play((t<1.5 or t>15)and"doubt"or rnd()<.8 and"happy"or"egg")
|
||||||
sceneTemp.last=Timer()
|
s.last=Timer()
|
||||||
if rnd()<.0626 then
|
|
||||||
for name,M in next,Modes do
|
|
||||||
if not modeRanks[name]then
|
|
||||||
modeRanks[name]=M.score and 0 or 6
|
|
||||||
end
|
|
||||||
end
|
|
||||||
FILE.saveUnlock()
|
|
||||||
TEXT.show("DEVModes:UNLOCKALL",640,360,50,"stretch",.6)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -734,8 +726,10 @@ function keyDown.staff(key,RESET)
|
|||||||
TEXT.show("What are you up to?",640,200,40,"appear",.5)
|
TEXT.show("What are you up to?",640,200,40,"appear",.5)
|
||||||
elseif sceneTemp.ct==10 then
|
elseif sceneTemp.ct==10 then
|
||||||
TEXT.show("Stop what you are doing.",640,200,40,"flicker",.5)
|
TEXT.show("Stop what you are doing.",640,200,40,"flicker",.5)
|
||||||
elseif sceneTemp.ct==20 then
|
elseif sceneTemp.ct==16 then
|
||||||
TEXT.show("RESET ALL DATA?",640,200,40,"appear",.3,.2)
|
TEXT.show("RESET ALL DATA?",640,200,40,"appear",.3,.2)
|
||||||
|
elseif sceneTemp.ct==20 then
|
||||||
|
TEXT.show("SURE?????",640,200,40,"beat",.3,.2)
|
||||||
elseif sceneTemp.ct==26 then
|
elseif sceneTemp.ct==26 then
|
||||||
local L=love.filesystem.getDirectoryItems("")
|
local L=love.filesystem.getDirectoryItems("")
|
||||||
for i=1,#L do
|
for i=1,#L do
|
||||||
@@ -762,6 +756,26 @@ function touchDown.staff(id,x,y)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function keyDown.stat(key)
|
||||||
|
if key=="u"and kb.isDown("lshift","rshift")then
|
||||||
|
touchDown.stat()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
function touchDown.stat(id,x,y)
|
||||||
|
local s=sceneTemp
|
||||||
|
s.count=s.count+1
|
||||||
|
if rnd()<.0626 and s.count>26 then
|
||||||
|
for name,M in next,Modes do
|
||||||
|
if not modeRanks[name]then
|
||||||
|
modeRanks[name]=M.score and 0 or 6
|
||||||
|
end
|
||||||
|
end
|
||||||
|
FILE.saveUnlock()
|
||||||
|
TEXT.show("DEV:\85\78\76\79\67\75\65\76\76",640,360,60,"stretch",.6)
|
||||||
|
SFX.play("clear_4")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function wheelMoved.history(x,y)
|
function wheelMoved.history(x,y)
|
||||||
wheelScroll(y)
|
wheelScroll(y)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ local langList={
|
|||||||
{
|
{
|
||||||
anykey="按任意键继续",
|
anykey="按任意键继续",
|
||||||
newVersion="检测到更新!存档格式可能更新,设置已重置",
|
newVersion="检测到更新!存档格式可能更新,设置已重置",
|
||||||
marking="游戏作者:MrZ_26\n任何视频/直播不得出现此水印\n任何视频内声明无效",
|
marking="游戏作者:MrZ_26\n任何视频/直播不得出现此水印\n任何转述声明无效",
|
||||||
lang="中文",
|
lang="中文",
|
||||||
atkModeName={"随机","徽章","击杀","反击"},
|
atkModeName={"随机","徽章","击杀","反击"},
|
||||||
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
||||||
@@ -443,7 +443,7 @@ local langList={
|
|||||||
{
|
{
|
||||||
anykey="按任意键继续",
|
anykey="按任意键继续",
|
||||||
newVersion="检测到更新!存档格式可能更新,设置已重置",
|
newVersion="检测到更新!存档格式可能更新,设置已重置",
|
||||||
marking="游戏作者:MrZ_26\n任何视频/直播不得出现此水印\n任何视频内声明无效",
|
marking="游戏作者:MrZ_26\n任何视频/直播不得出现此水印\n任何转述声明无效",
|
||||||
lang="全中文",
|
lang="全中文",
|
||||||
atkModeName={"随机","徽章","击杀","反击"},
|
atkModeName={"随机","徽章","击杀","反击"},
|
||||||
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
royale_remain=function(n)return"剩余 "..n.." 名玩家"end,
|
||||||
@@ -881,7 +881,7 @@ local langList={
|
|||||||
{
|
{
|
||||||
anykey="Press any button",
|
anykey="Press any button",
|
||||||
newVersion="Updating detected! Save format may have been updated, settings reseted",
|
newVersion="Updating detected! Save format may have been updated, settings reseted",
|
||||||
marking="Author:MrZ_26\nIllegal recording if see this\nAny explanation invalid",
|
marking="Game Author:MrZ_26\nIllegal recording if see this\nAny explanation invalid",
|
||||||
lang="English",
|
lang="English",
|
||||||
atkModeName={"Random","Badges","K.O.s","Attackers"},
|
atkModeName={"Random","Badges","K.O.s","Attackers"},
|
||||||
royale_remain=function(n)return n.." Players Remaining"end,
|
royale_remain=function(n)return n.." Players Remaining"end,
|
||||||
@@ -1308,7 +1308,7 @@ local langList={
|
|||||||
{
|
{
|
||||||
anykey="↓□↓",
|
anykey="↓□↓",
|
||||||
newVersion="&!!! ___/_?_ R",
|
newVersion="&!!! ___/_?_ R",
|
||||||
marking="Author:MrZ_26\nIllegal recording if see this\nAny explanation invalid",
|
marking="Game Author:MrZ_26\nIllegal recording if see this\nAny explanation invalid",
|
||||||
lang="?????",
|
lang="?????",
|
||||||
atkModeName={"?","( )","!","←→"},
|
atkModeName={"?","( )","!","←→"},
|
||||||
royale_remain=function(n)return n.."~"end,
|
royale_remain=function(n)return n.."~"end,
|
||||||
|
|||||||
@@ -404,12 +404,9 @@ end
|
|||||||
function Pnt.play()
|
function Pnt.play()
|
||||||
if marking then
|
if marking then
|
||||||
setFont(26)
|
setFont(26)
|
||||||
local x=Timer()*46%1680-200
|
local t=Timer()
|
||||||
gc.setColor(1,1,1,abs(.26*(1-x/640)))
|
gc.setColor(1,1,1,.2+.1*(sin(3*t)+sin(2.6*t)))
|
||||||
mStr(text.marking,x,260+62*sin(Timer()))
|
mStr(text.marking,190,60+26*sin(t))
|
||||||
-- gc.setColor(1,1,1,.0626)
|
|
||||||
-- mStr(text.marking,260,62+26*sin(Timer()))
|
|
||||||
-- mStr(text.marking,1100,460+62*sin(Timer()*1.2))
|
|
||||||
end
|
end
|
||||||
for p=1,#players do
|
for p=1,#players do
|
||||||
players[p]:draw()
|
players[p]:draw()
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ end
|
|||||||
function sceneInit.stat()
|
function sceneInit.stat()
|
||||||
local S=stat
|
local S=stat
|
||||||
sceneTemp={
|
sceneTemp={
|
||||||
|
count=0,
|
||||||
chart={
|
chart={
|
||||||
A1=S.spin,A2=S.clear,
|
A1=S.spin,A2=S.clear,
|
||||||
X1=S.spin_S,X2=S.clear_S,
|
X1=S.spin_S,X2=S.clear_S,
|
||||||
@@ -241,7 +242,7 @@ function sceneInit.stat()
|
|||||||
format("%d/%.3f%%",S.extraPiece,100*max(1-S.extraRate/S.piece,0)),
|
format("%d/%.3f%%",S.extraPiece,100*max(1-S.extraRate/S.piece,0)),
|
||||||
S.b2b.." "..S.b3b,
|
S.b2b.." "..S.b3b,
|
||||||
S.pc.." "..S.hpc,
|
S.pc.." "..S.hpc,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
for i=1,11 do
|
for i=1,11 do
|
||||||
sceneTemp.item[i]=text.stat[i].."\t"..sceneTemp.item[i]
|
sceneTemp.item[i]=text.stat[i].."\t"..sceneTemp.item[i]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ function Tmr.load()
|
|||||||
elseif S.phase==5 then
|
elseif S.phase==5 then
|
||||||
local m=Modes[S.cur]--mode template
|
local m=Modes[S.cur]--mode template
|
||||||
local M=require("modes/"..m.name)--mode file
|
local M=require("modes/"..m.name)--mode file
|
||||||
Modes[m.name]=M
|
Modes[m.name],Modes[S.cur]=M
|
||||||
for k,v in next,m do
|
for k,v in next,m do
|
||||||
M[k]=v
|
M[k]=v
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -63,16 +63,16 @@ return{
|
|||||||
getRank=function(P)
|
getRank=function(P)
|
||||||
local S=P.modeData.point
|
local S=P.modeData.point
|
||||||
if S==500 then
|
if S==500 then
|
||||||
local L=P.stat.clear_S[4]
|
local T=P.modeData.time
|
||||||
return
|
return
|
||||||
L>=30 and 5 or
|
T<=118 and 5 or
|
||||||
L>=25 and 4 or
|
T<=148 and 4 or
|
||||||
3
|
T<=183 and 3 or
|
||||||
|
2
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
S>=426 and 3 or
|
S>=300 and 2 or
|
||||||
S>=326 and 2 or
|
S>=100 and 1 or
|
||||||
S>=226 and 1 or
|
|
||||||
S>=50 and 0
|
S>=50 and 0
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
|||||||
@@ -30,10 +30,10 @@ return{
|
|||||||
local T=P.stat.time
|
local T=P.stat.time
|
||||||
return
|
return
|
||||||
T<=626 and 5 or
|
T<=626 and 5 or
|
||||||
T<=1000 and 4 or
|
T<=888 and 4 or
|
||||||
T<=1400 and 3 or
|
T<=1140 and 3 or
|
||||||
T<=2060 and 2 or
|
T<=1406 and 2 or
|
||||||
T<=2600 and 1 or
|
T<=1626 and 1 or
|
||||||
0
|
0
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
@@ -1935,6 +1935,9 @@ function player.win(P,result)
|
|||||||
if P.human then
|
if P.human then
|
||||||
gameOver()
|
gameOver()
|
||||||
TASK.new(TICK.autoPause,{0})
|
TASK.new(TICK.autoPause,{0})
|
||||||
|
if marking then
|
||||||
|
P:showTextF(text.marking,0,-226,22,"appear",.4,.0626)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
P:newTask(TICK.finish)
|
P:newTask(TICK.finish)
|
||||||
end
|
end
|
||||||
@@ -2015,6 +2018,9 @@ function player.lose(P)
|
|||||||
gameOver()
|
gameOver()
|
||||||
P:newTask(#players>1 and TICK.lose or TICK.finish)
|
P:newTask(#players>1 and TICK.lose or TICK.finish)
|
||||||
TASK.new(TICK.autoPause,{0})
|
TASK.new(TICK.autoPause,{0})
|
||||||
|
if marking then
|
||||||
|
P:showTextF(text.marking,0,-226,22,"appear",.4,.0626)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
P:newTask(TICK.lose)
|
P:newTask(TICK.lose)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -56,22 +56,19 @@ Future outlook:
|
|||||||
2048 (with next (with deadly mode))
|
2048 (with next (with deadly mode))
|
||||||
mine sweeper
|
mine sweeper
|
||||||
tank battle
|
tank battle
|
||||||
time-based-rank for master advanced mode(1:58/2:28/3:03/300P/100P)
|
|
||||||
简易防沉迷系统
|
简易防沉迷系统
|
||||||
full-key control
|
|
||||||
dragging control
|
|
||||||
"next" SFX
|
"next" SFX
|
||||||
new layout of player (rectangle so stupid)
|
full-key control
|
||||||
|
touch-drag control
|
||||||
|
cool backgrounds
|
||||||
|
'Encrypt'(compile to byte code)
|
||||||
better drop FX
|
better drop FX
|
||||||
60+ fps supporting
|
60+ fps supporting
|
||||||
in-game document
|
in-game document
|
||||||
lang setting page
|
|
||||||
game recording
|
game recording
|
||||||
new widgets (joystick etc.)
|
new widgets (joystick etc.)
|
||||||
splashing block
|
splashing block
|
||||||
cool backgrounds
|
|
||||||
more graphic FXs & 3D features & animations
|
more graphic FXs & 3D features & animations
|
||||||
Encrypt source code (compile to byte code)
|
|
||||||
network game
|
network game
|
||||||
new AI: task-Z
|
new AI: task-Z
|
||||||
|
|
||||||
@@ -82,12 +79,15 @@ Future outlook:
|
|||||||
many new tips
|
many new tips
|
||||||
more powerful watermark
|
more powerful watermark
|
||||||
die animation in non-royale mode
|
die animation in non-royale mode
|
||||||
|
better in-game layout
|
||||||
changed:
|
changed:
|
||||||
mode name shown at the top of screen
|
mode name shown at the top of screen
|
||||||
faster & harder attacker-ultimate
|
faster & harder attacker-ultimate
|
||||||
|
time-based-rank for master-advanced
|
||||||
little easier to get S in PC challenge (easy mode)
|
little easier to get S in PC challenge (easy mode)
|
||||||
easier to get S in infinite mode, c4w, PC
|
easier to get S in infinite mode, c4w, PC
|
||||||
harder to unlock sprint 400/1000
|
harder to unlock sprint-400/1000
|
||||||
|
harder to get high rank of sprint-1000
|
||||||
code:
|
code:
|
||||||
file sorted
|
file sorted
|
||||||
task system rewrited, now perfect (maybe)
|
task system rewrited, now perfect (maybe)
|
||||||
|
|||||||
Reference in New Issue
Block a user