How do I Browser fullscreen in runtime

  • Hi I see that I can get the Browser fullscreen to work triggered

    with a button

    BUT it dont work on start of layout

    Is there a way to startup in fullscreen mode ?

    Regards

    Flemming

  • It has to be done with a user action (touch, click). There is no way around it since browsers want the "user permission" for it. Though I think you could make it so any click will request fullscreen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi flemmig

    I don't like using Browsers for Construct 3, I only use the AMAZING Desktop version, so it may work differnt on chrome or whatever browser you're using I guess.

    Anyway, this is what I do to make Full Screen Stretch as soon as the game starts, give it a try:

    I created a boolean variable: "FullScreen" set it's initial to TRUE.

    System On Start of layout |

    (sub-event) System iS FullScreen | Browser Request fullscreen - Stretch (letterbox scale)

    Not sure if that's what you're looking for but it Works for me.

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