Quantcast WoWInterface - View Single Post - Two Questions: Learning LUA & Custom Animations in game
View Single Post
04-09-13, 03:57 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,586
Originally Posted by SDPhantom View Post
Once you get the hang of understanding Lua, you can try to take a small addon and look at the code for it.
I'm not sure if you have any experience with any other programming languages or not, but if you're like me, it's probably easiest to just start by opening up a small addon and figuring out how it works. I hate the little random tasks you'll find in most "learn this programming language" guides that teach you the basic concepts but don't actually accomplish anything, like the classic "Hello world" example. I'm much happer diving into something that actually does something, even if it's confusing at first.

By "small addon", look for something in the 10-30 lines of code ballpark.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote