From b1dfdae7a071407ef5e2d56f2203f96e6ba6068d Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 9 Dec 2018 18:26:17 +0800 Subject: *misc --- bin/SDL2.dll | Bin 1279488 -> 1279488 bytes bin/game/main.lua | 5 +++-- bin/jin.exe | Bin 1925632 -> 1925632 bytes bin/lua51.dll | Bin 364544 -> 364544 bytes 4 files changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/SDL2.dll b/bin/SDL2.dll index d0d6ca5..0272536 100644 Binary files a/bin/SDL2.dll and b/bin/SDL2.dll differ diff --git a/bin/game/main.lua b/bin/game/main.lua index fd54a7d..2cc8bcc 100644 --- a/bin/game/main.lua +++ b/bin/game/main.lua @@ -130,6 +130,7 @@ function jin.core.onUpdate(dt) ps:update(dt) local mx, my = jin.mouse.getPosition() ps:setPosition(mx, my) + ps:setEmitDirection(t - 0.3, t + 0.3) end function jin.core.onDraw() @@ -140,8 +141,8 @@ function jin.core.onDraw() jin.graphics.unuseShader() --jin.graphics.draw(sprs[2], 150, 150, 1, 1, 0) local x, y = jin.mouse.getPosition() - animator:render(50, 150, 1, 1, 0) - --jin.graphics.print(#sprs, 10, 10) + animator:render(350, 150, 1, 1, 0) + jin.graphics.print("* Particle system test\n* Animation test", 10, 10) jin.graphics.draw(spr, 100, 200, 1, 1, 0) --jin.graphics.useShader(shader_program2) --jin.graphics.draw(tex, 0, 0,0.2, 0.2) diff --git a/bin/jin.exe b/bin/jin.exe index d997d7b..55f6a91 100644 Binary files a/bin/jin.exe and b/bin/jin.exe differ diff --git a/bin/lua51.dll b/bin/lua51.dll index 7499e13..a2793ba 100644 Binary files a/bin/lua51.dll and b/bin/lua51.dll differ -- cgit v1.1-26-g67d0