调整加载和主菜单界面的logo颜色
This commit is contained in:
@@ -179,7 +179,7 @@ local titleTransform={
|
|||||||
function(t,i)local d=max(50-t,0)gc.translate(sin(TIME()*3+626*i)*d,-cos(TIME()*3+626*i)*d)end,
|
function(t,i)local d=max(50-t,0)gc.translate(sin(TIME()*3+626*i)*d,-cos(TIME()*3+626*i)*d)end,
|
||||||
function(t)gc.setColor(1,1,1,min(t*.02,1)+rnd()*.2)end,
|
function(t)gc.setColor(1,1,1,min(t*.02,1)+rnd()*.2)end,
|
||||||
}
|
}
|
||||||
local titleColor={COLOR.lP,COLOR.lC,COLOR.lB,COLOR.lO,COLOR.lF,COLOR.lM,COLOR.lG,COLOR.lY}
|
local titleColor={COLOR.P,COLOR.F,COLOR.V,COLOR.A,COLOR.M,COLOR.N,COLOR.W,COLOR.Y}
|
||||||
function scene.draw()
|
function scene.draw()
|
||||||
gc.clear(.08,.08,.084)
|
gc.clear(.08,.08,.084)
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@ function scene.draw()
|
|||||||
if dt<20 then
|
if dt<20 then
|
||||||
gc.translate(0,math.abs(10-dt)-10)
|
gc.translate(0,math.abs(10-dt)-10)
|
||||||
end
|
end
|
||||||
gc.setColor(titleColor[i][1],titleColor[i][2],titleColor[i][3],min(t*.025,1)*.16)
|
gc.setColor(titleColor[i][1],titleColor[i][2],titleColor[i][3],min(t*.025,1)*.2)
|
||||||
gc.polygon('fill',L[i])
|
gc.polygon('fill',L[i])
|
||||||
gc.setColor(1,1,1,min(t*.025,1))
|
gc.setColor(1,1,1,min(t*.025,1))
|
||||||
gc.polygon('line',L[i])
|
gc.polygon('line',L[i])
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ end
|
|||||||
|
|
||||||
TEXTURE.title_color=NSC(1160,236)--Title image (colored)
|
TEXTURE.title_color=NSC(1160,236)--Title image (colored)
|
||||||
do
|
do
|
||||||
local titleColor={COLOR.lP,COLOR.lC,COLOR.lB,COLOR.lO,COLOR.lF,COLOR.lM,COLOR.lG,COLOR.lY}
|
local titleColor={COLOR.P,COLOR.F,COLOR.V,COLOR.A,COLOR.M,COLOR.N,COLOR.W,COLOR.Y}
|
||||||
|
|
||||||
for i=1,8 do
|
for i=1,8 do
|
||||||
local triangles=love.math.triangulate(title[i])
|
local triangles=love.math.triangulate(title[i])
|
||||||
@@ -108,7 +108,7 @@ do
|
|||||||
gc.polygon('fill',triangles[j])
|
gc.polygon('fill',triangles[j])
|
||||||
end
|
end
|
||||||
|
|
||||||
gc.setColor(.2+.8*titleColor[i][1],.2+.8*titleColor[i][2],.2+.8*titleColor[i][3],.5)
|
gc.setColor(.2+.8*titleColor[i][1],.2+.8*titleColor[i][2],.2+.8*titleColor[i][3],.3)
|
||||||
gc.translate(-4,-4)
|
gc.translate(-4,-4)
|
||||||
for j=1,#triangles do
|
for j=1,#triangles do
|
||||||
gc.polygon('fill',triangles[j])
|
gc.polygon('fill',triangles[j])
|
||||||
|
|||||||
Reference in New Issue
Block a user