Mini Map and Layouts In Layouts

This forum is currently in read-only mode.
From the Asset Store
The concept is running and jump to avoid the obstacle on the road until you can catch your lovely lady.
  • I wouldn't use a layout-in-layout thing... instead, add another layer on top of layout 2, set its scroll rates to 0, put GUI elements onto it as well as the minimap. You can play on Layout 2 then.

  • but then units would be able to move behind GUI.

    I'm making an rts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • but then units would be able to move behind GUI.

    I'm making an rts.

    So you want them.... paused?

  • I think what he's after is for the HUD to look like it's a separate screen to the game screen, without anything on the game screen able to go behind the HUD, so it looks like the game screen is the only part scrolling.

    If that's what you're after, then I'd avoid the layout in layout approach too, and us the "top layer for HUD" approach as mentioned above.

    Then add dead space to the bottom of your game screen, so that the action can't scroll down to that area, and when you've scrolled down to the bottom of your layout, it will look like the visible area that your characters have reached are the end of the layout.

    So, if you have a HUD that 100 pixels high, make sure you have nothing for the bottom 100 pixels of your layout, and make sure that your moving objects can't move onto it.

    Hope I explained that well enough.


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