r/lua • u/SerciOderLoser • 11h ago
NeLua Make Game on Android
Hi! Sharing a hobby project: NeLua_aes — run Nelua games on Android
(and soon PC)
This is a game engine that runs Nelua (Lua with static types, compiled
to C) on phones: Nelua → C → TCC → native machine code. Honest
benchmark: faster than Love2D-for-Android, though float-heavy code
loses to LuaJIT.
What you get with one main.nelua file:
• A raylib-style API (555 functions): 2D/3D drawing, touch, keyboard,
audio, save files
• A 25-chapter beginner tutorial in the help pages (long-press to
copy, Chinese for now, more languages coming) — written for people
who've never coded
• Code templates: sprite animation, joystick, on-screen buttons, tile
maps, save system — fill a form, get a module, paste it in
• A "prompt for AI" appendix, so you can ask an AI to write the game
for you within the engine's constraints (no closures, no .., big
arrays need <static>)
Honest disclaimer: I'm not a skilled programmer myself — this whole
thing was built with AI assistance, and I'm not very fluent with git
either, so the repo may look messy. I'll keep updating the main branch
for as long as I can keep working with AI and other tools, but I'd be
genuinely happy if anyone wants to take the project further.
• GitHub (a bit messy and outdated at the moment, cleaning up):
https://github.com/SerciOderLoser/NeLua_-s
• GitCode (freshest code): https://gitcode.com/gcw_EP9Z2T15/nelua-aes
(Because there weren't many people on the other side, I found a place that was a bit more active. Neluua must be about Lua-related topics, right? qwq)













1
u/SerciOderLoser 11h ago
(The built-in tutorials currently don't support languages other than Simplified Chinese. I should update the built-in tutorials for other languages tonight, qwq.)
1
u/AutoModerator 11h ago
Hi! It looks like you're posting about Love2D which implements its own API (application programming interface) and most of the functions you'll use when developing a game within Love will exist within Love but not within the broader Lua ecosystem. However, we still encourage you to post here if your question is related to a Love2D project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc.
If your question is about the Love2D API, start here: https://love2d-community.github.io/love-api/
If you're looking for the main Love2D community, most of the active community members frequent the following three places:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.