Which OO lib is right?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Which OO lib is right?
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?
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Which OO lib is right?
Hardon has a class lib built into it, you could always use that.
Code: Select all
class = require "hardoncollider.class"
Kurosuke needs beta testers
Re: Which OO lib is right?
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.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Which OO lib is right?
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.
Re: Which OO lib is right?
Hump also has a nice class library, in addition to the other utility libraries is provides: vector, gamestate, camera, etc.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Which OO lib is right?
If I understand correctly HardonCollider ships with hump.class, and the current or next version is supposed to have class commons support.
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 5 guests