Fullscreen stretching - How to avoid?

For questions about using Classic.

Post » Sun Jun 05, 2011 1:13 pm

As everyone knows on a wide screens for inclusion Fullscreen game stretch. And in this case the object of the game seem broad and not proportional to the original size. How to solve this problem?
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Sun Jun 05, 2011 5:39 pm

Help me please!! This problem is a big Construct bug, can to avoid him? :?:
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Sun Jun 05, 2011 6:12 pm

It's not a bug, if you tick "unbounded scrolling" in the layout and change the resizing mode to "show more window content" in the application properties, it will prevent everything looking stretched (this will introduce black borders and increase the view size however).

Either that, or disable manual resizing/the full screen button, and have options for setting the screen size to the exact resolutions you want inside your game, followed by some events to set the screen to those resolutions.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Sun Jun 05, 2011 7:41 pm

Jayjay, thanks very much!
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Sun Jun 05, 2011 8:43 pm

When I put the "unbounded scrolling" in the game there are white bands that interfere with the game. I tried to put the "show more window content" and does not include the "unbounded scrolling" but then the game is stretched. What should I do? Can do for me source code in which there is an implementation of this method?
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Sun Jun 05, 2011 11:22 pm

[quote="Vicu":3r1tllo4]When I put the "unbounded scrolling" in the game there are white bands that interfere with the game. I tried to put the "show more window content" and does not include the "unbounded scrolling" but then the game is stretched. What should I do? Can do for me source code in which there is an implementation of this method?[/quote:3r1tllo4]

The white bands may be intentional, can you put up a screenshot/image of what they look like please?
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Mon Jun 06, 2011 7:03 am

Look:

As you can see in the "unbounded scrolling" the player can go beyond the level and the game will be behind him.
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Mon Jun 06, 2011 2:03 pm

Ah yes, this is the problem I was mentioning that isn't really a bug. To stop it, make boundaries at the edges of the layout that stop the player moving, and also stretch them out to make the boundaries a solid colour (black is probably the usual colour). It'd be good to put these boundaries on a top layer so that nothing goes over them, but also hide & lock the layer while you're working on the game so you can still use the space they take.

I'll post a cap in a couple days if you would like one.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Mon Jun 06, 2011 2:25 pm

[quote:vj1cg7dt]I'll post a cap in a couple days if you would like one.[/quote:vj1cg7dt]
Please, I just do not quite understand what you wrote, because I know English very bad.
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Tue Jun 07, 2011 1:25 pm

[quote="Vicu":3b7jy5gj][quote:3b7jy5gj]I'll post a cap in a couple days if you would like one.[/quote:3b7jy5gj]
Please, I just do not quite understand what you wrote, because I know English very bad.[/quote:3b7jy5gj]

Ah, I just tried it. Sadly it doesn't resize the graphics, it only increase the view space.

However, if you are fine with that and just want the screen to resize properly, then you can try what I did in this cap file:
[url:3b7jy5gj]http://dl.dropbox.com/u/4714446/ResizeView.cap[/url:3b7jy5gj]
I also discovered this works with or without "Unbounded scrolling" ticked so I would actually recommend that it is not ticked for your game.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests