WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Best place to learn lua? (https://www.wowinterface.com/forums/showthread.php?t=49782)

morpheusxeno 08-23-14 10:18 AM

Best place to learn lua?
 
There is no cut and dry method, no good books , all the websites I have been to expect some sort of knowledge of programming already. I have tried the books from :

http://wowprogramming.com/
Beginning Lua World Warcraft Add-ons from Amazon
Lua for beginners
http://www.lua.org/

Does anyone have any other suggestions. I about to try the lua for dummies books but I am not finding enough examples.

Nothing that breaks the code down to itty bitty steps. I understand what the code does by looking at it , but I dont understand how to make my own code. Kindal like learning spanish I guess. I know what the word means when I hear it, but I dont know how to construct my own thoughts

SDPhantom 08-23-14 11:37 AM

I'd suggest WoWPedia: Getting started with writing addons and other pages in WoWPedia: Interface Customization Portal.

morpheusxeno 08-23-14 11:47 AM

Ill check that website tonight, I have to get another keyboard, I was unlucky with this last throw, the keyboard landed on concrete instead of the grass.

Keyboard certainly did not take the 35 G impact like the name indicates. Damn you Logitech

Phanx 08-23-14 01:56 PM

Quote:

Originally Posted by morpheusxeno (Post 295866)
I have to get another keyboard, I was unlucky with this last throw, the keyboard landed on concrete instead of the grass.

Reminds me of the time in middle school when my mom threw my Sega Genesis out the back door. It landed on the grass though. :p

Anyway, you'll probably find that many "how to write addons" resources for beginners talk about XML -- the only thing you will ever need to use XML for is to create inheritable templates for user with secure headers, which is a very advanced topic that has very little application in addons, so you'll almost certainly never need to worry about it. I'd suggest skipping over any XML tutorials, as it's simpler to just create your frames in Lua.

Lag123 08-23-14 02:12 PM

Good Lua book ( for Lua version 5.1 )
"Programming in Lua" from "Roberto Ierusalimschy"

Online sources ( Lua )
http://www.lua.org/manual/5.1/
http://lua.gts-stolberg.de/en
https://www.google.com

Online sources ( WoW )
http://wowpedia.org/
http://wowprogramming.com/
http://forums.wowace.com/index.php

Existing Add Ons to learn from the code ( be careful with this because there are enough AddOns out there that use bad code :P )
http://www.wowinterface.com/
http://www.curse.com/addons/wow

Other things
Start with a small testproject and play with things.
Dont throw keyboards they are Hardware no Throwware.
:banana:

SDPhantom 08-23-14 04:23 PM

Quote:

Originally Posted by Phanx (Post 295873)
Anyway, you'll probably find that many "how to write addons" resources for beginners talk about XML -- the only thing you will ever need to use XML for is to create inheritable templates for user with secure headers, which is a very advanced topic that has very little application in addons, so you'll almost certainly never need to worry about it. I'd suggest skipping over any XML tutorials, as it's simpler to just create your frames in Lua.

Ya, XML used to be a thing back in the day before they had CreateFrame() and made Lua files loadable in the TOC. Back then, UI elements had to be defined in XML and Lua files had to be loaded using the <Script> tag.

morpheusxeno 08-23-14 06:45 PM

Quote:

Originally Posted by Lag123 (Post 295875)
Good Lua book ( for Lua version 5.1 )
"Programming in Lua" from "Roberto Ierusalimschy"

Online sources ( Lua )
http://www.lua.org/manual/5.1/
http://lua.gts-stolberg.de/en
https://www.google.com

Online sources ( WoW )
http://wowpedia.org/
http://wowprogramming.com/
http://forums.wowace.com/index.php

Existing Add Ons to learn from the code ( be careful with this because there are enough AddOns out there that use bad code :P )
http://www.wowinterface.com/
http://www.curse.com/addons/wow

Other things
Start with a small testproject and play with things.
Dont throw keyboards they are Hardware no Throwware.
:banana:

I cant take what you say seriously, You listed Google as a source. ... Almost like a jack ass.

Sharparam 08-23-14 07:14 PM

Google is a very good place to find information though. There are countless StackOverflow questions/answers for example, which can often help when you are experiencing problems, and the best way to find those SO posts is through Google...

Seerah 08-23-14 08:33 PM

I Google questions I have or problems/tricky spots I run into.

Wimpface 08-24-14 01:52 AM

Quote:

Originally Posted by morpheusxeno (Post 295884)
I cant take what you say seriously, You listed Google as a source. ... Almost like a jack ass.

Google probably tops WoWProgramming for me when looking for assistance on coding.

I started off just modifying other people's codes until I felt I was ready to make an oUF layout... it went okay.

#wowuidev on IRC is good too, this community is really friendly in general.

ravagernl 08-24-14 07:03 AM

Quote:

Originally Posted by morpheusxeno (Post 295884)
I cant take what you say seriously, You listed Google as a source. ... Almost like a jack ass.

http://bit.ly/1t45fz4 :D

Quote:

Google is a very good place to find information though. There are countless StackOverflow questions/answers for example, which can often help when you are experiencing problems, and the best way to find those SO posts is through Google...
This!

morpheusxeno 08-24-14 09:27 AM

No shit... Who doesnt use google for answers to their questions now?

Quote:

Originally Posted by ravagernl (Post 295904)

Hilarious!

I know I can use google to find the answers. I am looking for personal options on best sources. And some sources I have seen linked I havent used yet so I will give them a try.

JDoubleU00 08-24-14 09:37 AM

Quote:

Originally Posted by ravagernl (Post 295904)

ROFL!.....

Torhal 08-24-14 11:40 AM

Quote:

Originally Posted by morpheusxeno (Post 295907)
No shit... Who doesnt use google for answers to their questions now?

You'd be surprised, which is likely why it was listed - as an actual helpful statement, not as a jackass methodology. I've seen plenty of people who know better simply not use Google when trying to figure something out.

Seerah 08-24-14 04:14 PM

If he wanted to be a jackass, you would have gotten this:
http://lmgtfy.com/?q=lua+wow+tutorials

SDPhantom 08-26-14 09:55 PM

Quote:

Originally Posted by Seerah (Post 295922)
If he wanted to be a jackass, you would have gotten this:
http://lmgtfy.com/?q=lua+wow+tutorials

He did by someone else.
Quote:

Originally Posted by ravagernl (Post 295904)


Seerah 08-27-14 07:18 PM

I guess I forgot to click that one! :p


All times are GMT -6. The time now is 06:12 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI