调整游戏大logo为正体字
This commit is contained in:
@@ -61,7 +61,7 @@ function back.draw()
|
|||||||
|
|
||||||
gc_setLineWidth(6)
|
gc_setLineWidth(6)
|
||||||
gc_setColor(.8,.9,1,.3)
|
gc_setColor(.8,.9,1,.3)
|
||||||
for i=1,8 do gc_polygon('line',SVG_TITLE_FAN[i])end
|
for i=1,#SVG_TITLE_FAN do gc_polygon('line',SVG_TITLE_FAN[i])end
|
||||||
|
|
||||||
gc_setLineWidth(2)
|
gc_setLineWidth(2)
|
||||||
gc_setColor(1,.5,.7,.3)
|
gc_setColor(1,.5,.7,.3)
|
||||||
|
|||||||
@@ -20,140 +20,129 @@ RANK_COLORS={
|
|||||||
{1,.5,.4},
|
{1,.5,.4},
|
||||||
{.95,.5,.95},
|
{.95,.5,.95},
|
||||||
}
|
}
|
||||||
do--SVG_TITLE
|
do--SVG_TITLE_FILL, SVG_TITLE_LINE
|
||||||
SVG_TITLE={
|
SVG_TITLE_FILL={
|
||||||
{
|
{
|
||||||
53, 60,
|
0,0,
|
||||||
1035, 0,
|
0,34,
|
||||||
964, 218,
|
63,34,
|
||||||
660, 218,
|
63,227,
|
||||||
391, 1300,
|
97,227,
|
||||||
231, 1154,
|
97,34,
|
||||||
415, 218,
|
160,34,
|
||||||
0, 218,
|
160,0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
716, 290,
|
126,60,
|
||||||
1429, 290,
|
244,60,
|
||||||
1312, 462,
|
244,94,
|
||||||
875, 489,
|
160,94,
|
||||||
821, 695,
|
160,127,
|
||||||
1148, 712,
|
230,127,
|
||||||
1017, 902,
|
230,161,
|
||||||
761, 924,
|
160,161,
|
||||||
707, 1127,
|
160,194,
|
||||||
1106, 1101,
|
244,194,
|
||||||
1198, 1300,
|
244,227,
|
||||||
465, 1300,
|
126,227,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
1516, 287,
|
262,82,
|
||||||
2102, 290,
|
283,60,
|
||||||
2036, 464,
|
385,60,
|
||||||
1598, 465,
|
385,94,
|
||||||
1322, 905,
|
296,94,
|
||||||
1395, 1102,
|
296,194,
|
||||||
1819, 1064,
|
385,194,
|
||||||
1743, 1280,
|
385,227,
|
||||||
1286, 1310,
|
283,227,
|
||||||
1106, 902,
|
262,206,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
2179, 290,
|
404,60,
|
||||||
2411, 290,
|
437,60,
|
||||||
2272, 688,
|
437,127,
|
||||||
2674, 666,
|
505,127,
|
||||||
2801, 290,
|
505,60,
|
||||||
3041, 290,
|
538,60,
|
||||||
2693, 1280,
|
538,227,
|
||||||
2464, 1280,
|
505,227,
|
||||||
2601, 879,
|
505,161,
|
||||||
2199, 897,
|
437,161,
|
||||||
2056, 1280,
|
437,227,
|
||||||
1828, 1280,
|
404,227,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
3123, 290,
|
558,60,
|
||||||
3480, 290,
|
604,60,
|
||||||
3496, 480,
|
640,153,
|
||||||
3664, 290,
|
676,60,
|
||||||
4017, 294,
|
722,60,
|
||||||
3682, 1280,
|
722,227,
|
||||||
3453, 1280,
|
688,227,
|
||||||
3697, 578,
|
688,108,
|
||||||
3458, 843,
|
655,194,
|
||||||
3304, 842,
|
625,194,
|
||||||
3251, 561,
|
591,108,
|
||||||
3001, 1280,
|
591,227,
|
||||||
2779, 1280,
|
558,227,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
4088, 290,
|
743,60,
|
||||||
4677, 290,
|
777,60,
|
||||||
4599, 501,
|
777,227,
|
||||||
4426, 502,
|
743,227,
|
||||||
4219, 1069,
|
|
||||||
4388, 1070,
|
|
||||||
4317, 1280,
|
|
||||||
3753, 1280,
|
|
||||||
3822, 1068,
|
|
||||||
3978, 1068,
|
|
||||||
4194, 504,
|
|
||||||
4016, 504,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
4747, 290,
|
798,60,
|
||||||
4978, 295,
|
831,60,
|
||||||
4921, 464,
|
899,173,
|
||||||
5186, 850,
|
899,60,
|
||||||
5366, 290,
|
933,60,
|
||||||
5599, 295,
|
933,227,
|
||||||
5288, 1280,
|
899,227,
|
||||||
5051, 1280,
|
831,115,
|
||||||
5106, 1102,
|
831,227,
|
||||||
4836, 709,
|
798,227,
|
||||||
4641, 1280,
|
|
||||||
4406, 1280,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
5814, 290,
|
950,82,
|
||||||
6370, 295,
|
971,60,
|
||||||
6471, 415,
|
1064,60,
|
||||||
6238, 1156,
|
1085,82,
|
||||||
6058, 1280,
|
1085,206,
|
||||||
5507, 1280,
|
1064,227,
|
||||||
5404, 1154,
|
971,227,
|
||||||
5635, 416,
|
950,206,
|
||||||
-- 5814, 290,
|
950,82,
|
||||||
-- 5878, 463,
|
|
||||||
5770, 542,
|
984,94,
|
||||||
5617, 1030,
|
984,194,
|
||||||
5676, 1105,
|
1051,194,
|
||||||
5995, 1106,
|
1051,94,
|
||||||
6100, 1029,
|
984,94,
|
||||||
6255, 541,
|
|
||||||
6199, 465,
|
|
||||||
5878, 463,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
for _,C in next,SVG_TITLE do
|
for _,C in next,SVG_TITLE_FILL do
|
||||||
for i=1,#C do
|
for i=1,#C do
|
||||||
C[i]=C[i]*.1626
|
C[i]=C[i]*.94
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
SVG_TITLE_LINE=TABLE.shift(SVG_TITLE_FILL)
|
||||||
|
SVG_TITLE_LINE[8],SVG_TITLE_LINE[9]={},{}
|
||||||
|
for j=1,16 do SVG_TITLE_LINE[8][j]=SVG_TITLE_FILL[8][j]end
|
||||||
|
for j=19,#SVG_TITLE_FILL[8]-2 do SVG_TITLE_LINE[9][j-18]=SVG_TITLE_FILL[8][j]end
|
||||||
end
|
end
|
||||||
do--SVG_TITLE_FAN
|
do--SVG_TITLE_FAN
|
||||||
SVG_TITLE_FAN={}
|
SVG_TITLE_FAN={}
|
||||||
local sin,cos=math.sin,math.cos
|
local sin,cos=math.sin,math.cos
|
||||||
for i=1,8 do
|
for i=1,9 do
|
||||||
local L={}
|
local L=TABLE.copy(SVG_TITLE_LINE[i])
|
||||||
SVG_TITLE_FAN[i]=L
|
SVG_TITLE_FAN[i]=L
|
||||||
for j=1,#SVG_TITLE[i]do
|
|
||||||
L[j]=SVG_TITLE[i][j]
|
|
||||||
end
|
|
||||||
for j=1,#L,2 do
|
for j=1,#L,2 do
|
||||||
local x,y=L[j],L[j+1]--0<x<3041, 290<y<1280
|
local x,y=L[j],L[j+1]--0<x<988, 290<y<1280
|
||||||
x,y=-(x+240+y*.3)*.002,(y-580)*.9
|
x,y=-(x+280)*.002,(y-580)*.9--X=ang, Y=dist
|
||||||
x,y=y*cos(x),-y*sin(x)--Rec-Pol-Rec
|
x,y=y*cos(x),-y*sin(x)--Rec-Pol-Rec
|
||||||
L[j],L[j+1]=x,y+300
|
L[j],L[j+1]=x,y+300
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -11,6 +11,14 @@ local t1,t2,animeType
|
|||||||
local studioLogo--Studio logo text object
|
local studioLogo--Studio logo text object
|
||||||
local logoColor1,logoColor2
|
local logoColor1,logoColor2
|
||||||
|
|
||||||
|
local titleTransform={
|
||||||
|
function(t)gc.translate(0,max(50-t,0)^2/25)end,
|
||||||
|
function(t)gc.translate(0,-max(50-t,0)^2/25)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,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,
|
||||||
|
}
|
||||||
|
|
||||||
local loadingThread=coroutine.wrap(function()
|
local loadingThread=coroutine.wrap(function()
|
||||||
DAILYLAUNCH=freshDate'q'
|
DAILYLAUNCH=freshDate'q'
|
||||||
if DAILYLAUNCH then
|
if DAILYLAUNCH then
|
||||||
@@ -113,7 +121,7 @@ function scene.sceneInit()
|
|||||||
progress=0
|
progress=0
|
||||||
maxProgress=10
|
maxProgress=10
|
||||||
t1,t2=0,0--Timer
|
t1,t2=0,0--Timer
|
||||||
animeType={}for i=1,8 do animeType[i]=rnd(5)end--Random animation type
|
animeType={}for i=1,#SVG_TITLE_FILL do animeType[i]=rnd(#titleTransform)end--Random animation type
|
||||||
end
|
end
|
||||||
function scene.sceneBack()
|
function scene.sceneBack()
|
||||||
love.event.quit()
|
love.event.quit()
|
||||||
@@ -147,13 +155,6 @@ function scene.update(dt)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local titleTransform={
|
|
||||||
function(t)gc.translate(0,max(50-t,0)^2/25)end,
|
|
||||||
function(t)gc.translate(0,-max(50-t,0)^2/25)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,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,
|
|
||||||
}
|
|
||||||
local titleColor={COLOR.P,COLOR.F,COLOR.V,COLOR.A,COLOR.M,COLOR.N,COLOR.W,COLOR.Y}
|
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)
|
||||||
@@ -166,7 +167,8 @@ function scene.draw()
|
|||||||
end
|
end
|
||||||
gc.push('transform')
|
gc.push('transform')
|
||||||
gc.translate(126,100)
|
gc.translate(126,100)
|
||||||
for i=1,8 do
|
for i=1,#SVG_TITLE_FILL do
|
||||||
|
local triangles=love.math.triangulate(SVG_TITLE_FILL[i])
|
||||||
local t=t1-i*15
|
local t=t1-i*15
|
||||||
if t>0 then
|
if t>0 then
|
||||||
gc.push('transform')
|
gc.push('transform')
|
||||||
@@ -176,9 +178,12 @@ function scene.draw()
|
|||||||
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)*.2)
|
gc.setColor(titleColor[i][1],titleColor[i][2],titleColor[i][3],min(t*.025,1)*.2)
|
||||||
gc.polygon('fill',SVG_TITLE[i])
|
for j=1,#triangles do
|
||||||
|
gc.polygon('fill',triangles[j])
|
||||||
|
end
|
||||||
gc.setColor(1,1,1,min(t*.025,1))
|
gc.setColor(1,1,1,min(t*.025,1))
|
||||||
gc.polygon('line',SVG_TITLE[i])
|
gc.polygon('line',SVG_TITLE_LINE[i])
|
||||||
|
if i==8 then gc.polygon('line',SVG_TITLE_LINE[9])end
|
||||||
gc.pop()
|
gc.pop()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -69,16 +69,16 @@ end
|
|||||||
gc.setDefaultFilter('linear','linear')
|
gc.setDefaultFilter('linear','linear')
|
||||||
|
|
||||||
|
|
||||||
TEXTURE.title=NSC(1160,236)--Title image (Middle: 580,118)
|
TEXTURE.title=NSC(1130,236)--Title image (Middle: 580,118)
|
||||||
do
|
do
|
||||||
for i=1,8 do
|
gc.setLineWidth(12)
|
||||||
local triangles=love.math.triangulate(SVG_TITLE[i])
|
for i=1,#SVG_TITLE_FILL do
|
||||||
|
local triangles=love.math.triangulate(SVG_TITLE_FILL[i])
|
||||||
|
|
||||||
gc.translate(12*i,i==1 and 8 or 14)
|
gc.translate(12*i,i==1 and 8 or 14)
|
||||||
|
|
||||||
gc.setLineWidth(16)
|
|
||||||
gc.setColor(COLOR.Z)
|
gc.setColor(COLOR.Z)
|
||||||
gc.polygon('line',SVG_TITLE[i])
|
gc.polygon('line',SVG_TITLE_FILL[i])
|
||||||
|
|
||||||
gc.setColor(.2,.2,.2)
|
gc.setColor(.2,.2,.2)
|
||||||
for j=1,#triangles do
|
for j=1,#triangles do
|
||||||
@@ -89,18 +89,18 @@ do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
TEXTURE.title_color=NSC(1160,236)--Title image (colored)
|
TEXTURE.title_color=NSC(1130,236)--Title image (colored)
|
||||||
do
|
do
|
||||||
local titleColor={COLOR.P,COLOR.F,COLOR.V,COLOR.A,COLOR.M,COLOR.N,COLOR.W,COLOR.Y}
|
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(SVG_TITLE[i])
|
local triangles=love.math.triangulate(SVG_TITLE_FILL[i])
|
||||||
|
|
||||||
gc.translate(12*i,i==1 and 8 or 14)
|
gc.translate(12*i,i==1 and 8 or 14)
|
||||||
|
|
||||||
gc.setLineWidth(16)
|
gc.setLineWidth(12)
|
||||||
gc.setColor(COLOR.Z)
|
gc.setColor(COLOR.Z)
|
||||||
gc.polygon('line',SVG_TITLE[i])
|
gc.polygon('line',SVG_TITLE_FILL[i])
|
||||||
|
|
||||||
gc.setLineWidth(4)
|
gc.setLineWidth(4)
|
||||||
gc.setColor(COLOR.D)
|
gc.setColor(COLOR.D)
|
||||||
@@ -109,11 +109,9 @@ do
|
|||||||
end
|
end
|
||||||
|
|
||||||
gc.setColor(.2+.8*titleColor[i][1],.2+.8*titleColor[i][2],.2+.8*titleColor[i][3],.3)
|
gc.setColor(.2+.8*titleColor[i][1],.2+.8*titleColor[i][2],.2+.8*titleColor[i][3],.3)
|
||||||
gc.translate(-4,-4)
|
|
||||||
for j=1,#triangles do
|
for j=1,#triangles do
|
||||||
gc.polygon('fill',triangles[j])
|
gc.polygon('fill',triangles[j])
|
||||||
end
|
end
|
||||||
gc.translate(4,4)
|
|
||||||
|
|
||||||
gc.translate(-12*i,i==1 and -8 or -14)
|
gc.translate(-12*i,i==1 and -8 or -14)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user