On Scratch I am trying to make a game that works similarly to a radio but only for a specific genre. I uploaded a bunch of .mp3 files and started coding away whenever it struck me that it would take forever to load due to the amount of songs Scratch had to process. Is there a way to optimize the loading time so it won't take a long time for the songs to render? Or better yet, only have the songs load when their ID is entered?
My goal is to make it a centralized place for the music, where pretty much if you load it online then go offline, as long as the tab isn't closed or reloaded you'll have access to the songs since they were pre-loaded.
If you want specifics, there are currently 20 song files (I plan on making it a big project :/) with more to come.