Then why not just release a wrapper lib for those external libraries, which would basically do this:Rishavs wrote:A good way to do is to just integrate any well used and made community module into the love code.
Code: Select all
love.whatever = require 'lib.whatever'
I would say that this didn't really justify adding these libs to be inside the distribution if i can just as easily opt-out of them (especially the scene graph and the camera comes to mind, animations too; there are myriad ways to accomplish each, why force even one on the framework?), even if one could disable them through love.conf.Rishavs wrote:Of course, people can always roll their own if they want.
Question is, would the non-usage of these kinds of integrated libs mean that one couldn't use some other arbitrary function or whatever in another love module. (in other words, would there be extra dependencies?) I already see the hypothetical love.scene and love.camera modules depend on love.window at minimum.
Of all things listed, i'd only agree with profiling being integrated solely because that's easy to code wrong, in turn leading to inaccurate benchmarks and whatnot. (thinking of timings only, not mem usage, for example, though i'm sure it's just as easy creating a function that measures that inaccurately as well.)