Layer / Global Object Bug

Bugs will be moved here once resolved.

Post » Mon Sep 29, 2014 8:28 pm

Problem Description
Text object set to global, changes layer when switching to another layout, when it should stay on the same layer.

Attach a Capx
layerbug.capx


Description of Capx
Shows the text layer change in the debug when switching layout after hitting a key.

Steps to Reproduce Bug
  • run debug
  • look at Text's layer property (should be set to "gui")
  • hit a key to change layout.
  • check text's layer property- it has changed. t

Observed Result
The text object changes layer.

Expected Result
The text object should remain on the same layer.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
windows vista, sp 2

Construct 2 Version ID
r178
You do not have the required permissions to view the files attached to this post.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842

Post » Wed Oct 01, 2014 12:01 pm

Closing as not a bug. Of course it changes, Layout 2 only has one layer, so the object must be placed on that layer. If you had two layers, it would place it on the layer with the same index.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Wed Oct 01, 2014 9:14 pm

oops, sorry about that. for some reason I had thought the layers were shared across layouts.
B
41
S
19
G
65
Posts: 1,085
Reputation: 37,842


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests