Is possible to fit the monitor if is fullscreen?

0 favourites
  • 13 posts
  • I was wondering how to fit the monitor when is on fullscreen, it would look like stretched canvas, is possible?

  • Well ... Same as If it was on mobile device , you could scale and make your background bigger so it could scale easily ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well ... Same as If it was on mobile device , you could scale and make your background bigger so it could scale easily ...

    I think you don't get, there is a pic what im talking about:

    <img src="http://i.msdn.microsoft.com/dynimg/IC561701.png" border="0" />

  • Don't you just need to enable a 'fullscreen in browser' setting?

  • Don't you just need to enable a 'fullscreen in browser' setting?

    The problem is it doesn't stretch 640 x 480 to widescreen monitors, it leaves canvas background color on right, if the unbounded scroll is off and 2 spaces between a canvas, if the unbounded scroll is on

    I've tested with fullscreen using project settings and browser plugin (weird, i've seen transparent margins on Chrome)

    let me know if is not possible.

  • Well , That's a problem ...

    I was going for a game for PC , I guess I'll have to wait ...

  • Joannesalfa - then try using the 'Scale' mode instead of 'Letterbox scale'.

  • Take a look, it's using scale

    http://i.imgur.com/nL5nH.jpg

    It appears purple background which the canvas is not really stretched for wide screen monitors.

    CAPX:

    http://dl.dropbox.com/u/76227787/fullscreen_not_stretched.capx

    Isn't there an option to make 100% scale?

  • Also, there a bug someone uses Chrome, when you click button which requests fullscreen, it appears transparent margins. Then press F11, goes to fullscreen, doesn't appear transparent margins... :S

  • You can, I played around with that for a while using someone example. If I remember I had to use the viewport or window size reference points to fetch the screens visible resolution. Then use math to plot all the sprites and stretch the tile background accordingly. Search the site using fullscreen for a term, it was a couple months back that I saw the example capx.

  • Joannesalfa here is an example that gammabeam made a while back maybe it will help:

    Multiple resolutions - solid example.capx

    If your already to far into your game to try this. I have had good luck with making the background, and some graphics extend beyond the games layout size by a few hundred pixels or more in all directions. This will give the illusion that your game is in full screen but your games actual playing area will still be the same as before.

  • I always design my backgrounds bigger than will show on your target resolution so that if someone re-sizes to some weird size your extra image will save you (in the blank areas). This works well if you are creative and build backgrounds with this in mind.

    On small layouts sometimes I put a small invisible object in the middle of the screen and do a scroll to. That always centers where I want... anyways... just ideas.

  • Joannesalfa here is an example that gammabeam made a while back maybe it will help:

    Multiple resolutions - solid example.capx

    If your already to far into your game to try this. I have had good luck with making the background, and some graphics extend beyond the games layout size by a few hundred pixels or more in all directions. This will give the illusion that your game is in full screen but your games actual playing area will still be the same as before.

    Nice one!

    It applies the beauty of the background for any resolution, i doubt if the game could strecth to maximum X & Y

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