Global objects and Layout switching really messed

0 favourites
  • 3 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • So I followed the "Building a global user interface (UI)" tutorial on how to make an HUD that is global to the whole game. However. When I go from the beta stage to the map screen, which doesn't have the same layers as the beta stage, back to the beta stage, the following happens with all the layers I intended to be global:

    <img src="http://www.projectkgame.com/Epicbs.png" border="0" />

    The layers those HUD objects are on are supposed to be parallaxing at a rate of 0,0 but they act like they are 100,100.

    What's the best way to have a global HUD? This method is obviously not as easy of a method as it first appeared.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you absolutely certain those objects are on the HUD layer?

  • They should be. It all works fine when I go to the layout with only the HUD for the first time. Then when I go to the map screen that has fewer layers than the beta level and go back to the beta level, it all goes wonky.

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