diff options
author | chai <chaifix@163.com> | 2018-12-22 10:46:06 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-22 10:46:06 +0800 |
commit | 71416cb4b388956d6132f6c8b5b77b0fb38b7a27 (patch) | |
tree | ca1c9609f3c793a636b0f085e7176c71fb0003a2 /bin/game/main.lua | |
parent | 1df83e68bc08bc3f9b429b794fc2e4ba86389dde (diff) |
*修改vector分量别名
Diffstat (limited to 'bin/game/main.lua')
-rw-r--r-- | bin/game/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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") |