z order issue

Discussion and feedback on Construct 2

Post » Fri Jan 09, 2015 5:29 am

I'm not sure if it's a bug or not but for some reason when I'm in layout 1 and an event triggers that sends me to layout 2, when I return to layout 1 the z order of all the sprites in the layout changes . Has anyone else had this happen? Just wondering before I try dissecting everything. I don't have anything in my events in either layout that would cause a z order change and all the objects are still there, just some become hidden because of the change.

EDIT: In case there's any interest in this thread, I've narrowed the effected objects to sprites with the persistent behavior applied to them. I still think it's a bit odd but I am sort of working around it by forcing the background to the back of the z order on load. It's a bit quirky but works for the most part. I'll continue to investigate.
Posts: 1,077
Reputation: 36,021

Post » Fri Jan 09, 2015 5:51 pm

If there are a different number of layers on each layout, then it's not possible to preserve the Z order and some objects will be bundled up together on to the same layer. This is by design. You should provide a .capx if you want further input.
Scirra Founder
Posts: 24,895
Reputation: 198,598

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests