When you export to HTML5 and play it on mobile, i got the prob that i can´t start the game in fullscreen, while pressing the “fullscreen” button. Does anybody have the same issue ?
Usualy i use this JS-code to get into fullscreen:
goFullscreen = function() {
var el = document.documentElement,
rfs = el.requestFullscreen
|| el.webkitRequestFullScreen
|| el.mozRequestFullScreen
|| el.msRequestFullscreen
;
rfs.call(el);
};
BUTTON.onclick = function () {
goFullscreen();
};
Sound works mostly. Did you use “AudioContext”? The problem on Mobile HTML5 is, that the browsers need user input to allow playing a track. But with AudioContext you don´t need user input. Which method DEFOLD use ?
Cheers