Hello,
I am developing an application that uses lot of (small) mp3/png files. The loading time seems to be very long while testing in Gideros Player.
I also tested on Android phone using APK installer, the loading time is too long.
Is there any way to use background loading after the application is opened?
Where are the best practice in this case.
Thank you
Comments
We need to know what you are doing with the mp3 and png. Are you using images as decoration for your app?, do you use any animation (tweening)?, do you use timers?; ...
In my case pngs are just to decorate the levels and a bit of animations too. I tried using https://wiki.gideros.rocks/index.php/TexturePack and the loading time was indeed very long so I removed it for now. https://wiki.gideros.rocks/index.php/Texture.loadAsync ? In my case I was using ECS but it turned out to be very slow for my use case, now I am using classic OOP and it is already much faster.
I didn't put the app on google store yet, I was just wondering if all the files need to be loaded before showing the first frame.
But from what I understand, this is just related to the Player..
The app is to teach Arabic, it display the image and say how it's pronounced, I will share the link when it's published.
Thank you for your help.
Likes: MoKaLux
https://mokalux.itch.io/mkgi-arab-mdmt1 (once loaded you may need to refresh the browser page)
https://mokalux.itch.io/mkgi-ballade-arabe
I can share the code, just let me know.
Then each file should be loaded when you call it inside your app (ie. Sound.new("file.mp3") ) I don't think it checks if the file exists before that.