I use Javascript. For example:
sound = [];
for (var i = 0; i < 20; i ++)
sound[i] = new Audio("source.wav");
Will the sound actually get retrieved from the server 20 times, or just once?
Specifically, I’m talking about Google Chrome, Opera, Safari, Opera and IE. All the mainstream, bigger, still active browsers. I’m asking because loading multiple versions of the same sound is a very important part of my game.
depends upon the browser. Smart ones will just use ths cache…dumb ones won’t