Hi,
New to Phaser and really enjoying it so far but have this one issue that is difficult to get help with.
I gathered a lot of posts and examples for achieving fullscreen on a mobile device. Seems like its not working in phaser and actually I couldnt get it to work using plain JS either. I couldn’t find a working solution or even a straight answer.
I looked at competitor HTML5 games on mobile and I concluded that
- can’t force orientation
- can’t launch in a specific orientation
- they can achieve fullscreen but in landscape mode only and with a swipe up*
I tried with phaser and plain JS on mobile (in landscape)
- startFullscreen() does not work (listening to ‘pointerup’) - fires event ‘fullscreenunsupported’
- requestFullscreen() does not work (listening to ‘pointerup’ or ‘touchend’ via window.addEventListener)
*So I am wondering how those competitor html5 games do it because it IS possible.
Please if anyone can point me to a working example. I am not a lazy person Im enjoying learning Phaser but the inconsistencies with this particular issue is tiring me out.
Thanks for replies,
Jon