Lua aot
Reddit » Lua
by /u/Germisstuck
2d ago
Are there any Lua compilers? I really like Lua's syntax, but also really need performance. I was hoping to use Lua, but I can use nim. So is there any Lua to c/Lua to asm compiler? If not, I guess I'll use Nim. submitted by /u/Germisstuck [visit reddit] [comments ..read more
Visit website
If you are new to Lua, have you considered running it on a microcontroller?
Reddit » Lua
by /u/SoCalSurferDude
2d ago
The Xedge32 IDE, similar to Visual Studio Code but running in the browser, can be installed onto an ESP32 microcontroller directly from your browser. Perfect for beginners, this guide from Shilles Coding Tutorials walks you through the basics of the Lua programming language, showing how simple it is to set up your device and start scripting. https://youtu.be/2aunWZx-Hs0?si=WIHgJs9UBWixaVo- submitted by /u/SoCalSurferDude [visit reddit] [comments ..read more
Visit website
Any tips or advice to learn lua?
Reddit » Lua
by /u/_VoItage_1
2d ago
I wanna learn how to code on Roblox, but I also wanted to know if there’s any ACTUAL good sources I can learn from. I’m down to be patient with myself and learn from any source at this point. submitted by /u/_VoItage_1 [visit reddit] [comments ..read more
Visit website
First loops and tables i did
Reddit » Lua
by /u/thatthaboy
2d ago
Just some tests if you have any hint or critics about the code (Even if it's very simple) i accept, cuz i want to get better and learn lua Repeating = 10 print ("first repeat") print (" ") repeat print(Repeating) Repeating = Repeating - 1 until Repeating == 0 print (" ") print ("now While") print (" ") while Repeating <= 10 do print (Repeating) Repeating = Repeating + 1 end print (" ") print ("now for") print (" ") for i = 1, 10, 1 do print (i) end local thetable = {} thetable[1] = "Pedro" thetable[2] = "Maria" thetable[3] = "Jhon" thetable[4] = "Kaio" thetable[5] = "Toddler" local fired ..read more
Visit website
Apps for learning lua?
Reddit » Lua
by /u/Pretty-Climate-4098
2d ago
Im trying to learn lua and I’ve seen apps like Duolingo but for coding but it seems none have lua as an option does anybody know any apps? submitted by /u/Pretty-Climate-4098 [visit reddit] [comments ..read more
Visit website
Need a script repair/edit please
Reddit » Lua
by /u/Logansfury
2d ago
Hello everyone, I am working on a project on Linux Mint Cinnamon, using the app Conky to run a .lua script to display a randomly chosen .png image. I started with this script that displays a predetermined image: https://dpaste.org/vE9F4 Then I gave this script to an online .lua generator, asking to add a number randomizer for 1-49 and that it then display random number .png. Unfortunately, this is changing the image and displaying a different picture every second: https://dpaste.org/HR9Kt Can anyone fix the above script so that it generates a random number from 1-49 inclusive, displays only t ..read more
Visit website
Hello! I'm new at Lua, and need hints!
Reddit » Lua
by /u/thatthaboy
2d ago
so as the title say i' just got at Lua programming i'm seeing some full youtube series and praticing i' dont know a lot of Lua and i suck at math any hints or good material i could study about this coding lenguague? thanks! print ("Write OK") local question = io.read() if question == "OK" then print("Yay u did it right!!") else print ("No u did it wrong! i asked for OK not " .. " " .. question) end submitted by /u/thatthaboy [visit reddit] [comments ..read more
Visit website
Logitech G600 Right mouse click, left mouse click, and, middle mouse click refuse to appear in output.
Reddit » Lua
by /u/GoldleyGod
5d ago
I am toying around with Logitech G Hub Lua script's and cannot get an output message when pressing RMB, LMB, and MMB, all other mouse buttons register. I have searched all over google and in multiple subreddits as well as the Logitech G HUB Lua API V2023.5 Overview and Reference, this seems to be a problem only I have which is very strange, hoping someone can help. Code: EnablePrimaryMouseButtonEvents(true) // Enables LMB clicks to be registered, apparently all other mouse buttons are already enabled. function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.."\n") // Corr ..read more
Visit website
Best Lua IDE for begginer in may 2024
Reddit » Lua
by /u/Alternative-Owl-932
5d ago
Hello! I would like learn Lua for better understanding for gamedev. I have little experience in few languages. I tried to install LunarVim, but... I even cannot understand how to install "make" from prerequisites for Windows. Also, I prefer open source, so, I avoid Sublime Text, Jet Brais or Visual Studio. At first time I need only training and practice Lua language in Windows. Are the best items for begginer: 1) VScode with Lua extention; 2) NotePad++; But may be I did overlook something else? submitted by /u/Alternative-Owl-932 [visit reddit] [comments ..read more
Visit website
Tips for debugging?
Reddit » Lua
by /u/DartenVos
5d ago
I seem to spend 90%+ of my coding time on debugging / trying to figure out why something isn't working, and so I'm wondering if anyone has any general tips on how to debug more efficiently. I use a lot of print() statements to look at variables and stuff, but I wonder if there's anything more I could do to speed along my debugging process. I should mention that I'm not the most experienced coder, and am relatively new to lua. Also, I saw in the debug library / manual (?) (https://pgl.yoyo.org/luai/i/debug.debug) that apparently you can use debug.debug to "enter an interactive mode with the us ..read more
Visit website

Follow Reddit » Lua on FeedSpot

Continue with Google
Continue with Apple
OR