How do I full screen in chrome

  • Hello all.

    As some of you know my girlfriend and I are making a video game for learning to use this framework, actually we are close to release the beta version but before it we need to solved some problems. One of this problems is the fullscreen mode, seem work in firefox and opera but don't works in Google Chrome.

    Any ideas?

  • Just use the Browser object's 'Request fullscreen' action. Sometimes it only works in a user-input trigger like a mouse click, touch or key press.

  • Just use the Browser object's 'Request fullscreen' action. Sometimes it only works in a user-input trigger like a mouse click, touch or key press.

    Hello Ashley, thanks for the quick answer, I'm Odin girlfriend, we allready tried that, you can see it here:

    http://www.ursulalopez.com/musicrunners/

    but doesn't work properly (on Google Chrome)

    PS: I'm posting this instead of Odin, because I can write urls and he doesn't

  • Arlys Odin :

    Tried on tablet and it works, but it does not work on my desktop indeed.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • same here, tried it with chrome. I noticed that when I click the full screen logo on the top right, something happens (looks like it tries to go into full screen) but is back to normal nearly instantly.

    Could it be, that you have another event set up, which takes the game back from full screen mode (maybe a "on every tick" event)?

  • Just tried on my game to do a fullscreen, and it seems that if chrome is at the size of your display (like you clicked the Square between the _ and X symbols on the top right), the fullscreen has borders, where if it isn't stretched at your display, it works fine

  • It flickers, which suggests your events are accidentally breaking out of fullscreen as soon as you enter fullscreen. It should work fine in a new project. Show us your events if you need more help.

  • One capture from the code:

    h t t p s ://mega.co.nz/#!R4w1zKoD!c4G07OHpgxRESK7ow477_sWfUygSQKv0f1Y5TxRZu0E

    MMMMM I think that now I know the problem

  • If those objects are overlapping, both triggers will fire and you will cancel fullscreen as soon as you request it, which is what I see happening. Try moving each object away when it is not showing.

  • ok, give me a moment to try this.

  • I feel like an idiot but after all night and morning i can't do it work:

    h t t p ://ursulalopez.com/musicrunners/ (LAST VERSION)

    h t t p s ://mega.co.nz/#!FxZQSJSK!eskb1inZQ3pWsP0pKCRNJWBLpbBGlc7hnUo6rcMIMrs (NEW CODE)

    h t t p (SPRITE)

    Now don't work in Google Chrome and don't show the "animation" min.

  • SOLVED!!

    Whid this code:

    h t t p Thanks for the support!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)