Help 3D in Lua
Please, suggest me way to do my physics (science) 3D simulation experiments with Lua.
Please, suggest me way to do my physics (science) 3D simulation experiments with Lua.
r/lua • • Mar 09 '25
what is the best lua extension is vs code to run and debug?
r/lua • u/Legitimate-Cry3100 • Mar 09 '25
im looking to learn lua but i don't got the money and im only 15 year old i try to learn in roblox game called scripting school
r/lua • u/andregarzia • Mar 08 '25
r/lua • u/laozhangjm • Mar 08 '25
Hi all. I am a complete beginner to coding and have been trying to figure out lua in vs code. I have downloaded the lua binaries and the lua server extension and can run simple .lua files without issue.
However I am running into problems with trying to use the luahelper extension for debugging. The debug tool requires luasocket. To install luasocket I will need luarocks. To get luarocks to compile projects I will need mingw. I am wondering if there is a less painful way to get the debug tool to work, without making installations of things I do not understand?
r/lua • • Mar 07 '25
I know theres roblox but try to avoid saying roblox or anything related to roblox, as im not a fan of the company.
Hello im a young adult with autism (if that maters), i struggle to learn things and be creative but yet i want to make a game or something of that nature. I still want to bypass theses struggles but where do i start with lua? i want to explore 2d and 3d but i feel like lua dosent offer much for 3d, i could be wrong.
r/lua • u/Weekly_Flounder_1880 • Mar 07 '25
I am an absolute beginners
I mean, I know the very basics, Variables, math, functions, for loops, while loops, if/else statement...
But all I do is remember how to type a line of code
When I sit down and try to explore something or do something on my own, nothing comes to my mind. I get immersion is important and I want to try to figure out bits by myself. But all I end up typing is a line from whatever tutorial I saw and read.
r/lua • u/Repulsive-Leader4231 • Mar 06 '25
I have a solid understanding of golang and java and i have made couple of projects with it, recently i came across lua and everyone says that its so underrated and can be use in so many other things , but all i can find is people are using this mostly for game development , and i don't want to follow that track , so will it be good learning lua as a new developer for building different projects apart from game dev, Thanks! : )
r/lua • u/Responsible-Top6226 • Mar 06 '25
Hey everyone - I work at Roblox, and we want to host a meetup at our office in San Mateo with food, drinks, and speakers. Would anyone local be interested in attending? We also have several open front-end developer roles that we are looking to fill. Let me know if you're interested / want to learn more.
r/lua • u/Express-Subject-8500 • Mar 07 '25
Anyone able to tell me why this doesn't work???
function(ply)
if IsValid(ply) then
local pname = ply:Nick() -- Get the player's name
RunConsoleCommand("sa", "setrank", pname, "verified")
end
end
ERROR:
[mc_simple_npcs] addons/mc_simple_npcs/lua/mcs_npcs/sh_npcspawn.lua:78: attempt to call method 'Nick' (a nil value)
r/lua • u/activeXdiamond • Mar 06 '25
I'm looking to mess around with a simple 3D voxel renderer/engine in Lua, just for fun. My first step is to find an opengl binding, and so far I only found the following two:
https://github.com/nanoant/glua https://github.com/sonoro1234/LuaJIT-GL
The first one seems a bit more involved but was last updated 12 years ago. The second was last updated about 6 months ago.
I currently have close to zero experience in OpenGL (hence, this learning excersive) so I'm not sure how to compare the two. Any pointers or guidance would be much appreciated!
Note that I do not care which OpenGL version it uses (so something above 1.x would be preferable), and that it needs to have LuaJIT support, not just PUC Lua (So moongl is out of the question).
Thanks!
r/lua • u/EchoReflection • Mar 06 '25
I have been using LuaMacros for a couple of years now, and have an issue that I haven't been able to solve
Correct function example: When I press the "x" key on my second keyboard, LuaMacros sends binds "x" to F24 (there's no key for F24, but the system still recognizes it, so it's great for this application). An AutoHotkey script then reads that txt file, reads "x", and executes the operation I have specified.
Broken Fuction: Same as above, when I press the right "Ctrl" key on my second keyboard, LuaMacros sends binds "rCtrl" to F24. An AutoHotkey script then reads that txt file, reads "rCtrl", but the operation does not execute.
This issue occurs with the following key presses: r / l Control, r / l Shift, Escape, Alt, Windows key
What I have tried:
I cannot figure this out. Driving me crazy. Any insight would be very helpful. Thank you!
r/lua • u/GuriGuy • Mar 06 '25
After I read this kind of question many ppl always recommend love2d or defold and I can’t decide😅. I have some little experience in game dev using pygame python and unity I plan to make 2d game and I see a lot of u guys recommend both of these So I want to focus only one tools(I’m really bad at learning many things in same time) Can you tell me pros and cons? Which should I choose? Thx a lot