修改水印相关

This commit is contained in:
MrZ626
2021-02-22 21:51:20 +08:00
parent 898a6cf567
commit c6f408ff82
12 changed files with 35 additions and 28 deletions

View File

@@ -76,7 +76,8 @@ function scene.keyDown(k)
local v=tonumber(val)
if v==600+26 then pass=true
elseif v==190000+6022 then
pass,MARKING=true
pass=true
_G["\100\114\97\119\70\87\77"]=NULL
LOG.print("\68\69\86\58\87\97\116\101\114\109\97\114\107\32\82\101\109\111\118\101\100","message")
SFX.play("clear")
elseif v==7294e4+3816 then

View File

@@ -4,7 +4,6 @@ local tc=love.touch
local playerData
local ins,rem=table.insert,table.remove
local sin=math.sin
local SCR=SCR
local VK=virtualkey
@@ -302,12 +301,7 @@ function scene.update(dt)
end
function scene.draw()
local t=TIME()
if MARKING then
setFont(25)
gc.setColor(1,1,1,.2+.1*(sin(3*t)+sin(2.6*t)))
mStr(text.marking,190,60+26*sin(t))
end
drawFWM()
--Players
for p=hideChatBox and 1 or 2,#PLAYERS do

View File

@@ -178,12 +178,7 @@ local function drawAtkPointer(x,y)
gc.circle("line",x,y,30*(1+a),6)
end
function scene.draw()
local t=TIME()
if MARKING then
setFont(25)
gc_setColor(1,1,1,.2+.1*(sin(3*t)+sin(2.6*t)))
mStr(text.marking,190,60+26*sin(t))
end
drawFWM()
--Players
for p=1,#PLAYERS do
@@ -221,7 +216,7 @@ function scene.draw()
--Replaying
if GAME.replaying then
gc_setColor(1,1,t%1>.5 and 1 or 0)
gc_setColor(1,1,TIME()%1>.5 and 1 or 0)
mText(drawableText.replaying,770,17)
end