Is possible to fit the monitor if is fullscreen?

Get help using Construct 2

Post » Thu Nov 29, 2012 11:22 pm

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.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Fri Nov 30, 2012 1:09 am

@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.

B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Fri Nov 30, 2012 4:36 am

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.Gillis2012-11-30 04:37:47
Image
B
35
S
13
G
9
Posts: 142
Reputation: 7,340

Post » Fri Nov 30, 2012 9:40 am

[QUOTE=Wink] @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.

[/QUOTE]

Nice one!

It applies the beauty of the background for any resolution, i doubt if the game could strecth to maximum X & Y
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Previous

Return to How do I....?

Who is online

Users browsing this forum: Braus, jul, nimos100, Yahoo [Bot] and 16 guests