Possible Layer Scaling Bug

Bugs will be moved here once resolved.

Post » Fri Feb 01, 2013 11:43 am

Link to .capx file (required!):
https://dl.dropbox.com/u/107104215/test.capx

Steps to reproduce:
1. Set Layer Scale to 0
2. Set Layer Paralax to 0,0
3. Set FullScreen Project Property to Scale
3. Run Project

Observed result:
When sizing browser window the layer is still scaled (zoom in or zoom out)

Expected result:
If Layer Scale is set to 0, the layer should not scale and sprite on the layer should not be zoomed (in or out)

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:
Windows 7, Windows 8

Construct 2 version:
r114 and r117
    
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sat Feb 02, 2013 3:11 pm

Hi,

Could you tell me if i'm right and if it's a real bug?

Thanks!beufreecasse2013-02-02 15:11:51
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Sat Feb 02, 2013 4:23 pm

Don't think that's a bug since full screen should override layer settings.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Feb 03, 2013 12:28 am

I don't understand, it seems that the 2nd page of "Supporting multiple screen sizes" talks about setting scale rate to 0 to disable scaling on the layer.
This what i did but not working, tell me if i'm missing something.

Thanks
B
14
S
4
G
2
Posts: 190
Reputation: 3,938

Post » Mon Feb 04, 2013 2:02 pm

This is currently by design - scaling for fullscreen does not take in to account the scale rate. It only affects setting the layer scale in events.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Thu Feb 07, 2013 9:05 am

Thanks for the answer, i will scale the layer programatically corresponding to the ViewPort Size.
B
14
S
4
G
2
Posts: 190
Reputation: 3,938


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests