phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Audio and SpriteAudio are internally the same

Open lukasharing opened this issue 1 year ago • 0 comments

By looking at the cache, Audio and SpriteAudio are stored the same way. I suggest to add a flag to know what type of element is inserted. That should make sound.addAudioSprite be unifiable with sound.add, making sound.add branching depending on that flag

lukasharing avatar Jul 29 '22 09:07 lukasharing