Layer / Global Object Bug

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • 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

    [attachment=0:tbkygg21][/attachment:tbkygg21]

    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

  • Try Construct 3

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

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

  • oops, sorry about that. for some reason I had thought the layers were shared across layouts.

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