Black borders

Discussion and feedback on Construct 2

Post » Fri Sep 05, 2014 12:01 pm

Hello every body !

I don't know what I am doing wrong, but I got black borders in the left and right part of my app :o

The image is preview in browser (using chrome extension "Ripple") and as you can see, there is black border.

Image

The borders appears also when I compile and Upload it to my device :(
However, my mobile is 1280 x 720 (16:9) and in my project 1920x1080, also 16:9
Last thing, Fullscreen is set to letterbox scale.

I don't know what to do, thanks for your help :)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Fri Sep 05, 2014 3:54 pm

Those look like black bars from letterbox scale. Check you really do have the right aspect ratio; sometimes software buttons (such as back/home) or the status bar at the top (battery etc.) take up a small amount of screen space, and cause the remaining space aspect ratio to change slightly.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Fri Sep 05, 2014 5:15 pm

Ooh :)
Thanks for you answer, I will take a look at this.
I had not thought about it.
Moreover, it's not the first time they appears.

Anyway, I will check that ;)
Is there a way to solve that for other devices ? (If I solve the problem, it will appears on other devices, i guess)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Fri Sep 05, 2014 5:26 pm

Well, one option is not to use letterbox scale, and use one of the variable aspect ratio scaling options like scale inner or scale outer. But that can make it harder to design levels and menus that display well in all cases.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Fri Sep 05, 2014 5:46 pm

Ok, I'll do that :)
Thank you so much for your help.
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668


Return to Construct 2 General

Who is online

Users browsing this forum: purplemonkey, Studio Mercato and 3 guests