Good day. I got a problem. In the game, I have to implement 4 Callback functions, pause, resume, mute, unmute. I have to register all these callbacks in the index.html. Maybe someone knows the code for disabling all the music in the game? Or control a global variable in Construct 3 itself, from the index.html file
window.scorenga.setPauseCallback(function() {
c3_runtimeInterface._GetLocalRuntime().SetSuspended(true); //WORK
});
window.scorenga.setResumeCallback(function() {
c3_runtimeInterface._GetLocalRuntime().SetSuspended(false);
//WORK
});
window.scorenga.setMuteCallback(function() {
//I do not know
});
window.scorenga.setUnMuteCallback(function() {
//I do not know
});