Page 5 of 5

Re: love-loader: load resources in a separate thread, easily

Posted: Sun Jan 17, 2016 9:17 pm
by murks
Does anyone know a way to make it work with slam? (https://github.com/vrld/slam)
I get some hard to debug error (thrown in a thread) when I have love-loader require slam.

Does anyone know a way to make it love 0.10.0 ready, e.g. load videos?

Re: love-loader: load resources in a separate thread, easily

Posted: Sun Jan 17, 2016 10:28 pm
by slime
murks wrote:Does anyone know a way to make it love 0.10.0 ready, e.g. load videos?
Currently, love's video decoding is done by reading the file a bit at a time (and decoding the contents) in a separate thread already, so love-loader wouldn't help much there.

What love-loader doesn't do properly right now is load Images which are Compressed Textures (it should use [wiki]love.image.isCompressed[/wiki] to determine whether to load the file as a [wiki]CompressedImageData[/wiki] or a regular ImageData, before eventually passing the data to love.graphics.newImage).

Re: love-loader: load resources in a separate thread, easily

Posted: Sun Jan 17, 2016 10:48 pm
by kikito
I have not given a look at 0.10.x features for this lbrary just yet. I don't know when I will be able to do so (Pull requests are accepted and encouraged though)

Re: love-loader: load resources in a separate thread, easily

Posted: Mon Jan 18, 2016 8:58 am
by murks
I guess by slimes argumentation, it does not make sense to use love-loader for streaming audio either, right?

Additionally to the workaround I use for sounds (https://github.com/kikito/love-loader/issues/15) I simply load streaming audio without the loader:

Code: Select all

MUSIC['song'] = love.audio.newSource('music/05CreepyCastle.ogg', 'stream')
instead of:

Code: Select all

LOADER.newSource(MUSIC, 'song', 'music/05CreepyCastle.ogg', 'stream')
I have not tested the performance, but it works.

Btw., kikito, your libraries are great, they tend to ... work! Thanks!

Re: love-loader: load resources in a separate thread, easily

Posted: Fri Sep 23, 2016 7:24 am
by georgeprosser
Yo is this still alive?

Re: love-loader: load resources in a separate thread, easily

Posted: Fri Sep 23, 2016 8:35 am
by kikito
I have not updated it in a while, but it still works as far as I know.

Re: love-loader: load resources in a separate thread, easily

Posted: Fri Sep 23, 2016 10:31 pm
by Tanner
It still works well!

Re: love-loader: load resources in a separate thread, easily

Posted: Wed May 06, 2020 9:56 pm
by AlexYeCu
Is it able to create a feature request for love-loader?
About it's integration with 3DreamEngine's (https://github.com/3dreamengine/3DreamEngine) resourses?
Preloading *.obj files, *.3do files (innder format of subj), textures?
love-loader is an extremely useful piece of code, but It would be nice to use it with other libraries.
And I do not even understand what person should I talk about this: kikito, Tanner Rogalsky, 3DreamEngine's author or someone else.