Was 1920x1080 w/ scale 3, now 480x270 w/ letterbox scale...

Get help using Construct 2

Post » Thu Feb 23, 2017 2:57 pm

... and my parallax layers are totally wrong! Is there some way I can multiply the old parallax values to get everything to align properly without any re-positioning?
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,282

Post » Fri Feb 24, 2017 1:23 am

Multiply your paralax by 4 and they should fit?

Scale by 3 is 480x4=1920

Scale by 3 is 270x4=1080
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Fri Feb 24, 2017 5:52 am

lamar wrote:Multiply your paralax by 4 and they should fit?

Scale by 3 is 480x4=1920

Scale by 3 is 270x4=1080

It's so weird, all the positions got screwed up as well, so I've had to manually move all of the parallax objects in the layers as well, and put them a lot lower down that they were, and they don't line up anywhere near when I've got "parallax in editor" on. It's a huge trial and error bodge, not really sure if there's a way of getting the positions the same any other way?
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,282

Post » Fri Feb 24, 2017 11:47 am

That scale feature is a bit wonky. I remember using the first few times trying to use decimal numbers and nothing fit. It only works with whole numbers or you get strange results

That may be causing problems with paralaxes if they are not in multiples of 8 bits. You might resize them to a multiple of 8 and see if that works?
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Fri Feb 24, 2017 12:39 pm

lamar wrote:That scale feature is a bit wonky. I remember using the first few times trying to use decimal numbers and nothing fit. It only works with whole numbers or you get strange results

That may be causing problems with paralaxes if they are not in multiples of 8 bits. You might resize them to a multiple of 8 and see if that works?

Yeah, I thought the switch to WebGL2.0 sorted out most of the non-Po2 problems?
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,282

Post » Fri Feb 24, 2017 12:45 pm

Zebbi wrote:
lamar wrote:That scale feature is a bit wonky. I remember using the first few times trying to use decimal numbers and nothing fit. It only works with whole numbers or you get strange results

That may be causing problems with paralaxes if they are not in multiples of 8 bits. You might resize them to a multiple of 8 and see if that works?

Yeah, I thought the switch to WebGL2.0 sorted out most of the non-Po2 problems?


Eh- webgl and canvas still experimental and have issues with scale. If you scale everything by multiples of 8 at the same time you scale the window it works but you have to do some calculations.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests