HTML Fullscreen button doesn't work (DEF-3631) (SOLVED)


#1

And the full screen button for html5 doesn’t work after the game has loaded.
(Android chrome)


Application don't run, if making a lot of touches (Android) (DEF-192) (SOLVED)
#2

Moved to separate topic.


#3

Created ticket: DEF-3631


#4

Taking a quick look at this, found a workaround for you, add a ontouchend event handler right after the current onclick inside your html template, like this:

	document.getElementById("fullscreen").onclick = function (e) {
		Module.toggleFullscreen();
	};
	document.getElementById("fullscreen").ontouchend = function (e) {
		Module.toggleFullscreen();
	};

#5

When turning full screen on a game designed as landscape, the gsme is stretching badly.
(mobile locked as portrait)


#6

This can probably be fixed by using a render script that doesn’t stretch the view. The default render script will stretch the content if the screen isn’t the same aspect ratio as what you’ve specified in game.project.


#7

How could the game rotate itself on this condition automaticly?


#8

Do you have Dynamic Orientation unchecked in game.project?


#9

Solved in 1.2.143