1 decade ago by Kamend
I notices a bug where sound samples will be loaded multiple times, if I have more then one objects extended from ig.Game, but I define the sound only in one of the object.
For example:
I will have two lines of Loading Sound(OpenAL): sounds.ogg
For example:
Class1 = ig.Game.extend({ sample: new ig.Sounds('media/sounds.*) }); Class2 = ig.Game.extend({ });
I will have two lines of Loading Sound(OpenAL): sounds.ogg