From 71416cb4b388956d6132f6c8b5b77b0fb38b7a27 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 22 Dec 2018 10:46:06 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9vector=E5=88=86=E9=87=8F=E5=88=AB?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/game/main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/game/main.lua') diff --git a/bin/game/main.lua b/bin/game/main.lua index c5f6095..62086da 100644 --- a/bin/game/main.lua +++ b/bin/game/main.lua @@ -28,9 +28,9 @@ function jin.core.onLoad() mesh = jin.graphics.newMesh() mesh:setGraphic(tex) mesh:pushVertex(-20, -20, 0, 0, {255, 0, 0, 255}) - mesh:pushVertex(20, -20, 1, 0, {255, 0, 255, 255}) - mesh:pushVertex(20, 20, 1, 1, {255, 255, 0, 255}) - mesh:pushVertex(-20, 120, 0, 1, {255, 255, 255, 255}) + mesh:pushVertex(20, -20, 0.8, 0, {255, 0, 255, 255}) + mesh:pushVertex(20, 20, 0.8, 0.8, {255, 255, 0, 255}) + mesh:pushVertex(-20, 120, 0, 0.8, {255, 255, 255, 255}) ps = jin.graphics.newParticleSystem() for i = 0, 10 do local t = jin.graphics.newTexture("dust/s_dust_A_" .. i .. ".png") -- cgit v1.1-26-g67d0