What is the best way to create menus? [SOLVED]

  • Creating other layout, or creating another layer?

  • It depends on your needs. If you want an overlaying menu, you need to use layers, otherwise a layout can be feasible as well. As a personal opinion: for in-game menu, I'd go with layers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The more time I spend in this game dev world the more I realise there is really no best way to do anything.

    As long as what you are doing is reasonably performant / effecient and it works then go with it.

    As well as layers or layouts you could also create/spawn the menu items when you need them then destroy when done. Or you could have them ready off screen then move into position as needed. You could do visible invisable with activated deactivated code. Or any or all of the above together .

    To add. The most important thing is whatever way you choose you should be comfortable with the method, and it should be as adaptable , changeable, and reusable as possible.

    I will close with the caveat that I've never made a full menu system yet so it is highly likely that I haven't a clue what I'm talking about.

  • People lean towards using layers because they likely come across problems with going between layouts and values start resetting and they don't know how to handle it. If you are comfortable with layout transitions then I tend to use separate layouts for main menus, and make use of layers for in-game UI, boxes and dialogs that are likely to pop up.

  • I understood, thank you all.

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