Layout 16:9 problem with right White Space

Get help using Construct 2

Post » Thu Mar 20, 2014 5:26 am

Hello all :D

Im new with Construct2 [even when i heard about it a couple of years ago]...i was following the Tutorial from here:
https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes/

I will make my Game with 1280x720 16:9 aspect ratio, but when i run the preview in my laptop 1366*768 it gives me a White space to the right when using a different Resolution and Also via LAN in my Lumia 520 Browser which is 800x480 resolution...the same for Galaxy S3, even when this screen resolution is the same

How can i do to make it full screen or stretch correctly without White/Black spaces to the RIGHT?

here's my test project
https://drive.google.com/file/d/0BzotF1ti-huRc19QemVGdk9oU28/
B
13
S
2
G
1
Posts: 28
Reputation: 960

Post » Thu Mar 20, 2014 6:33 am

I made an android game with this aspect ratio, it is not easy to make the game fit on multiple devices but after a bit of work I got it done with the help of other Members here, check this out.

viewtopic.php?t=82202&start=0#409309
Image Stoorn Memory Puzzle
B
9
S
3
G
1
Posts: 66
Reputation: 1,488

Post » Thu Mar 20, 2014 12:50 pm

thx for reply, as you can see, im trying to make the project the best way possible from the beginning...

i dont understand very well that Topic ...it says a lot, the tutorial for multiple screen resolution says we should use a 16:9 ratio and make it Letterbox Scale but it will show black bars to the sides...which resolution/layoutSize is best to avoid the black bars?

now im testing the same Layout size 1280x720 and Scale Outer...with bigger background, it seems fine but then i think i would need to center every object used later right?.

using this in a Note 3 which is Full HD resolution size will look the same as in 1280x720 HD devices?

i would appreciate a .capx file from anyone's Screen configuration just to take a look and test with my project, thx in advance
B
13
S
2
G
1
Posts: 28
Reputation: 960

Post » Thu Mar 20, 2014 6:59 pm

Here you go

https://www.dropbox.com/s/9bhr43fs6y1ba ... locks.capx

Note that this is not my capx file and not my work, I just got it a little while back from these forums and cannot locate the post again, so credit goes to Mr X who made this :)
Image Stoorn Memory Puzzle
B
9
S
3
G
1
Posts: 66
Reputation: 1,488

Post » Thu Mar 20, 2014 7:37 pm

thx

but that still showing black sidebars... :D

as im going to make only for test Android games for now, i will keep using 1280x720 layout size and use Letterbox Scale...i've tested with emulators and real devices and it seems ok, even when black bars appears in the Top/Bottom

but i really want to know how to avoid this, i cant find a "easy" tutorial to make my game fullscreen in any Screen Size :(
B
13
S
2
G
1
Posts: 28
Reputation: 960

Post » Thu Mar 20, 2014 8:41 pm

To be honest, for me it wasn't easy, and I don't know if this method would work on my future games, but we just have to keep trying or wait until compilers and C2 get in sync regarding scaling, and best of luck with your projects :)
Image Stoorn Memory Puzzle
B
9
S
3
G
1
Posts: 66
Reputation: 1,488

Post » Sat Mar 22, 2014 9:05 pm

Hi - I have been struggling with getting my game to work on Android (full screen) - discovered the following post regarding "Crosstalk" (see link) and it is working for me (in terms of getting a fullscreen) play of my game. No performance issues what-so-ever and a very good GUI to compile your C2 files.

I hope this will help you guys.

https://www.scirra.com/blog/133/introdu ... to-android
B
9
S
2
Posts: 15
Reputation: 634


Return to How do I....?

Who is online

Users browsing this forum: blue visionary, Yahoo [Bot] and 2 guests