• I am interested in learning how to Lua Code - Do you reccomend anything to help me learn?
    12 replies, posted
Hello. After reading around, i've decided i want to learn Lua, as it's supossedly one of the easiest programming languages to learn. So, do you reccomend any websites, tutorials, or other ways of me to learn? I in no way think it's going to be easy, but i really do want to learn. Also, i'm very interested in creating Gmod addons and such, so if there is a way for me to learn how to code Lua for gmod, that would be greatly appreciated.
Learning gmod lua right off the bat probably isnt the best of ideas because it is a bit different from standard lua, though there are probably a few members who did exactly that Doesnt lua.org have a downloadable tutorial thing? I cant remember now, ill go have a look Edit: The lua for windows executable seems to come with a runnable tutorial of examples that you can try out as you go along. I have no idea how good or not this is, feel free to try it but other members with experience will most probably know better places to go [url]http://code.google.com/p/luaforwindows/downloads/list[/url]
[QUOTE=Icedshot;31867837]Learning gmod lua right off the bat probably isnt the best of ideas because it is a bit different from standard lua, though there are probably a few members who did exactly that Doesnt lua.org have a downloadable tutorial thing? I cant remember now, ill go have a look Edit: The lua for windows executable seems to come with a runnable tutorial of examples that you can try out as you go along. I have no idea how good or not this is, feel free to try it but other members with experience will most probably know better places to go [url]http://code.google.com/p/luaforwindows/downloads/list[/url][/QUOTE] Thanks, i'll be sure to try it later, when i'm back on my computer. If anyone else has any suggestions, though, it would be very helpful to post them.
[QUOTE=Icedshot;31867837]Learning gmod lua right off the bat probably isnt the best of ideas[/QUOTE] I actually think it's a really good idea. Having a goal and being able to actually see results quickly is likely to motivate a new programmer a lot more than doing a bunch of unbelievably boring exercises from a tutorial/book. I haven't written any scripts for GMod lately (in fact I don't think I've written any at all for GMod 10), but I can't imagine it's different enough to cause any real trouble.
[QUOTE=ROBO_DONUT;31868434]I actually think it's a really good idea. Having a goal and being able to actually see results quickly is likely to motivate a new programmer a lot more than doing a bunch of unbelievably boring exercises from a tutorial/book. I haven't written any scripts for GMod lately (in fact I don't think I've written any at all for GMod 10), but I can't imagine it's different enough to cause any real trouble.[/QUOTE] Exactly, i want to see results quickly - I'm a patient man, but seeing it get done fast is great. If you have any good tutorials for jumping into Gmod scripting, post them! Honestly, i'm kind-of excited about the thought of making some simple entities, and watch them work in-game.
[QUOTE=ROBO_DONUT;31868434]I actually think it's a really good idea. Having a goal and being able to actually see results quickly is likely to motivate a new programmer a lot more than doing a bunch of unbelievably boring exercises from a tutorial/book. I haven't written any scripts for GMod lately (in fact I don't think I've written any at all for GMod 10), but I can't imagine it's different enough to cause any real trouble.[/QUOTE] Even so, GMod isn't the best idea. [URL="http://love2d.org/"]LÖVE[/URL] is probably better.
[QUOTE=BlkDucky;31869410]Even so, GMod isn't the best idea. [URL="http://love2d.org/"]LÖVE[/URL] is probably better.[/QUOTE] The screenshots on the page tell me it's rather crappy - Not that my creations [i]won't[/i] be, but still, i would prefer tutorials for Gmod, first and foremost.
It all depends on what you want to do really, you can learn through the PIL on lua's official website but personally I got to grips with Lua while using LÖVE simply because it was easy to draw things to the screen and actually see cool things that you made using Lua, It motivated me more because i could actually create a game or whatever quickly then develop it further and learn new techniques. If your into Minecraft then [url]www.luaserver.org[/url] is awesome for you.
[QUOTE=NateDude;31871139]The screenshots on the page tell me it's rather crappy - Not that my creations [i]won't[/i] be, but still, i would prefer tutorials for Gmod, first and foremost.[/QUOTE] Crappy? That's a pretty darn good engine for using Lua.
I'd recommend LOVE as well. Good documentation and it's really satisfying to use something that just visually works right in front of you.
[QUOTE=NateDude;31871139]The screenshots on the page tell me it's rather crappy - Not that my creations [i]won't[/i] be, but still, i would prefer tutorials for Gmod, first and foremost.[/QUOTE] That means the art is crappy, not the engine. But if you want to learn Lua to code things for GMod, it's better to just start in GMod and visit the [url=http://www.facepunch.com/forums/65-LUA-Scripting]Lua section[/url] of this forum. No point in using LOVE if your intention isn't to make entire games.
I too recommend LOVE, I used it to make a simple game for my Computing BTEC, had never touched Lua before that and it turned out pretty well
i recommend gmod, you can get stuff on the screen really quick and you dont have to care about anything, no physics or entmanager or whatsoever. You just use the gmod/source systems, there is lots of example code, a fairly good documentation, lots of tutorials and a (rather)helpful community. You should also get the lua book, it's a nice read and helps you to fully understand the language
Sorry, you need to Log In to post a reply to this thread.