How do I use integer scale for multiple Android aspect ratio

Get help using Construct 2

Post » Mon Jul 18, 2016 12:07 am

Hello,

I am developing a game for Android using C2, is pixel art based, and I'm using point sampling and pixel rounding.
Currently I'm working on a window size of 270x480 (portrait orientation)
The problem is when it comes to scaling, it adds black bars when the display ratio isn't 16:9 and can't scale using an integer number (x1, x2, x3, etc, because of integer scaling). But if I use Scale Outer it results in deformed pixels. Isn't there a way of adapting the window size to any (or at least a big amount of) screen?

Thanks for the help!
B
18
S
6
G
1
Posts: 20
Reputation: 1,795

Post » Mon Jul 18, 2016 2:05 am

Scale inner/outer are the correct options. But any type of scaling will result in blurry edges if your original art is too low resolution.
Mistakes were made.
B
52
S
26
G
111
Posts: 1,623
Reputation: 62,667

Post » Tue Jul 19, 2016 12:46 pm

Thanks for the answer, but if I use scale inner or scale outer, the pixels result deformed.
B
18
S
6
G
1
Posts: 20
Reputation: 1,795

Post » Tue Jul 19, 2016 4:50 pm

Can you take a screenshot on phone/pc and upload?
Mistakes were made.
B
52
S
26
G
111
Posts: 1,623
Reputation: 62,667


Return to How do I....?

Who is online

Users browsing this forum: Armench, dand and 28 guests