设置添加超屏视野开关
This commit is contained in:
@@ -302,6 +302,7 @@ local langList={
|
||||
frame="绘制帧率",
|
||||
text="消行文本",
|
||||
warn="死亡预警",
|
||||
highCam="超屏视野",
|
||||
fullscreen="全屏",
|
||||
bg="背景",
|
||||
power="电量显示",
|
||||
@@ -797,6 +798,7 @@ local langList={
|
||||
frame="绘制帧率",
|
||||
text="消行文本",
|
||||
warn="死亡预警",
|
||||
highCam="超屏视野",
|
||||
fullscreen="全屏",
|
||||
bg="背景",
|
||||
power="电量显示",
|
||||
@@ -1282,6 +1284,7 @@ local langList={
|
||||
frame="Render Frame Rate",
|
||||
text="Action Text",
|
||||
warn="Death Alert",
|
||||
highCam="Superhigh view",
|
||||
fullscreen="Full Screen",
|
||||
bg="Background",
|
||||
power="Power Info",
|
||||
@@ -1765,6 +1768,7 @@ local langList={
|
||||
frame="|=|",
|
||||
text="ABC",
|
||||
warn="!↑↑↑!",
|
||||
highCam="↑__↑",
|
||||
fullscreen="|←→|",
|
||||
bg="__?__",
|
||||
power="+.",
|
||||
@@ -2262,6 +2266,7 @@ local langList={
|
||||
frame="绘制帧率",
|
||||
text="消行文本",
|
||||
warn="死亡预警",
|
||||
highCam="超屏视野",
|
||||
fullscreen="全屏",
|
||||
bg="背景",
|
||||
power="电量显示",
|
||||
|
||||
@@ -279,8 +279,9 @@ local Widgets={
|
||||
setting.frameMul=i<5 and 5*i+20 or 10*i
|
||||
end}),
|
||||
newSwitch({name="text", x=1050, y=180,font=35,disp=SETval("text"),code=SETrev("text")}),
|
||||
newSwitch({name="warn", x=1050, y=260,font=35,disp=SETval("warn"),code=SETrev("warn")}),
|
||||
newSwitch({name="fullscreen",x=1050,y=340,font=35,disp=SETval("fullscreen"),
|
||||
newSwitch({name="warn", x=1050, y=240,font=35,disp=SETval("warn"),code=SETrev("warn")}),
|
||||
newSwitch({name="highCam", x=1050, y=300,font=35,disp=SETval("highCam"),code=SETrev("highCam")}),
|
||||
newSwitch({name="fullscreen",x=1050,y=360,font=35,disp=SETval("fullscreen"),
|
||||
code=function()
|
||||
setting.fullscreen=not setting.fullscreen
|
||||
love.window.setFullscreen(setting.fullscreen)
|
||||
@@ -292,7 +293,7 @@ local Widgets={
|
||||
setting.bg=not setting.bg
|
||||
BG.set("space")
|
||||
end}),
|
||||
newSwitch({name="power", x=1050, y=500,font=35,disp=SETval("powerInfo"),
|
||||
newSwitch({name="power", x=1050, y=480,font=35,disp=SETval("powerInfo"),
|
||||
code=function()
|
||||
setting.powerInfo=not setting.powerInfo
|
||||
end}),
|
||||
|
||||
@@ -30,6 +30,7 @@ setting={
|
||||
|
||||
text=true,
|
||||
warn=true,
|
||||
highCam=false,
|
||||
fullscreen=false,
|
||||
bg=true,
|
||||
powerInfo=false,
|
||||
|
||||
@@ -26,6 +26,8 @@ local gameEnv0={
|
||||
clearFX=2,
|
||||
shakeFX=3,
|
||||
|
||||
highCam=false,
|
||||
|
||||
drop=60,lock=60,
|
||||
wait=0,fall=0,
|
||||
_20G=false,bone=false,
|
||||
@@ -184,6 +186,7 @@ local function updateLine(P,dt)
|
||||
P.fieldBeneath=max(y-P.gameEnv.pushSpeed,0)
|
||||
end
|
||||
|
||||
if P.gameEnv.highCam then
|
||||
local f=P.fieldUp
|
||||
if not P.alive then
|
||||
y=0
|
||||
@@ -194,6 +197,7 @@ local function updateLine(P,dt)
|
||||
P.fieldUp=f>y and max(f*.95+y*.05-2,y)or ceil(f*.97+y*.03+1,y)
|
||||
end
|
||||
end
|
||||
end
|
||||
local function updateFXs(P,dt)
|
||||
if P.stat.score>P.score1 then
|
||||
if P.stat.score-P.score1<10 then
|
||||
|
||||
Reference in New Issue
Block a user