I need something like ScriptGuilder's tutorial. That video got me started as to knowing what a metatable is. It's just too bad that he seems to be on a hiatus.
A comparison between Using Purely Normal Tables vs. Metatables might be a good start.
Search found 260 matches
- Fri Oct 13, 2017 2:43 am
- Forum: General
- Topic: I Need Lua Metatable Tutorials for NOOBs
- Replies: 6
- Views: 5336
- Fri Oct 13, 2017 1:04 am
- Forum: General
- Topic: I Need Lua Metatable Tutorials for NOOBs
- Replies: 6
- Views: 5336
I Need Lua Metatable Tutorials for NOOBs
This question is mostly directed to Sir_Silver since he seems to use it a lot.
I want to harness the power of Lua Metatables, but I'm having a problem with the learning curve. Any links to good tutorials out there?
I want to harness the power of Lua Metatables, but I'm having a problem with the learning curve. Any links to good tutorials out there?
- Wed Oct 04, 2017 11:43 pm
- Forum: Support and Development
- Topic: Am i using the Draw function wrong?
- Replies: 3
- Views: 3337
Re: Am i using the Draw function wrong?
Let's put this in bare-bones code form: function love.load() -- Initialize some stuff -- I think you should put your x, y, red, etc... things here. end -- Correction 1: Your Xmove() should work like this. Not in draw() function Xmove() end function love.update(dt) Xmove() end -- Correction 2: This i...
- Thu Sep 28, 2017 8:50 am
- Forum: Support and Development
- Topic: Question about changing sprites
- Replies: 3
- Views: 4128
Re: Question about changing sprites
Nothing really wrong since it works for you. The only significant disadvantage I can say is that you'll have to do a lot of re-writing if ever you plan on adding and/or removing states.
- Wed Sep 27, 2017 12:15 am
- Forum: Games and Creations
- Topic: [Open Source Lib] My latest library, fastlighting
- Replies: 13
- Views: 14549
Re: [Open Source Lib] My latest library, fastlighting
I think one purposes of Open Source licenses is to protect you and your code. If I was devious, for example, I would take your code, slap an MIT license in it, and make people think that I originally wrote it. Then I might go further and accuse you of not crediting me in your code. I wished that rel...
- Tue Sep 26, 2017 1:19 am
- Forum: Support and Development
- Topic: Running love programs (linux)
- Replies: 6
- Views: 7250
Re: Running love programs (linux)
I prefer running via scripts. But I'm going to be easily sold if you can provide some benefits of running via Terminal.
- Tue Sep 26, 2017 1:15 am
- Forum: Games and Creations
- Topic: [Open Source Lib] My latest library, fastlighting
- Replies: 13
- Views: 14549
Re: [Open Source Lib] My latest library, fastlighting
I also plan to release some of my work as Open Source, but I'm currently being overwhelmed by reading up on a lot of the different licenses. Looking at your code, there doesn't seem to be any license on it except for the "Readme.txt" Don't get me wrong. Like I said, I'm confused about how ...
- Mon Sep 25, 2017 2:23 am
- Forum: Support and Development
- Topic: Steering Movement Help
- Replies: 3
- Views: 2932
Re: Steering Movement Help
This demo got me interested out pseudo-3d stuff.
- Mon Sep 25, 2017 2:20 am
- Forum: Games and Creations
- Topic: Lava! RUN! - A game made in 1 hour for OneHourGameJam
- Replies: 4
- Views: 3982
Re: Lava! RUN! - A game made in 1 hour for OneHourGameJam
Is it wrong that I LOLed when I saw what you did to the Mona Lisa?
- Sat Sep 23, 2017 3:23 am
- Forum: Support and Development
- Topic: I Need Some Refresher Tips on SpriteBatch
- Replies: 0
- Views: 1044
I Need Some Refresher Tips on SpriteBatch
I haven't used SpriteBatch for a long time. In fact, I was using them back when the bind and unbind functions were still used. Now, for simplicity's sake this is how my SpriteBatch should look like now: function love.load() img_tiles = love.graphics.newImage('tiles.png') spr_tiles = love.graphics.ne...