Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Menu System Program

    Beginners
    2
    2
    503
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dave
      Dave Fuze Team last edited by Dave

      Hi folks - a user asked about creating a menu system and it got me thinking of a nice way to set it up.

      @Devieus mentioned on the original thread that using states to navigate a menu is a good idea, and I couldn't agree more - so I thought I'd try and whip up a project which used a simple state machine to get menu data.

      The project is here: N7363MND9F Please feel free to use it, change it, do what you like!

      A state machine refers to using a variable as an index into an array of data which gets what we need. In this case, the state variable is the menu_page, and it indexes the menu_data array to get the correct menu options!

      Currently only basic selection controls are implemented. Use d-pad up/down to select menu options, and press A to select an option.

      Only a few options have functionality - the others are just placeholders for you to customise!

      I hope it can be useful anyway. Let me know if I can clarify anything, or if there are simple improvements you've made!

      1 Reply Last reply Reply Quote 11
      • PickleCatStars
        PickleCatStars F last edited by

        Project not found! :(

        1 Reply Last reply Reply Quote 0
        • First post
          Last post