Full screen problem
Taddeus

Hi

 
I am using the new version 0.8.1 and in the change log it looks like I can use wade.setFullScreen()
 
I try this, but it don't work in Chrome. But I think Chrome support it. 
1 Comment
Gio

Chrome does support full screen mode, you're right. Most browsers do... actually all the latest versions, except for iOS safari and Opera Mini.


However some browsers may decide to block your page going fullscreen, unless it's a user-initiated action. What this means, is that you need to place your wade.setFullScreen call inside an onMouseUp function, or or otherwise call it in response to an onMouseUp event.

You could add a full screen button to your game, for example, and when the button is clicked you go full-scree

Post a reply
Add Attachment
Submit Reply
Login to Reply