R143 Layer Initial Visibility Bug

Bugs will be moved here once resolved.

Post » Sun Sep 08, 2013 3:17 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/65841566/R143LayerInitialVisibilityBug.capx

Steps to reproduce:
1. Create 2 layer
2. 1 layer("layer 1") is set to initial visibility to "invisible"
3. Add 1 spriteA to "layer 0", add 1 spriteB to "layer 1"
4. Click spriteA will show "layer 1" hence will also show spriteB
5. Click spriteB will restart layout.

Observed result:
"layer 1" even after restart will still show or visible

Expected result:
"layer 1" should be invisible after restart layout.

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

Operating system & service pack:
Windows 8

Construct 2 version:
R143
    
B
84
S
24
G
14
Posts: 391
Reputation: 12,658

Post » Tue Sep 10, 2013 2:12 pm

I think this is just an accidentally-by-design quirk. Layer visibility is global and persistent, and doesn't reset when re-visiting the layout. We could change that, but I think it would break a lot of projects, since I assume there is a lot of content out there that takes advantage of the fact layer visibility is global and persistent. So I think it's better not to change this. Closing as won't fix.
Scirra Founder
B
402
S
238
G
89
Posts: 24,613
Reputation: 195,993


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest