Search found 4 matches

by lynerd
Sun Jun 07, 2009 12:15 am
Forum: General
Topic: Please Help, THis error is driving me Insane!
Replies: 6
Views: 8098

Re: Please Help, THis error is driving me Insane!

Maybe one of the parameters is not passing as the right type? Like v isn't working as a string or v[1], v[2], or v[3] isn't passing as a number?
by lynerd
Sun Jun 07, 2009 12:06 am
Forum: General
Topic: Please Help, THis error is driving me Insane!
Replies: 6
Views: 8098

Re: Please Help, THis error is driving me Insane!

Is it because you have your draw method with 4 parameters instead of 3? Shouldn't it only be love.graphics.draw("what to draw", x, y)?

Code: Select all

love.graphics.draw(v, v[1], v[2], v[3])
by lynerd
Sat Jun 06, 2009 10:57 pm
Forum: General
Topic: Classes and Inheritance
Replies: 2
Views: 5920

Re: Classes and Inheritance

Thank you for helping work out my beginner mistake. I had even just read a tutorial on using "object:function()" and "object.function(self)". I am in "Love" with how I can type up some quick code in this engine and not have to recompile a bunch of stuff like I would in ...
by lynerd
Sat Jun 06, 2009 9:16 pm
Forum: General
Topic: Classes and Inheritance
Replies: 2
Views: 5920

Classes and Inheritance

Just started with the engine, but have never worked with Lua before. I come from using c++ and c# and miss having classes with the capability for inheritance. I found a piece of code from another game engine, called Verge, that allows for the use of inheritance. I believe the code is made for Lua an...