Let's say you all these libraries in the lib folder:-
Now what if I tell you to load all of these libraries?
Before you move on let me tell you that animX is a package and itable is a non-returning library!
So you'd do something like this
Code: Select all
require 'lib.itable'
animx=require 'lib.animx'
flux=require 'lib.flux'
...
Code: Select all
clove=require 'lib.clove'
clove.requireAll('lib')
For more information ofcourse you could head up to the documentation and look at the recent game that used clove!
Here's the asset-loading file for Leaps and Flips
Contribution:
If anyone is interested then he can help me make a shader loading extension for clove! It's not complicated but I'm busy with other libraries recently