From 7ed4626d7113e73faef838f0ff3e93d7e94bcb6c Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 24 Nov 2021 21:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/texture.lua | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/parts/texture.lua b/parts/texture.lua index 2ad0e4ce..41dd92f6 100644 --- a/parts/texture.lua +++ b/parts/texture.lua @@ -69,13 +69,13 @@ end gc.setDefaultFilter('linear','linear') -TEXTURE.title=NSC(1130,236)--Title image (Middle: 580,118) +TEXTURE.title=NSC(1040,236)--Title image (Middle: 580,118) do gc.setLineWidth(12) + gc.translate(10,10) for i=1,#SVG_TITLE_FILL do local triangles=love.math.triangulate(SVG_TITLE_FILL[i]) - gc.translate(12*i,0) gc.setColor(COLOR.Z) gc.polygon('line',SVG_TITLE_FILL[i]) @@ -85,19 +85,18 @@ do gc.polygon('fill',triangles[j]) end - gc.translate(-12*i,0) end + gc.translate(-10,-10) end -TEXTURE.title_color=NSC(1130,236)--Title image (colored) +TEXTURE.title_color=NSC(1040,236)--Title image (colored) do local titleColor={COLOR.P,COLOR.F,COLOR.V,COLOR.A,COLOR.M,COLOR.N,COLOR.W,COLOR.Y} + gc.translate(10,10) for i=1,8 do local triangles=love.math.triangulate(SVG_TITLE_FILL[i]) - gc.translate(12*i,0) - gc.setLineWidth(12) gc.setColor(COLOR.Z) gc.polygon('line',SVG_TITLE_FILL[i]) @@ -112,9 +111,8 @@ do for j=1,#triangles do gc.polygon('fill',triangles[j]) end - - gc.translate(-12*i,0) end + gc.translate(-10,-10) end TEXTURE.multiple=GC.DO{15,15,