r/lua • u/Greedy_Mission_9158 • Jan 03 '26
r/lua • u/Puzzleheaded_Fly9339 • Jun 06 '26
LÖVE Studio
I have been working on a macOS IDE called LÖVE Studio specifically built around the LÖVE2D framework. Tired of jumping between different tools while making games, so I decided to build everything into one place.
What it includes:
Lua code editor with syntax highlighting, autocomplete, and LÖVE2D API hints
Tilemap editor with multi-layer support and collision visualization
Sprite animation editor with real-time preview
Pixel art / image editor built in
Particle system editor with live preview
Spritesheet packer with atlas generation and JSON/Lua export
UI builder, Scene manager, Audio manager
Camera, font, resolution, and save system configurators
Built-in LÖVE2D API documentation browser
Code snippets library
Git integration
Built-in debugger with breakpoint support
Export to
.love, macOS App Bundle, or Android APK
Every visual tool generates clean Lua modules you drop straight into your project.
It is open source: https://github.com/milos-mkv/Love-Studio
Would love feedback, especially from people who are already using LÖVE2D.
r/lua • u/DeathProgramming • Apr 01 '18
Lua 5.4 has decided to move to 0-based indexes!
Haha. April fools. :) <3
r/lua • u/Puzzleheaded_Fly9339 • Sep 15 '25
New Lua IDE
Hey everyone,
I’ve been tinkering with Lua for a while and noticed there aren’t really any dedicated IDEs for it (besides ZeroBrane, which hasn’t been updated in ages). So, I decided to prototype my own Lua IDE.
Right now it’s still very early (expect bugs & crashes 🙃), but it already has:
A clean modern UI (GTK + libadwaita, so it feels native on Linux).
Built-in editor with syntax highlighting (GtkSourceView).
Project management system.
A simple custom debugger (planning to support
mobdebuglater).Embedded Lua documentation viewer.
The mascot is Hatsune Miku (just for fun), and the project is free software under GPLv3.
Currently it’s Linux-only, distributed as a Flatpak package.
r/lua • u/391roman • Oct 15 '25
Discussion Programming in Lua, Fourth Edition, E-book Version
print(“Hello Everyone”) —[[ Did anyone here bought the official e-book version of PIL fourth edition? Could you please tell me what is the difference between official version and the free released version? Is there too much missing in free version compared to official version, i have been thinking of buying the official version, to support the creators too, but people said to me that they are almost identical, also i dont really need physical copy at home. ]]— print(“Thanks, and sorry for the cringe format lol”)
r/lua • u/novemtails • Mar 05 '26
Project Been working on a C++ game engine with a Windows 95 inspired UI + Lua scripting
The goal: a Unity-like workflow in a familiar interface, but with games that compile natively for the original PS 1. I’m running some early tests using Duckstation
r/lua
•
u/DesertCarMechanic
•
Aug 09 '24
I just released a new Application Development Framework made with lua.
r/lua • u/MohammedThaier • Oct 15 '23
I coded a simple logic gates simulator with Lua and TIC-80
r/lua • u/ServeThePatricians • Jul 26 '24
Why is Lua considered one of the most hated languages?
r/lua • u/ilPlayerdiGD • 13d ago
Lua it's the best high-level programming language
I need to talk about lua. I started with Python then I passed to C and C++ (my favourite languages). Now, I tried re-learning Python to have a 3nd programming language but I did found that in reality Python it's boring and bs! I tried Zig and it was a bad experience, I tried Rust but idk why but I think it's overrated. Then, at the end, I tried lua and at first I though that lua was stupid, no i++ or i+=, arrays start at 1… but then I tried do C/C++ + Lua and I changed my perspective.
I used, recently, lua for configs in my projects but then I discovered that Lua it's SO underrated. Like they didn't lie when they said C and lua are the best programming language.
Lua it's minimal and so powerful. I accepted the syntax and now it's my 3nd programming language.
The reason that I love lua it's because… it's FAST, it's DAMN SIMPLE and so easy to learn, it has A LOT of potential.
The more the language is big, the less likely it gonna be easy to learn.
Guys I don't think I have cons on lua, I think it's perfect and I still don't have learned all of the lua out there.
Really, I have to say… lua it's the best.
Anyway did I say something wrong? What's your opinion on lua?
Anyway, thanks for reading ;)
r/lua • u/[deleted] • Sep 10 '22
Discussion I thought y’all might appreciate this more than the other sub did
r/lua • u/c__beck • Mar 04 '26
Resident Evil: Requiem uses Lua for hacking
Watching a playthrough on YouTube and saw the hacker using Lua for hacking! Lua's in the big time now!
Project Announcing Lux - a Modern Package Manager for Lua
It's time Lua got the ecosystem it deserves.
Lux is a new package manager for creating, maintaining and publishing Lua code. It does this through a simple and intuitive CLI inspired by other well-known package managers like cargo.
Features
Has an actual notion of a "project", with a simple governing
lux.tomlfile.Installs and builds Lua packages in parallel for maximum speed.
Allows you to add/remove/update dependencies with simple commands. This includes finding outdated packages!
Handles the generation of rockspecs for you for every version of your project - say goodbye to 10 rockspec files in your source code.
Has builtin commands for project-wide code formatting (powered by
stylua) as well as project-wide linting (powered byluacheck).Has native support for running tests with
busted.Uploading a new version of a package is as simple as
lx upload!Is fully portable between systems and handles the installations of Lua headers for you, ensuring that all users get the same environment.
Documentation
The project can be found at https://github.com/nvim-neorocks/lux
A tutorial as well as guides can be found on our documentation website.
We're announcing the project now as it has hit a state of "very usable for everyday tasks". We still have things to flesh out, like error messages and edge cases, but all those fixes are planned for the 1.0 release.
If you have any questions or issues, feel free to reach out in the Github discussions or our issue tracker. Cheers! :)
The Lux Team
r/lua • u/Demand_Repulsive • Jan 10 '26
I have fallen in love with luajit and is a shame that is so unrecognizable
Hi all, I've started this new job a year ago and our code base that work on is in lua. I never had any experience with it and I just thought it was a lesser version of python, now I think python is the lesser here.
What really made me fall in love was the moment I realized is all tables, packages? Tables, objects? Tables. Sugar syntaxes? Tables.
For me there is only a few languages that I care to like, if web then html,css,js; if performance or embedded then c/c++ and python for everything else. Now between I've seen how I was wrong, lua is better than python. Period. It merges the simplicity of code writing (no having to match vars type and returns, fixed memory, blabla) with the speed of C++ (because you can just import any fucking compiled library) like wtf lua should be way way way more used and advertised than python
r/lua • u/adwolesi • Aug 15 '26
Project LuaCAD - Parametric CAD scripted in Lua
LuaCAD models solids in Lua rather than the OpenSCAD language, with operator overloading for CSG (a + b, a - b, a * b). It ships with a CLI and a desktop app, including a preview area and a text editor.
It’s fully open source and you can find the repo here: https://github.com/ad-si/LuaCAD
I've always been a big fan of OpenSCAD, but the SCAD language itself is unfortunately quite cobbled-together and is a very poorly designed programming language.
LuaCAD takes all the good parts of OpenSCAD and combines them with Lua. It has now completely replaced OpenSCAD for me, and I think it provides a better experience than OpenSCAD for all use cases. I'd love to hear any reasons why LuaCAD won't fully replace OpenSCAD for you!
Tech stack:
It's implemented in Rust and uses mlua (https://github.com/mlua-rs/mlua) to execute the Lua code.
Uses OpenCSG (https://opencsg.org) for fast and correct rendering of the 3D models (like OpenSCAD)
Uses Manifold (https://github.com/elalish/manifold) to create the manifold triangle meshes
Native support for all BOSL2 functions (i.e. implemented in Rust for better performance)
r/lua • u/mariolis_1 • Oct 09 '26
Lua 5.5.1 working on W98
Hey, so, while I was learning Lua, I knew already that theoretically at least, Lua was written to be compilable in pure C, and specifically C89/C90 , supposedly any system that has an ANSI C compiler can compile and install Lua...
So I decided to actually test out just how true that is, when I remembered that I have an ancient laptop from 1999, running Windows 98SE, which has Borland 5.02 installed... [Just to understand how ancient it is, it only has 32 mb of RAM and it's hard drive is 5gb... that is literally smaller than the usb stick that i used to transfer the Lua source files from my modern PC into that ancient laptop (yes, that ancient laptop has a working USB 1.0 port and it is somehow able to read my 8gb USB 2.0 usb stick, which I did not expect to work, but it did !!!)
And to my surprise... it actually worked !
Here I am inside a full-screen MS-DOS prompt of W98 (In W32 mode, it is not booted into MS-DOS mode / real mode) Alongside the project of compiling the most recent version of Lua and getting it to work, I also installed an actual working version of vim and after tinkering with the vimrc file, I even managed to get full syntax highlighting working , and it actually works for Lua !!!
Anyhow, I just wanted to share this because I thought it was really cool and fun!
r/lua • u/OrganizationWhole744 • Jun 14 '26
Should I learn "Programming in Lua 4th Edition"
Like i've been trying to learn lua for so long, and i couldnt find anything good. my problem was that i was trying to find good sources on yt, like tutorials and stuff. now that i watched actual good programmers they recommend to read books. but lua dosnt have lots of books, and that the only one i could find. so my question is if anyone read it, will i be able to learn 80% of lua, such as: problem-solving, understanding the logic, and mindset. please help😟
r/lua • u/yughiro_destroyer • Oct 03 '25
Help Why not more Lua in web development or games?
Lua used to dominate as a scripting language in game engines. Now, it's not so much the case except the dying Cry Engine and Roblox (which I don't consider to be a "real" game engine). Everyone uses C# while spreading hate to Lua or other languages. I don't think C# is bad but it's definitely more verbose and is bloated with like five ways of doing the same thing and personally I'd use lighter languages.
Also, Lua has the Lapiz framework which I heard is really fast and I want to start creating products in it. Most start ups don't need Spring or Django, Lapiz is at the level of Flask and is very lightweight. Generally speaking, Lua is a very lightweight language that's just one step above C++, making it very close to the metal while being very simple.
So what exactly went wrong? I think the world would be a better place if Lua was used more often and it received more support - extremely easy to write C functions and wrap them as Lua function to script later. Again, I'm not saying Java or C# are bad. They are enterprise level languages, but not everyone needs that complexity and bloat.
r/lua • u/Humble-Guarantee5956 • May 29 '26
Discussion I used to code in ROBLOX but it is genuinely in a really bad state now. Looking for other game engines that use Lua (Image unrelated)
I used to code in ROBLOX Studio which I love ALOT but with the worse and worse updates that they have been releasing it's been hard trying to make games there (for example: they made an update where you NEED a Roblox PLUS subscription to publish games). I also wanna touch some NEW grounds so yeah I am looking for good Lua game engines (or game engines that have Lua support). Thanks.
r/lua • u/brettmakesgames • May 20 '26
Usagi Engine v1 Released - Simple Lua 5.5 2D game engine with live reload and cross-platform export
I made a small game engine called Usagi for prototyping 2D games as quickly as possible with Lua 5.5. It's free and open source and made with Rust + Raylib. I just released v1.0 yesterday and thought it'd be fun to share it.
Here's the project's homepage: https://usagiengine.com/
And you can view the source here: https://github.com/brettchalupa/usagi
The engine is used via a command-line, much like cargo. You can usagi init to create a new project. usagi dev to boot up the dev game that live reloads code and assets. And usagi export to generate cross-platform builds of your game for web, Linux, macOS, and Windows.
My motivation for creating Usagi was that I love using tools like Pico-8 and Love2D for prototyping and game jams. But I wanted a free and open source engine with a nicer developer experience. In particular live reload and easy web exports. Usagi embraces constraints and provides sensible defaults, like a pause menu with input binding, to try to help devs focus on the game rather than the ancillary parts of development.
Since the engine is open source, the hope is that if someone makes a prototype they want to turn into a larger commercial game, they can just fork the engine and customize it themselves, write more bits of it in Rust, and change the API as they see fit.
I'd love it if you check the project out and let me know what you think!