4 ms·
No, Only the scripting is Lua. The engine is all in C++.[1] [1] https://bitbucket.org/rude/love/src/tip/src/ https://bitbucket.org/rude/love/src/tip/src/
by lbenes 11y ago
No, Only the scripting is Lua. The engine is all in C++.[1]
[1] https://bitbucket.org/rude/love/src/tip/src/ https://bitbucket.org/rude/love/src/tip/src/
- krylon 11y agoAfter all, that's kind of the point of Lua. Write all of the performance-critical / low-level stuff in C or C++, expose it to Lua, then orchestrate it from a Lua script. Lua's C API is very pleasant to use. As a standalone scripting language, I found it rather awkward to use when compared to, say, Python or Perl. It was only when using it as an embedded scripting language (not on a game, though) that I could really see it shine.
- adnzzzzZ 11y agoWhen using LÖVE you have to write a lot of stuff in pure Lua because LÖVE is a framework and not an engine. So, for instance, if you wanna do AI you have to write everything about it yourself (without calling any of LÖVE's functions because generally they won't help you with this task), and most people will do it in Lua only.