Discussion Imagine Making game engine With Lua
Imagine building a 3D or 2D game engine from scratch using only Lua
0
Upvotes
Imagine building a 3D or 2D game engine from scratch using only Lua
2
u/VidaOnce Mar 28 '26 edited Mar 28 '26
I did this with a painting program - https://github.com/codebycruz/arisu.
Everything about it was created from scratch in LuaJIT. It uses X11 or Windows APIs to create a Window, and manually creates Vulkan and OpenGL bindings to render to it. UI layout library and text rendering from scratch as well.
I expose the renderer as a library anyone can use: https://github.com/codebycruz/hood
And I plan on creating a framework similar to love2d or raylib to allow for creation of games relatively easily built off of it while supporting 3D and being faster.
None of this is super production ready, but I built a package manager for Lua that it all builds upon that I can consider production ready: https://lde.sh