Page 1 of 1
Vector lib?
Posted: Sun Apr 05, 2009 9:20 am
by jaber
Hi, I'm quite new with LOVE and Lua, and have been game programming with Python/Pyglet/Pymunk and C++/Irrlicht before,
Just wondering, is there some vector library in LOVE engine? Or perhaps it's in its Box2d physics?
(Have been quite a headache as Lua has no class implementation and have to implement my own in some tutorial...
)
Re: Vector lib?
Posted: Sun Apr 05, 2009 9:55 am
by Gerrit
jaber wrote:Hi, I'm quite new with LOVE and Lua, and have been game programming with Python/Pyglet/Pymunk and C++/Irrlicht before,
Just wondering, is there some vector library in LOVE engine? Or perhaps it's in its Box2d physics?
There's no vector lib yet but you're welcome to contribute one
The basics shouldn't be that hard. You seem to have enough skills to do that.
jaber wrote:
(Have been quite a headache as Lua has no class implementation and have to implement my own in some tutorial...
)
You can take a look at appleides classes implentation here:
http://love2d.org/forum/viewtopic.php?f=5&t=633
Re: Vector lib?
Posted: Sun Apr 05, 2009 10:22 am
by bartbes
I thought ËNVY had vectors.., you might want to check out the topic anyway.
Re: Vector lib?
Posted: Sun Apr 05, 2009 12:04 pm
by mikembley
Re: Vector lib?
Posted: Thu Apr 09, 2009 10:16 am
by jaber
ok thanks everyone.
envy's vector is ok,
but i go 404 when trying to upload kudolib.
Anyway I found some file called "Vector.h" c++ file in LOVE source code,
and it has just everything i need, but yes in C++. Is this some kind of *joke*?
Re: Vector lib?
Posted: Thu Apr 09, 2009 3:18 pm
by mikembley
Maybe its part of Box2d, Aint had a look myself