Stretch image to full screen size

Get help using Construct 2

Post » Wed May 22, 2013 1:03 am

Hi Guys / Gals,

I'm using "Scale Outer" for a game I'm working on and trying to make it work on a few screen sizes. For the most part I have things working, unfortunately I need an image to stretch the full width / height of the window which I'm having some issues with.

What I have attempted to do is set the size of the object to be windowWidth, windowHeight. This works great when the screen is larger but as the screen shrinks to smaller sizes you then see letter box bars around the edge.

I have tested using "Scale Inner" and this gives the desired results, unfortunately I use the "Scale Outer" scaling for other things so ideally I'd like to avoid having to switch over to this.

Can anyone point me in the right direction on how to do this at all?

Many thanks in advance
B
4
Posts: 10
Reputation: 220

Post » Wed May 22, 2013 2:03 am

I'll add in that I'm able to position things at the bottom of the screen when I set them to CanvasToLayer and this works fine. But if I use this to set the height of something it still does not scale correctly.
B
4
Posts: 10
Reputation: 220

Post » Mon May 27, 2013 10:43 am

I also have a question, I ask forgiveness for such English.

In general such a problem when using the scale inner, that for android, that like all good PC game goes to full screen, but not on the android image protrudes beyond the lower bar on the PC and in browsers that 16:9 monitor that 4:9, the image is generally beyond the scope of the monitor, scale outer works well only to 16:9 to 4:9, he does not cut the image on the right as it was before, and cuts off the bottom with concrete!

Translation of this innovation from our website:
Fullscreen in browsers, the option 'Scale' is replaced by 'Scale inner' and 'Scale outer'. 'Scale outer' does the same thing and did earlier. But the 'Scale inner' is a new version of the scale at which the game is "cut off" the edge of the screen, and do not stretch the game space, if the aspect ratio does not match. For example, it is useful to develop games 16:9, if the screen will have a 4:3 ratio, then the game will be "cut off" at the edges, and will be visible only to the central part.degortg2013-05-27 10:44:07
B
7
S
1
Posts: 32
Reputation: 1,288


Return to How do I....?

Who is online

Users browsing this forum: Governador, Radulepy, tarek2, Thelegendvinny, TiagoCesar and 23 guests