Potential Construct 3 bug

0 favourites
  • 3 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hello there!

    I believe I may have found a Construct 3 bug.. Maybe (If so I will submit this as a bug)

    In my game I have a player character, multiple layouts and a good number of layers. I have one layer (playerLayer) that is named the same across all my layouts. The number of the layer is not the same but the name is consistent. playerLayer is NOT marked as "Global" because of my dynamic camera system. Setting the layer to global seems to cause major issues with it.

    If on start of layout I explicitly tell the game to set my character to "playerLayer" should it put my character on that layer regardless of its number on the various layouts? Example below. In this example its not placing my character on the layer that is named the same. when my character transitions it seems to be setting it on the first playerLayers number value. In this example it is layer 16. Let me know if you think it’s a bug.

    First layout

    character starts on layer 16 "playerLayer".

    The start of layout Code (All level layouts use the same even sheet)

    When moving to the Second Layout using "Go to layout".

    character being set to layer 16 "Zones". I would expect the character to be set to layer 13 "playerLayer" Since thats whats explicitly called out in code.

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why don't you just create it on the correct layer? It won't be a bug with Construct as you're implying, likely the events. Something will run in the wrong place or at the wrong time but we can't debug it from here.

  • Why don't you just create it on the correct layer? It won't be a bug with Construct as you're implying, likely the events. Something will run in the wrong place or at the wrong time but we can't debug it from here.

    Thank you, I just found out how to properly do this. Its working flawless. I was calling "move to layer" action in the wrong place.

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