Which OO lib is right?

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
Draetheus
Prole
Posts: 12
Joined: Wed Dec 29, 2010 9:15 pm

Which OO lib is right?

Post by Draetheus »

I'm getting back into LOVE and I realized that I could be spending less time on boilerplate code if I just used libraries. Primarily, I'm looking for an animation, collision, and OO library. AnAL seems to be the the primary animation lib (does it work with 0.7.2?), Hardon the primary collision lib, but I see there are 3 OO libs in the wiki: 32log, middleclass, and SECS (which has 4 versions). How do I decide? :shock:
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Which OO lib is right?

Post by tentus »

Hardon has a class lib built into it, you could always use that.

Code: Select all

class = require "hardoncollider.class"
Kurosuke needs beta testers
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Which OO lib is right?

Post by Lafolie »

Slither. Every time!
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Which OO lib is right?

Post by kikito »

Since you will be using HC, it makes sense that you use the class lib used on it, unless you need some feature that isn't on it (unlikely).
When I write def I mean function.
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Which OO lib is right?

Post by MarekkPie »

Hump also has a nice class library, in addition to the other utility libraries is provides: vector, gamestate, camera, etc.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Which OO lib is right?

Post by bartbes »

If I understand correctly HardonCollider ships with hump.class, and the current or next version is supposed to have class commons support.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 7 guests