A Class Commons implementation is required - Using Lube

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
User avatar
silver_hawk
Prole
Posts: 36
Joined: Mon Feb 27, 2012 2:19 pm

A Class Commons implementation is required - Using Lube

Post by silver_hawk » Mon Mar 19, 2012 5:17 pm

So i found out that i was using lube 0.7.1 and found verison 1.0, which I then tried to replace the old version with, but when I tries to do it, it fails already when I include it says: "A Class Commons implementation is required", when I use require function on it, anyone got a advice?

User avatar
trubblegum
Party member
Posts: 192
Joined: Wed Feb 22, 2012 10:40 pm

Re: A Class Commons implementation is required - Using Lube

Post by trubblegum » Mon Mar 19, 2012 5:39 pm

I believe the HUMP class lib is good for this https://github.com/vrld/hump
You should have to do nothing more than drop class.lua into your project dir and class = require('class') before LUBEing

Bear in mind this is based on hearsay, but should get you going in the right direction.

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: A Class Commons implementation is required - Using Lube

Post by bartbes » Mon Mar 19, 2012 5:53 pm

https://github.com/bartbes/Class-Commons, the bottom of that page has a list of supporting class libraries.

Self-promotion time:
If you (my dearest reader) ever write a class library, consider implementing Class Commons and making the world a better place.

User avatar
silver_hawk
Prole
Posts: 36
Joined: Mon Feb 27, 2012 2:19 pm

Re: A Class Commons implementation is required - Using Lube

Post by silver_hawk » Tue Apr 10, 2012 2:34 pm

Sorry for my very late reply, but i can't find the common.lua file or what else I need? (I'm new to github)

Had exam period for 3 weeks so time has been very short ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests