How do I Make my menu work?

  • So, I'm working on a keyboard controlled menu for my platformer game.

    My first 3 tabs are "Items" "Options" "Exit"

    And my problem is when I Open the "Items" menu.

    The way the menu works is by sprites that change animation depending on what key you pressed. (To get into the "Items" Tab you need to press "Z")

    My problem is that when I press "Z" and open the Items Menu, it automatically deactivates the first item highlighted.

    The way I activate/deactivate "Items" is by pressing "Z" as well, when the item is highlighted. Using a dictionary to assign keys to items when "active = 1".

    This means when I press "Z" on the "Items" tab, the item Key turns to 0 automatically

    -Thanks for your time, I really appreciate it-

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Worked with an Else condition!

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