Where can you commission lua Devs?
Are there any sites that have a review/price system for commission work?
Looking for a talented Lua Dev to develop a semi advanced game add-on/plugin but have no idea where to look.
https://redd.it/1n7ei93
@r_lua
Are there any sites that have a review/price system for commission work?
Looking for a talented Lua Dev to develop a semi advanced game add-on/plugin but have no idea where to look.
https://redd.it/1n7ei93
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I'm looking for programmers for a Roblox Studio project.
This is a project made independently and made for the love of art.
To write code from the experience in LUA.
(Clarification: the group is in Spanish so this was written with Google Translate)
https://redd.it/1n7yewi
@r_lua
This is a project made independently and made for the love of art.
To write code from the experience in LUA.
(Clarification: the group is in Spanish so this was written with Google Translate)
https://redd.it/1n7yewi
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How do I detect specific text from input, and could you give suggestions on how to improve my code (I am making RPS)
rps = {'r', 'p' ,'s'}
local Playerpick = io.read()
local function plachoice()
if Playerpick == rps then
print(Playerpick)
else
print("Pick r, p or s")
end
end
local function comchoice()
return print(rps[math.random(#rps)\])
end
local function banner()
print("!!WELCOME TO ROCK PAPER SCISSORS!!")
print("!!WHEN READY, ENTER EITHER R, P OR S!! (LOWERCASE R, P OR S) ")
end
banner()
comchoice()
plachoice()
https://redd.it/1n8fwtw
@r_lua
rps = {'r', 'p' ,'s'}
local Playerpick = io.read()
local function plachoice()
if Playerpick == rps then
print(Playerpick)
else
print("Pick r, p or s")
end
end
local function comchoice()
return print(rps[math.random(#rps)\])
end
local function banner()
print("!!WELCOME TO ROCK PAPER SCISSORS!!")
print("!!WHEN READY, ENTER EITHER R, P OR S!! (LOWERCASE R, P OR S) ")
end
banner()
comchoice()
plachoice()
https://redd.it/1n8fwtw
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How do i start noscripting on roblox
i've been searching up ways to learn luau and lua and i couldn't find anything if someone have some info please tell me ASAP
https://redd.it/1n8fspc
@r_lua
i've been searching up ways to learn luau and lua and i couldn't find anything if someone have some info please tell me ASAP
https://redd.it/1n8fspc
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Project ideas for a 5-7/10 lua skill level user?
Hi! I'm bored and i want to code something in lua, but i don't have any ideas, so i want to hear you guys ideas for a lua project. Also im really sorry if i put a wrong flair, i was debating on help and project.
Thanks!
https://redd.it/1n9ybyr
@r_lua
Hi! I'm bored and i want to code something in lua, but i don't have any ideas, so i want to hear you guys ideas for a lua project. Also im really sorry if i put a wrong flair, i was debating on help and project.
Thanks!
https://redd.it/1n9ybyr
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
How can I share my screen and turn on my camera with luamacros?
Is it possible to press a key and discord will share screen 1? From what ive seen It would need to use the gui witch wouldn't work for me.
https://redd.it/1na7l64
@r_lua
Is it possible to press a key and discord will share screen 1? From what ive seen It would need to use the gui witch wouldn't work for me.
https://redd.it/1na7l64
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Typehint comments possible syntax
Hi Friends! Recently I told here about my meek attempt to make small "syntax sugar" additions to Lua source code and there was one curious comment suggesting that "type hints" on function arguments and return may be useful addition too.
While I have no skills to make such type-hints actually verify value types (in runtime?) of course it is easy to add them as a kind of special comment, e.g. so that programmer use them as reminder (and perhaps later some external tool for checking types could be devised) - I used colon to separate them (the typehint itself could be any identifier, except reserved words).
function hash(s:str):int
-- ...
end
As they are optional this is still compatible with original Lua and addition to the code is less than ten lines.
However I wonder - colon is used in Lua for different things (table-related case particularly) - seemingly this should never cause any semantic/syntactic "collision" but perhaps I'm wrong and missing something?
Project could be seen here: https://github.com/RodionGork/lua-plus/ (and could be tested online, by the way, if you follow the links to Lua-emcc - I decided to add these "amends" here).
https://redd.it/1naanaw
@r_lua
Hi Friends! Recently I told here about my meek attempt to make small "syntax sugar" additions to Lua source code and there was one curious comment suggesting that "type hints" on function arguments and return may be useful addition too.
While I have no skills to make such type-hints actually verify value types (in runtime?) of course it is easy to add them as a kind of special comment, e.g. so that programmer use them as reminder (and perhaps later some external tool for checking types could be devised) - I used colon to separate them (the typehint itself could be any identifier, except reserved words).
function hash(s:str):int
-- ...
end
As they are optional this is still compatible with original Lua and addition to the code is less than ten lines.
However I wonder - colon is used in Lua for different things (table-related case particularly) - seemingly this should never cause any semantic/syntactic "collision" but perhaps I'm wrong and missing something?
Project could be seen here: https://github.com/RodionGork/lua-plus/ (and could be tested online, by the way, if you follow the links to Lua-emcc - I decided to add these "amends" here).
https://redd.it/1naanaw
@r_lua
GitHub
GitHub - RodionGork/lua-plus: Attempt to make small additions to Lua, maintaining compatibility
Attempt to make small additions to Lua, maintaining compatibility - RodionGork/lua-plus
I built KeyCaster.spoon: a keystroke overlay for Hammerspoon (configurable, multi-display, MIT)
https://redd.it/1nadh7w
@r_lua
https://redd.it/1nadh7w
@r_lua
I just downloaded VS Code on my steam deck but Lua doesnt work
I checked my steam os terminal and it says Lua exists but whenever I try using the 'lua -v', it says the lua command doesnt exist. I tried every way to download lua on VS Code like changing the shell but nothing works. How do I fix this?
https://redd.it/1nagudp
@r_lua
I checked my steam os terminal and it says Lua exists but whenever I try using the 'lua -v', it says the lua command doesnt exist. I tried every way to download lua on VS Code like changing the shell but nothing works. How do I fix this?
https://redd.it/1nagudp
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lua to apk
Hello,
I apologize in advance if this isn't the right place, or if the answer already exists, but I couldn't find anything. Maybe I didn't search properly.
I made a small, insignificant game in Lua (which taught me the language, which was one of the two goals). This game is just for me and a few friends.
I just wanted to make a small game on an Android phone to keep me busy while commuting.
The game isn't finished, but it's testable, and I'd like to try it on a mobile phone. But I'm a complete idiot and I don't understand how to do it at all. Is there an easy way to generate an APK so I can share it with my friends? I know you can launch it with a .love file and a dedicated application, but it's not practical for distributing it to my friends, and especially the game launches in landscape mode even though it's designed for portrait mode, making it unplayable because everything overlaps.
Thank you in advance for your help.
https://redd.it/1nbu6px
@r_lua
Hello,
I apologize in advance if this isn't the right place, or if the answer already exists, but I couldn't find anything. Maybe I didn't search properly.
I made a small, insignificant game in Lua (which taught me the language, which was one of the two goals). This game is just for me and a few friends.
I just wanted to make a small game on an Android phone to keep me busy while commuting.
The game isn't finished, but it's testable, and I'd like to try it on a mobile phone. But I'm a complete idiot and I don't understand how to do it at all. Is there an easy way to generate an APK so I can share it with my friends? I know you can launch it with a .love file and a dedicated application, but it's not practical for distributing it to my friends, and especially the game launches in landscape mode even though it's designed for portrait mode, making it unplayable because everything overlaps.
Thank you in advance for your help.
https://redd.it/1nbu6px
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Saving content of the program
Hi! I learned lua a couple years ago but I don't practice often. One time i tried to create a diary in lua using löve2d to make the UI, but I struggled to make a saving function. I didn't used any other libraries unless the base lua and löve2d. I know that exists the table io but I struggled to use it. Can somebody help me?
https://redd.it/1nbuoov
@r_lua
Hi! I learned lua a couple years ago but I don't practice often. One time i tried to create a diary in lua using löve2d to make the UI, but I struggled to make a saving function. I didn't used any other libraries unless the base lua and löve2d. I know that exists the table io but I struggled to use it. Can somebody help me?
https://redd.it/1nbuoov
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Numpy for luau?
Hello all!
I plan on implementing add-on support for my pet project, and so far Luau looks like the most battle tested solution! I love the sandboxing and the type checking features!
Performance of generating 5 242 880 numbers (math.noise), by default, is 0.6 sec, vs 0.19 in cpp.
I managed to get a primitive
https://github.com/luau-lang/luau/discussions/1994
Is there a numpy-like library I can use with Luau? I can implement the methods more or less but I feel like I would duplicate work and my version would be sub standard.
I found numlua and lua-linear, but both seems abandoned.
https://redd.it/1nbw374
@r_lua
Hello all!
I plan on implementing add-on support for my pet project, and so far Luau looks like the most battle tested solution! I love the sandboxing and the type checking features!
Performance of generating 5 242 880 numbers (math.noise), by default, is 0.6 sec, vs 0.19 in cpp.
I managed to get a primitive
array type working when I realized the bottleneck is the stack between the Lua and the Cpp world. With this I managed to get the runtime down to 0.26, which is good for an interpreted language.https://github.com/luau-lang/luau/discussions/1994
Is there a numpy-like library I can use with Luau? I can implement the methods more or less but I feel like I would duplicate work and my version would be sub standard.
I found numlua and lua-linear, but both seems abandoned.
https://redd.it/1nbw374
@r_lua
GitHub
Performance of generating 5 242 880 numbers · luau-lang luau · Discussion #1994
Hello everybody! I plan on implementing add-on support for my pet project, and so far Luau looks like the most battle tested solution! I love the sandboxing and the type checking features! One of m...
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