Best practices for menus

edited October 2012 in Help request
For the last project I worked on, we created all of the menus at the same time, showing and hiding menus as necessary. I am wondering if it would be better to simply destroy and recreate the menus as needed. It would simplify some of the C++ code, and maybe even the INI code. Which is the better way of doing things?

Comments

  • edited October 2012
    Well, I don't really know if we can speak of best practices, but what I do is creating them on the fly all the time.
    And actually everything is done in config with timelines/commands, there's no code for that except for the 5 lines that handles a click and run a timeline.

    Now that I have a nice background/button free spritesheet, I'll try to write a short community tutorial on that, but it's really all very simple.
  • edited October 2012
    Yeah, that sounds a lot simpler than what I'm trying to do. So be it then!
Sign In or Register to comment.