z order issue

0 favourites
  • 2 posts
  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)