Need help
Can someone please explain to me about parameter, return, and argument?
https://redd.it/1nc50r0
@r_lua
Can someone please explain to me about parameter, return, and argument?
https://redd.it/1nc50r0
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
[Release] CursorScope.spoon — cursor highlight + live magnifier for Hammerspoon
https://redd.it/1ncbsvw
@r_lua
https://redd.it/1ncbsvw
@r_lua
A Lua Style Guide for the Community
Hey everyone,
I’ve been working on a **Lua style guide** and wanted to share it with the community.
The goal is to improve code readability and consistency, and to provide a reference that teams or individual developers can adopt.
The guide covers things like:
* Naming conventions
* Formatting (indentation, whitespace, line breaks)
* Table and function usage
* Performance tips
* Common pitfalls and best practices
You can check it out here: [https://github.com/ShaharBand/lua-style-guide](https://github.com/ShaharBand/lua-style-guide)
This isn’t meant to be the “one true way” to write Lua, but rather a starting point for discussion and refinement. I’d love feedback, suggestions, or contributions—whether you agree, disagree, or have alternative conventions that work well for you.
Hopefully this can grow into something the Lua community finds useful, especially for newcomers who want a clear reference on writing clean Lua code.
What do you all think?
https://redd.it/1ncqnx7
@r_lua
Hey everyone,
I’ve been working on a **Lua style guide** and wanted to share it with the community.
The goal is to improve code readability and consistency, and to provide a reference that teams or individual developers can adopt.
The guide covers things like:
* Naming conventions
* Formatting (indentation, whitespace, line breaks)
* Table and function usage
* Performance tips
* Common pitfalls and best practices
You can check it out here: [https://github.com/ShaharBand/lua-style-guide](https://github.com/ShaharBand/lua-style-guide)
This isn’t meant to be the “one true way” to write Lua, but rather a starting point for discussion and refinement. I’d love feedback, suggestions, or contributions—whether you agree, disagree, or have alternative conventions that work well for you.
Hopefully this can grow into something the Lua community finds useful, especially for newcomers who want a clear reference on writing clean Lua code.
What do you all think?
https://redd.it/1ncqnx7
@r_lua
GitHub
GitHub - ShaharBand/lua-style-guide: style guide for Lua
style guide for Lua . Contribute to ShaharBand/lua-style-guide development by creating an account on GitHub.
luau
Alguém pode me explicar como funciona o código luau o que é usado em jogos do Roblox estou com uma grande dúvida
https://redd.it/1ncuh4n
@r_lua
Alguém pode me explicar como funciona o código luau o que é usado em jogos do Roblox estou com uma grande dúvida
https://redd.it/1ncuh4n
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How do I learn roblox lua?
So i've been wondering how i learn lua i tried to watch youtube video's but they all cover up the same i actually wanne learn the coding not those basic things.
https://redd.it/1nda1ld
@r_lua
So i've been wondering how i learn lua i tried to watch youtube video's but they all cover up the same i actually wanne learn the coding not those basic things.
https://redd.it/1nda1ld
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
documentação?
eu basicamente tô engatinhando em aprender lua, fiz alguns vírus de ambiente controlado que abrem várias abas com whole e tô aprendendo a parte dos If/whole e etc.
porém tudo que aprendi até agora foi com um amigo que já sabia um pouco mais, queria saber onde acho documentação oficial de lua
https://redd.it/1nds7ot
@r_lua
eu basicamente tô engatinhando em aprender lua, fiz alguns vírus de ambiente controlado que abrem várias abas com whole e tô aprendendo a parte dos If/whole e etc.
porém tudo que aprendi até agora foi com um amigo que já sabia um pouco mais, queria saber onde acho documentação oficial de lua
https://redd.it/1nds7ot
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Using Lua (LÖVE) to make iOS apps and games
https://github.com/xanthiacoder/LOVE-on-iOS
https://redd.it/1ndxjvg
@r_lua
https://github.com/xanthiacoder/LOVE-on-iOS
https://redd.it/1ndxjvg
@r_lua
GitHub
GitHub - xanthiacoder/LOVE-on-iOS: All about developing and running LÖVE bundles on iOS devices for free
All about developing and running LÖVE bundles on iOS devices for free - xanthiacoder/LOVE-on-iOS
I’m trying to make an Animal Crossing type Roblox game but idk how to code (Roblox code is Lua code. Username on Roblox is WigglesWantsCheese)
I’ve been dreaming of a game like animal crossing for months now but I don’t know how to code. I’m also rlly broke so if you want to do it 4 free. Or we can split the profit from the game. Think of me as…. The animator and the music guy. But idk how to import the animations to the proper sequences
View Poll
https://redd.it/1nfnjst
@r_lua
I’ve been dreaming of a game like animal crossing for months now but I don’t know how to code. I’m also rlly broke so if you want to do it 4 free. Or we can split the profit from the game. Think of me as…. The animator and the music guy. But idk how to import the animations to the proper sequences
View Poll
https://redd.it/1nfnjst
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Is there any discord server for sharing lua code?
I know about the Libera channel and the mailing thing, but I don't really like the format of those.
I considered just posting exercise solutions and etc here, but the sub doesn't have that many posts, so it would become quite spamy.
TLDR: where should I share my code to know if I am doing best practice/just to talk about it?
https://redd.it/1nghdh6
@r_lua
I know about the Libera channel and the mailing thing, but I don't really like the format of those.
I considered just posting exercise solutions and etc here, but the sub doesn't have that many posts, so it would become quite spamy.
TLDR: where should I share my code to know if I am doing best practice/just to talk about it?
https://redd.it/1nghdh6
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I’m creating another poll because everyone would rather die then help me make a game in Roblox (Roblox is lua) it’s an animal crossing type game. We can split the profit. Username on Roblox is MrWIggles555555
I need a pro noscripter,
Someone to import the animations I make into inputs,
Someone to make a thumbnail
I got the other stuff like camera and music
View Poll
https://redd.it/1nh1hht
@r_lua
I need a pro noscripter,
Someone to import the animations I make into inputs,
Someone to make a thumbnail
I got the other stuff like camera and music
View Poll
https://redd.it/1nh1hht
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
HELP! Recoil Script
Can someone help me? My recoil are good but after 3 seconds its going down.
EnablePrimaryMouseButtonEvents (true);
function OnEvent(event,arg)
if IsKeyLockOn("CapsLock")then
if IsMouseButtonPressed(1)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(12)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(1)
end
end
end
https://redd.it/1nhb2za
@r_lua
Can someone help me? My recoil are good but after 3 seconds its going down.
EnablePrimaryMouseButtonEvents (true);
function OnEvent(event,arg)
if IsKeyLockOn("CapsLock")then
if IsMouseButtonPressed(1)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(12)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(1)
end
end
end
https://redd.it/1nhb2za
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community