Vector lib?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
jaber
Prole
Posts: 5
Joined: Sat Apr 04, 2009 8:04 am

Vector lib?

Post 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... :death: )
User avatar
Gerrit
Prole
Posts: 46
Joined: Wed Mar 25, 2009 7:40 pm

Re: Vector lib?

Post 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... :death: )
You can take a look at appleides classes implentation here:
http://love2d.org/forum/viewtopic.php?f=5&t=633
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Vector lib?

Post by bartbes »

I thought ËNVY had vectors.., you might want to check out the topic anyway.
User avatar
mikembley
Citizen
Posts: 72
Joined: Wed Dec 17, 2008 5:30 pm
Location: Blackburn, UK
Contact:

Re: Vector lib?

Post by mikembley »

Kudomiku made a small vector lib: http://love2d.org/forum/viewtopic.php?f=5&t=160
jaber
Prole
Posts: 5
Joined: Sat Apr 04, 2009 8:04 am

Re: Vector lib?

Post 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*? :shock:
User avatar
mikembley
Citizen
Posts: 72
Joined: Wed Dec 17, 2008 5:30 pm
Location: Blackburn, UK
Contact:

Re: Vector lib?

Post by mikembley »

Maybe its part of Box2d, Aint had a look myself :P
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 2 guests