|
Post by Revan on May 1, 2009 14:15:47 GMT -5
Ok, I finally got around to it, here are some basic tutorials (will make more later). The second one is missing right now, I'll get it uploaded (again) soon. Introduction/Setup: link- mirrorVariables: linkProgram Flow (if statements): link- mirrorFunctions: link- mirrorLoops: link- mirrorHooks: link- mirror
|
|
cory
New Member
Posts: 1
|
Post by cory on May 1, 2009 17:16:54 GMT -5
Thanks For The LUA tutorials id like to see more in the near future maybe.. like making a very simple entity? like the bouncy ball that gives health just a idea.. the tutorials are good tho keep up the good work also... the parameters is what i was really confused on i didn't know what they did like ply or arg and stuff like that Thanks in Advanced ;D just curious what happen to number 2 tutorial u went to 1 to 3 then to 4
|
|
|
Post by Revan on May 4, 2009 9:41:48 GMT -5
#2 didn't upload properly. #5 is up -- I'll link it in a minute, 6 is on the way (recorded not uploaded)
parameters are basically data you give to functions when you call them.... so as long as it's a value, you can 'pass' (the technical term) that value to the function. The function then copies that value and can use it like a variable. Soooo this:
local var = 5
function moo(x) print(x) end
moo(var)
will take 5, give it to moo, moo then calls that 5 'x', and then you print x, which is 5, to console.
Now, you actually don't need to pass it in this case because of scope, the variable var was declared within the scope that the function is in, so I could just do a print(var) in the function.
And as for entities, that's jumping the gun a little bit.
|
|
|
Post by weirdguy on Jul 24, 2009 12:36:57 GMT -5
Where is the second tutorial? (panics)
You might make me start with LUA! and it doesn't look so hard after all but i need that tutorial , aaahhhh.
|
|
|
Post by Revan on Jul 24, 2009 23:03:02 GMT -5
Oh yeah, I don't have that up there do I, I'll fix that tomorrow (but thanks to revver it probably won't be up till like... tuesday)
|
|
|
Post by weirdguy on Jul 25, 2009 20:06:14 GMT -5
Thanks. I really appriciate all of your tutorials. And since i couldn't find the edit button in my last post ( assuming there is one):
You might make me start with LUA!Oh wait, i found it, silly me.
|
|
|
Post by Revan on Jul 25, 2009 22:14:27 GMT -5
I didn't get around to it today, sorry, hopefully tomorrow.
|
|
|
Post by weirdguy on Jul 28, 2009 9:57:31 GMT -5
No rush, been waiting for my cabinett for a month now, and i'm starting to smell scam.
Are you planning to post more LUA tutorials?
|
|
|
Post by Revan on Jul 28, 2009 22:45:56 GMT -5
Erm. Planning yes, but I'm busy as hell with my job.
|
|
|
Post by Revan on Aug 15, 2009 2:30:55 GMT -5
Probably be making some more lua tutorials soon.... and or some on 3DS Max.
|
|
|
Post by weirdguy on Aug 16, 2009 11:33:09 GMT -5
Must...have...the...second...lua...tutorial...
|
|
|
Post by Revan on Aug 16, 2009 17:11:01 GMT -5
Haha, it's the only one that hasn't been reviewed yet...... taking a long time to "transcode"... the others will be up shortly.
|
|
|
Post by Revan on Aug 16, 2009 20:58:49 GMT -5
The variables one is uploading at the moment, but hooks is ready to go.
|
|
|
Post by Revan on Aug 17, 2009 21:26:15 GMT -5
Revver hates my variables tutorial.... I'll try something to get it working...
|
|
|
Post by weirdguy on Aug 28, 2009 8:41:56 GMT -5
...Day 74...Revan still haven't uploaded his second lua tutorial...Running out of bean cans...Starting to hear funny noises in my head, but i'm not crazy...crazy....crazy....crazy...
|
|