Music in IOS
I updated the Mobile.js file so that that music will actually play on iPhone. I have tested it on several and the music now plays.
The music already worked on Android/Samsung/Google.
This game has music made for each level by Alexbit, also there is an intro, win loss etc.. so I really think it helps give the best experience of the game having the sound effects and music.
I hope this makes the mobile experience even better.
you still need to tap the screen/expand for the music to start playing so you don't have music blast unintendid..
the code is from nekobungi commented on Jul 24 2020/1 on github I think.
1. Open the exported folder after "Export Web" is done
2. Open js/other/mobile.js with any text editor
3. Comment-out the following lines: line 91, 95, 100, 101, 102, 103, 104, 105
// window.audioContext.resume().then(() => {
settings[0] = true;
gameboy.initSound();
soundReady = true;
// });
}
}
}
// var soundInitTimer = setInterval(function() {
// if (GameBoyEmulatorInitialized()) {
// initSound();
// clearTimeout(soundInitTimer);
// }
// }, 16);
Files
Get Yochi & Miel: The Crenalator Trials
Yochi & Miel: The Crenalator Trials
Recapture the Cornerstone, Stop the Crenalator, Save the Architecture
Status | In development |
Author | jdcarling |
Genre | Platformer |
Tags | 2D, architecture, Pixel Art, Story Rich |
More posts
- GB STUDIO 3.0Dec 17, 2021
- Control Updates & Physical CartridgesNov 22, 2021
- MUSIC & BUG FIXESNov 16, 2021
Leave a comment
Log in with itch.io to leave a comment.