:wave: I’m creating a small 2D game engine with Ko...
# gamedev
d
👋 I’m creating a small 2D game engine with Kotlin Multiplaform name 🧸
Tiny
. You can create small games in LUA and run it on your desktop or web platform in no time. I’m about to create a 1.0.0 version but you can try a WIP version by checking out the documentation: https://minigdx.github.io/tiny/ Each examples (available through the links
▶ Try an example
) can be updated, there is a hot reload: your changes will be reflected in the attached canvas shortly after 🙂 Try it by copy/paste this code for example 😉 :
Copy code
function _draw()
   gfx.cls()
   shape.line(80, 80, 120, 80, 3)  
   shape.line(80, 80, 80, 120, 3) 
   shape.line(80, 120, 120, 120, 3) 
   shape.line(80, 120, 120, 80, 3)  
   shape.line(80, 80, 120, 120, 3) 
end
Would love to know what you’re thinking about it 🙂
👍 4
❤️ 1
c
Is breakout the only game example right now?
d
If you look into the documentation, there is also a pong. I also create a small animation to test the engine. This weekend, I created a game in less of 3h for a small game jam on the theme Camping. Don’t have hight expectation on this one, it was done in less than 3h 😂! But it was fun to add some effects and check for bugs in the engine.
For your information, I updated a lot my engine 🧸 Tiny. You can download the last released version on Github You can just browse the documentation. Or maybe you can to try some examples or try to create something by yourself in the sandbox You can also try the latest game I created using it, so you have an idea of what can be achieved with it. It's powered by Kotlin Multiplatform but games are written in Lua (because it's super efficient in this context)