I'm looking for a new owner for Lyte2D, my LOVE2D inspired game framework 🙏
Hi everyone,
I actually debutted Lyte2D on this sub, a couple years ago! (https://www.reddit.com/r/lua/comments/111p2rz/lyte2danewgameframeworkthatimmaking/) and (https://www.reddit.com/r/lua/comments/13trs14/lyte2danewgameframeworkv05isoutcoolc/). I haven't posted here since, but Lyte2D has grown.
I'm looking for a new owner/maintainer for Lyte2D. It's a small but powerful game framework for Lua, written in C. It's inspired by LOVE2D but it's even simpler. 1MB or smaller binaries on each platform. Single namespace (everything is under "lyte."), single function to implement ("lyte.tick(...)") instead of update/draw etc. It runs on Windows, Linux, and browsers (WASM) out of the box. MacOS works fine too, but we don't yet have a CI/official build for it yet.
Here're some highlights:
- Simple shapes; lines, circles, rects etc. Transforms...
- Image drawing, including partial rectangles from the image.
- Blend modes (default: alpha blending) and filter modes (default: nearest neighbor for pixel crisp games)
- Audio: looping music and sound effects, pan and pitch control.
- Keyboard/mouse/gamepad input.
- Async fetching application zip for larger game archives
- LOVE2D style app fusing: single executable that's made with merging lyte binary and your game zip. (Works on Windows and Linux, not tested on Mac)
- Single HTML file (that contains an embedded WASM file) for web distribution
- TTF fonts; rendering and font atlas. Crisp performant text rendering (I'm proud with this one)
- Built with Sokol using OpenGL3.3 and GLES3 backends, meaning shaders are shared between ALL targets without code changes. Shader uniform/image params are defined in Lua code. Shaders can be embedded inside Lua files
- It used to have a REPL, Fennel/Teal languages builtin and a half-working physics implementation, but removed these as they were not seeing much use
- Used in jam games, several experiments such as text editors etc.
- Used in one professional Steam game!
- Tiny tiny community, this was not marketed much at all. Couple reddit posts in r/lua and some tweets
- Website: https://lyte2d.com, with guide, samples in wasm and API surface
- Github: https://github.com/lyte2d/lyte2d
The reason I'm looking for a new owner is that I unable to spend the energy this little engine deserves. With the removal of the jankier parts I mentioned above, the remaining API I think is at beta level right now. It would be the new owners path to either keep it with small bug fixes as is, or take it further with more features, different direction etc.
In my opinion, even without a lot of fixes or new features at all, with the right marketing, this little thing can shine.
The correct owner would have some native code experience, he/she would know his way around C/cmake/git/CIs etc even if an expertise is NOT required.
Are you interested? Please DM me here or on twitter or on gmail, tell me what's your general idea of the direction you'd like to take, and your github. If you'd like to join only as a contributor (but not owner) let me know as well.
At "morew4rd" (github, twitter, gmail, reddit -- same handle)
Thank you!
https://redd.it/1kis18u
@r_lua
Hi everyone,
I actually debutted Lyte2D on this sub, a couple years ago! (https://www.reddit.com/r/lua/comments/111p2rz/lyte2danewgameframeworkthatimmaking/) and (https://www.reddit.com/r/lua/comments/13trs14/lyte2danewgameframeworkv05isoutcoolc/). I haven't posted here since, but Lyte2D has grown.
I'm looking for a new owner/maintainer for Lyte2D. It's a small but powerful game framework for Lua, written in C. It's inspired by LOVE2D but it's even simpler. 1MB or smaller binaries on each platform. Single namespace (everything is under "lyte."), single function to implement ("lyte.tick(...)") instead of update/draw etc. It runs on Windows, Linux, and browsers (WASM) out of the box. MacOS works fine too, but we don't yet have a CI/official build for it yet.
Here're some highlights:
- Simple shapes; lines, circles, rects etc. Transforms...
- Image drawing, including partial rectangles from the image.
- Blend modes (default: alpha blending) and filter modes (default: nearest neighbor for pixel crisp games)
- Audio: looping music and sound effects, pan and pitch control.
- Keyboard/mouse/gamepad input.
- Async fetching application zip for larger game archives
- LOVE2D style app fusing: single executable that's made with merging lyte binary and your game zip. (Works on Windows and Linux, not tested on Mac)
- Single HTML file (that contains an embedded WASM file) for web distribution
- TTF fonts; rendering and font atlas. Crisp performant text rendering (I'm proud with this one)
- Built with Sokol using OpenGL3.3 and GLES3 backends, meaning shaders are shared between ALL targets without code changes. Shader uniform/image params are defined in Lua code. Shaders can be embedded inside Lua files
- It used to have a REPL, Fennel/Teal languages builtin and a half-working physics implementation, but removed these as they were not seeing much use
- Used in jam games, several experiments such as text editors etc.
- Used in one professional Steam game!
- Tiny tiny community, this was not marketed much at all. Couple reddit posts in r/lua and some tweets
- Website: https://lyte2d.com, with guide, samples in wasm and API surface
- Github: https://github.com/lyte2d/lyte2d
The reason I'm looking for a new owner is that I unable to spend the energy this little engine deserves. With the removal of the jankier parts I mentioned above, the remaining API I think is at beta level right now. It would be the new owners path to either keep it with small bug fixes as is, or take it further with more features, different direction etc.
In my opinion, even without a lot of fixes or new features at all, with the right marketing, this little thing can shine.
The correct owner would have some native code experience, he/she would know his way around C/cmake/git/CIs etc even if an expertise is NOT required.
Are you interested? Please DM me here or on twitter or on gmail, tell me what's your general idea of the direction you'd like to take, and your github. If you'd like to join only as a contributor (but not owner) let me know as well.
At "morew4rd" (github, twitter, gmail, reddit -- same handle)
Thank you!
https://redd.it/1kis18u
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
help! where can i learn the language?
I picked up Python a few weeks ago and now I’ve decided to learn Lua—just out of curiosity. I've searched online but couldn't find many informative videos or articles about learning Lua, aside from its official site, which I personally find a bit hard to follow. Can anyone point me to easier-to-understand resources? Or is Lua just hard to get into at first?
https://redd.it/1kiuoya
@r_lua
I picked up Python a few weeks ago and now I’ve decided to learn Lua—just out of curiosity. I've searched online but couldn't find many informative videos or articles about learning Lua, aside from its official site, which I personally find a bit hard to follow. Can anyone point me to easier-to-understand resources? Or is Lua just hard to get into at first?
https://redd.it/1kiuoya
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How can I compile lua static library for Android?
Hello, I've been trying to compile something valid for my project for days without success...
I basically need the .a lib to use in a VS2019 C++ project...
The project targets Android 19 for ARM and Android 21 for ARM64, it uses Clang 5.0.
VS2019 NDK version is r16b.
While I did got some .a files, with very different sizes when trying, it seems like VS can't find the functions in it, so I guess it's not compiled correctly...
I've tried through WSL (Ubuntu 22.04.2 LTS), but if there's a easier way through Windows, please let me know...
Did anyone have particularly compiled it for Android? I really need to get this working...
https://redd.it/1kiwrlg
@r_lua
Hello, I've been trying to compile something valid for my project for days without success...
I basically need the .a lib to use in a VS2019 C++ project...
The project targets Android 19 for ARM and Android 21 for ARM64, it uses Clang 5.0.
VS2019 NDK version is r16b.
While I did got some .a files, with very different sizes when trying, it seems like VS can't find the functions in it, so I guess it's not compiled correctly...
I've tried through WSL (Ubuntu 22.04.2 LTS), but if there's a easier way through Windows, please let me know...
Did anyone have particularly compiled it for Android? I really need to get this working...
https://redd.it/1kiwrlg
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Need help uploading accessory to Roblox Studio (Handle error)
Hi everyone,
I’m trying to upload an accessory (a hat) to Roblox Studio, but I keep running into an error:
“Could not find a part called ‘Handle’ inside AccessoryName.”
Here’s what I have:
• A MeshPart (my hat model)
• A Part renamed to “Handle”
• An Attachment inside the Handle
I’ve double-checked everything, but the error still appears when I try to upload.
Does anyone know what might be wrong or what I should check?
I’d really appreciate any help! Thanks in advance!
https://redd.it/1kj2du2
@r_lua
Hi everyone,
I’m trying to upload an accessory (a hat) to Roblox Studio, but I keep running into an error:
“Could not find a part called ‘Handle’ inside AccessoryName.”
Here’s what I have:
• A MeshPart (my hat model)
• A Part renamed to “Handle”
• An Attachment inside the Handle
I’ve double-checked everything, but the error still appears when I try to upload.
Does anyone know what might be wrong or what I should check?
I’d really appreciate any help! Thanks in advance!
https://redd.it/1kj2du2
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I'm trying to start coding and i need help with luau
I have never coded before ( excluding scratch if that's coding). And I would like to begin coding in roblox studio. but I don't know at all what the commands are ( or whatever its called). can somebody help me by putting a list with all the commands and what they do? I think I can figure out the rest on my own. Thx
https://redd.it/1kk4u67
@r_lua
I have never coded before ( excluding scratch if that's coding). And I would like to begin coding in roblox studio. but I don't know at all what the commands are ( or whatever its called). can somebody help me by putting a list with all the commands and what they do? I think I can figure out the rest on my own. Thx
https://redd.it/1kk4u67
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
vscode/vscodium extensions outdated?
Totally new to programming. Are a lot of the lua extensions in vscode outdated? When I go to debug it often throws up errors I don't get in zerobrane studio, especially after user input. Is there a relatively foolproof extension I can install for vscode/vscodium?
https://redd.it/1kkatdm
@r_lua
Totally new to programming. Are a lot of the lua extensions in vscode outdated? When I go to debug it often throws up errors I don't get in zerobrane studio, especially after user input. Is there a relatively foolproof extension I can install for vscode/vscodium?
https://redd.it/1kkatdm
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How long did you take for you to become fluent in Lua?
I'm taking classes for python and only a little fluent in python. After I get fluent in python I will begin with lua because the language is faster. I will still use python.
https://redd.it/1kkltld
@r_lua
I'm taking classes for python and only a little fluent in python. After I get fluent in python I will begin with lua because the language is faster. I will still use python.
https://redd.it/1kkltld
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
expected identifier when parsing expression, got ')'
new to lua and don't know where i am going wrong
game.Players.PlayerRemoving:Connect(function(player)
do
for _, eggy in game.Workspace.poor:GetChildren() do
if not eggy:GetAttribute("Owner") then continue end
\-- the plot is owned by a player
if eggy:GetAttribute('Owner') \~= player.UserId then continue end
\-- we have found the correct plot
eggy:SetAttribute('Taken', nil)
eggy:SetAttribute('Owner', nil)
print('eggy has been destroyed by ' ..player.Name..'!')
break
end
end)
https://redd.it/1kkrtga
@r_lua
new to lua and don't know where i am going wrong
game.Players.PlayerRemoving:Connect(function(player)
do
for _, eggy in game.Workspace.poor:GetChildren() do
if not eggy:GetAttribute("Owner") then continue end
\-- the plot is owned by a player
if eggy:GetAttribute('Owner') \~= player.UserId then continue end
\-- we have found the correct plot
eggy:SetAttribute('Taken', nil)
eggy:SetAttribute('Owner', nil)
print('eggy has been destroyed by ' ..player.Name..'!')
break
end
end)
https://redd.it/1kkrtga
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Make my project compatible with lua 5.x, or just luajit?
Hello everyone,
I'm currently developing a template language, “Plume”, which translates to Lua.
Originally, I had planned to make it compatible with Lua 5.x, but recently I've been hesitating.
Advantage: it can be used in any Lua environment without any hassle, and use any lib written in lua.
Disadvantage: extra burden of writing and maitienting the code, but in real life it's doable. On the other hand, you run the risk of having Plume libraries that are incompatible with each other, as they are written with different versions of lua... And maybe, for a templating language, having an “official” environment (in this case, luajit) is more interesting than being plug and play.
What do you think? Any other arguments? I'll have to make a choice, but I'm stumped \^\^'.
https://redd.it/1kl005h
@r_lua
Hello everyone,
I'm currently developing a template language, “Plume”, which translates to Lua.
Originally, I had planned to make it compatible with Lua 5.x, but recently I've been hesitating.
Advantage: it can be used in any Lua environment without any hassle, and use any lib written in lua.
Disadvantage: extra burden of writing and maitienting the code, but in real life it's doable. On the other hand, you run the risk of having Plume libraries that are incompatible with each other, as they are written with different versions of lua... And maybe, for a templating language, having an “official” environment (in this case, luajit) is more interesting than being plug and play.
What do you think? Any other arguments? I'll have to make a choice, but I'm stumped \^\^'.
https://redd.it/1kl005h
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
preprocessor in lua
I’ve been thinking about adding a simple attribute‑based “preprocessor” to Lua—something that runs at compile time to transform or wrap functions. You could use it for things like inlining tiny helpers, optimization ease of development etc.
I know Lua tends to favor minimalism and explicit idioms, so I’m curious whether this would feel too “un‑Lua‑like.” On the other hand, I think it could clean up repetitive boilerplate and boost performance in hot paths.
Below is a sketch of what the syntax might look like, along with some usage examples:
-- (1) Inline small functions into call sites
\@inline
function add(a, b)
return a + b
end
-- After preprocessing: calls to add(a, b) become (a + b) directly.
-- (2) Benchmark execution time of a function
\@benchmark
function heavywork(n)
-- simulate work
for i = 1, n * 1e5 do end
end
-- At runtime, heavywork(10) prints: heavy_work took 0.012s
-- (3) Memoize pure functions automatically
\@memoize
function fib(n)
if n < 2 then return n end
return fib(n-1) + fib(n-2)
end
-- fib(30) runs in O(n) instead of O(2^n).
-- (4) Register compile‑time callbacks
\@callable
function dosomethingawesome()
print("Registered at compile time")
end
-- (5) Retry on error (e.g., network calls)
\@retry(3)
function fetchdata(url)
return http.get(url) -- might error
end
-- fetchdata retries up to 3 times before finally erroring.
-- (6) Initialization hook
\@init
function setupenvironment()
print("Environment initialized!")
end
-- runs once, when the noscript is loaded.
-- (7) Documentation and metadata
\@doc("Calculates the nth Fibonacci number efficiently.")
\@todo("Add tail‑recursive version")
\@tag("math", "performance")
\@deprecated("Use fibfast instead")
function fib(n)
-- …
end
What do you think? I’d love to hear your thoughts and any ideas for useful annotations I haven’t listed!
https://redd.it/1kma10y
@r_lua
I’ve been thinking about adding a simple attribute‑based “preprocessor” to Lua—something that runs at compile time to transform or wrap functions. You could use it for things like inlining tiny helpers, optimization ease of development etc.
I know Lua tends to favor minimalism and explicit idioms, so I’m curious whether this would feel too “un‑Lua‑like.” On the other hand, I think it could clean up repetitive boilerplate and boost performance in hot paths.
Below is a sketch of what the syntax might look like, along with some usage examples:
-- (1) Inline small functions into call sites
\@inline
function add(a, b)
return a + b
end
-- After preprocessing: calls to add(a, b) become (a + b) directly.
-- (2) Benchmark execution time of a function
\@benchmark
function heavywork(n)
-- simulate work
for i = 1, n * 1e5 do end
end
-- At runtime, heavywork(10) prints: heavy_work took 0.012s
-- (3) Memoize pure functions automatically
\@memoize
function fib(n)
if n < 2 then return n end
return fib(n-1) + fib(n-2)
end
-- fib(30) runs in O(n) instead of O(2^n).
-- (4) Register compile‑time callbacks
\@callable
function dosomethingawesome()
print("Registered at compile time")
end
-- (5) Retry on error (e.g., network calls)
\@retry(3)
function fetchdata(url)
return http.get(url) -- might error
end
-- fetchdata retries up to 3 times before finally erroring.
-- (6) Initialization hook
\@init
function setupenvironment()
print("Environment initialized!")
end
-- runs once, when the noscript is loaded.
-- (7) Documentation and metadata
\@doc("Calculates the nth Fibonacci number efficiently.")
\@todo("Add tail‑recursive version")
\@tag("math", "performance")
\@deprecated("Use fibfast instead")
function fib(n)
-- …
end
What do you think? I’d love to hear your thoughts and any ideas for useful annotations I haven’t listed!
https://redd.it/1kma10y
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Confused about this noscript
So I found this noscript in this subreddit but it doesn't really work for this 3D model I have. I tested it with a normal part and it works. So my question is are parts and 3D models the same or do I have to do something else for this to work.
Heres the noscript: https://devforum.roblox.com/t/how-would-i-go-about-part-always-facing-player/1182594/2
When I put the noscript for my 3D model it doesn't work but it does if its a part.
https://redd.it/1kmysv0
@r_lua
So I found this noscript in this subreddit but it doesn't really work for this 3D model I have. I tested it with a normal part and it works. So my question is are parts and 3D models the same or do I have to do something else for this to work.
Heres the noscript: https://devforum.roblox.com/t/how-would-i-go-about-part-always-facing-player/1182594/2
When I put the noscript for my 3D model it doesn't work but it does if its a part.
https://redd.it/1kmysv0
@r_lua
loon: unit and snapshot testing with beautiful output
https://github.com/tommaisey/loon
https://redd.it/1kn7vhi
@r_lua
https://github.com/tommaisey/loon
https://redd.it/1kn7vhi
@r_lua
GitHub
GitHub - tommaisey/loon: Lua unit and snapshot testing framework
Lua unit and snapshot testing framework. Contribute to tommaisey/loon development by creating an account on GitHub.
New to Lua! Need code review to my fzf in lua
Hello I am pretty new to learning lua. I have started learning by creating fzf from scratch in lua. Although still not completed, can anyone review my code quality add tell me if its upto the lua standards or not
you can check my repo on https://github.com/PyDevC/fzf.git
https://redd.it/1knelrd
@r_lua
Hello I am pretty new to learning lua. I have started learning by creating fzf from scratch in lua. Although still not completed, can anyone review my code quality add tell me if its upto the lua standards or not
you can check my repo on https://github.com/PyDevC/fzf.git
https://redd.it/1knelrd
@r_lua
GitHub
GitHub - PyDevC/fzf: fuzzy finder written in lua
fuzzy finder written in lua. Contribute to PyDevC/fzf development by creating an account on GitHub.
I never coded. I’m trying to learn lua throguh immersion on Reddit.
im Making a game. Where You click a button, that button gives you a coin, that coin can be transferred as bitcoin. Give me lua codes!
https://redd.it/1knvut4
@r_lua
im Making a game. Where You click a button, that button gives you a coin, that coin can be transferred as bitcoin. Give me lua codes!
https://redd.it/1knvut4
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Looking for Developers to Build a Powerful FiveM Anti-Cheat Team
Hey everyone,
I’m currently working on building a new, advanced FiveM Anti-Cheat system that will compete with top names. The goal is to create a complete system with:
• Powerful client-side and server-side detection
• Trigger & event logging
• Cheat bypass detection
• Ban system with SQL logging & Discord webhook logs
• Clean and modern GUI
• Optimized performance and obfuscation
• Full config system and export-ready files
I’m looking for experienced people in the following areas:
• Lua development (FiveM client/server)
• C++ (for DLLs or native-based detection)
• SQL & Discord integration
• UI design for NUI menus
• Testing & exploit research
This project is serious and will be released with a licensing system. I’m open to profit-sharing if you’re dedicated and want to build something long-term.
If you’re interested, feel free to DM me or contact me on Discord
Discord: wayzedev
Let’s build the most secure anti-cheat together!
https://redd.it/1ko9f6n
@r_lua
Hey everyone,
I’m currently working on building a new, advanced FiveM Anti-Cheat system that will compete with top names. The goal is to create a complete system with:
• Powerful client-side and server-side detection
• Trigger & event logging
• Cheat bypass detection
• Ban system with SQL logging & Discord webhook logs
• Clean and modern GUI
• Optimized performance and obfuscation
• Full config system and export-ready files
I’m looking for experienced people in the following areas:
• Lua development (FiveM client/server)
• C++ (for DLLs or native-based detection)
• SQL & Discord integration
• UI design for NUI menus
• Testing & exploit research
This project is serious and will be released with a licensing system. I’m open to profit-sharing if you’re dedicated and want to build something long-term.
If you’re interested, feel free to DM me or contact me on Discord
Discord: wayzedev
Let’s build the most secure anti-cheat together!
https://redd.it/1ko9f6n
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Need to find a LUA dev
Hi! I need to find a lua dev to make a fast and really simple noscript if anyone can do it for free!
Discord: hassantaxi
https://redd.it/1ko92x7
@r_lua
Hi! I need to find a lua dev to make a fast and really simple noscript if anyone can do it for free!
Discord: hassantaxi
https://redd.it/1ko92x7
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
project setup with busted
I would like proposals what like a project setup could/should look like.
I got zerobrane studio and want to use busted for testing. i want to be able to build an artefact without tests. luarock is out of question as I am targetting a specific game extension.
is there anything in zerobrane supporting this? or getting close to it? I can well setup shell noscripts, but a more integrated approach would be preferred.
https://redd.it/1koq15g
@r_lua
I would like proposals what like a project setup could/should look like.
I got zerobrane studio and want to use busted for testing. i want to be able to build an artefact without tests. luarock is out of question as I am targetting a specific game extension.
is there anything in zerobrane supporting this? or getting close to it? I can well setup shell noscripts, but a more integrated approach would be preferred.
https://redd.it/1koq15g
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lua for Pokemon Pinball
Would anyone know know how to write a Lua noscript to the makes the entire playfield visible in pokemon pinball RS?
https://redd.it/1kot5zn
@r_lua
Would anyone know know how to write a Lua noscript to the makes the entire playfield visible in pokemon pinball RS?
https://redd.it/1kot5zn
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community