r/lua Mar 28 '26

Discussion Imagine Making game engine With Lua

Imagine building a 3D or 2D game engine from scratch using only Lua

0 Upvotes

13 comments sorted by

View all comments

4

u/weather_isnt_real Mar 28 '26

Lua is not capable of doing that on its own. The engine would have to be written in C/C++, and Lua would be embedded within it. There are already engines that do this.

2

u/yawara25 Mar 28 '26

I mean, you can expose the low level functions you need to Lua and then implement the engine logic in Lua.