[Solved] How do I change fullscreen mode in html folder?

0 favourites
  • 4 posts
  • Hey guys!

    I have a game and i export as html with "Fullscreen in browser" as "Letterbox scale" setting.

    So, my question is: What line need to search on "c2runtime.js" or "data.js" or some file to edit manually the setting from "Letterbox scale" to "Scale outer" for example?

    Thank you!!!

  • Why do you have to do this? Can't you just set those setting in C2 and re-export?

  • open data.js in text editor..scroll to end of json string

    and after window size(480,640(in my case))

    [quote:2gduzpye]"media/",false,480,640, 4, true,true,true,"1.0.0.0",true,false,4,1,26,false,true,1,true,"New project",0,[]]}

    there is a number for the Fullscreen scaling (0 or 1 | 2 | 3 | 4 | 5 ).....I think the number 3 is for "Scale outer"

    I really don't know... is this the only place that determines scaling..

    I've never tried this before...and..... I'm too lazy to try it now(to upload game..and test..)..

    so...

    as Twin Blazar said re-export is best solution...

  • Try Construct 3

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

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

    Thank you for this tip, i will try it!!! ; -)

    Edit: All good, big thanks!!!

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