Globals losing Z-order on new Layout

Bugs will be moved here once resolved.

Post » Tue Aug 26, 2014 10:16 pm

Problem Description
When using a 9patch and Text, both with Global enabled. Switching layouts causes them to loose their Z-order information. The Text is 9 times out of 10 now placed on the bottom.

Attach a Capx
https://drive.google.com/file/d/0B-7bwv ... sp=sharing

Description of Capx
Run the capx on Layout 1. An event will bring you to Layout 2 where the Z-orders of 9patch and Text are wrong.

Steps to Reproduce Bug
  • Create a 9patch with Text above it. (Same Layer)
  • Set both to Global.
  • Go to new Layout.

Observed Result
Z-order is... out of order.

Expected Result
Z-order to remain the same between Layouts.

Affected Browsers
  • Chrome: (Untested)
  • FireFox: (Yes)
  • Internet Explorer: (Yes)

Operating System and Service Pack
Windows 7 Home Premium
Service Pack 1

Construct 2 Version ID
Release 178 (64-bit)
B
56
S
15
G
13
Posts: 826
Reputation: 17,705

Post » Sat Aug 30, 2014 11:20 am

Yes, i have same problem here. If you haven't tried this yet, you can do like below in event sheet 2:

System->On start of layout | 9patch | Move in front Text
B
11
S
2
G
1
Posts: 25
Reputation: 1,685

Post » Thu Sep 04, 2014 2:55 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
402
S
238
G
89
Posts: 24,637
Reputation: 196,071


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest