10 years ago by joshg86
Hello there!
I am new to impact, but really enjoying the engine!
I am having problems with background music playing on iOS devices. works perfectly in chrome/desktop safari. I have my music and sfx encoded as both .ogg and .mp3. And i should also say all the sound effects are working perfectly. just no background music in iOS
here is what i'm doing as far as the music goes:
MyGame0 = ig.Game.extend({
bgtune: new ig.Sound( 'media/music/8_bit_music.*', false ),
init: function() {
ig.music.add( 'media/music/8_bit_music.*' );
ig.music.play();
}
});
Thanks so much for your help! much appreciated!
-J
I am new to impact, but really enjoying the engine!
I am having problems with background music playing on iOS devices. works perfectly in chrome/desktop safari. I have my music and sfx encoded as both .ogg and .mp3. And i should also say all the sound effects are working perfectly. just no background music in iOS
here is what i'm doing as far as the music goes:
MyGame0 = ig.Game.extend({
bgtune: new ig.Sound( 'media/music/8_bit_music.*', false ),
init: function() {
ig.music.add( 'media/music/8_bit_music.*' );
ig.music.play();
}
});
Thanks so much for your help! much appreciated!
-J