Hud Area [solved]

Discussion in 'How Can I...?' started by mxstudios, Sep 5, 2016.

  1. mxstudios

    mxstudios Boxer

    Joined:
    Aug 30, 2016
    Messages:
    51
    Likes Received:
    13
    BBer's

    Is there a way to reserve space on top or bottom for buttons, or heads up display, etc? Maybe I am missing it. I want to not have my game use that space as it scrolls so it does not interfere.

    Notice the score area on top. Also I want to put powerup buttons on bottom.

    Thanks!

    Screenshot-640x1136-2016-09-05-12.29.19PM.png
     
  2. ajcoryat

    ajcoryat Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    241
    Likes Received:
    111
    I think in the GameField UI you could create an HUD "mask" at the top or bottom of the game screen that will block off the game play or you could maybe make it a be transparent. I mocked up a sample using your image
     

    Attached Files:

  3. mxstudios

    mxstudios Boxer

    Joined:
    Aug 30, 2016
    Messages:
    51
    Likes Received:
    13
    @ajcoryat, thanks! Forgot that the play area scrolls and it doesn't matter if it is covered. I dropped an image on the UI as a background and it works perfect since the game scrolls as I get closer. It's perfect.
     
    ajcoryat likes this.

Share This Page