Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 1648

Menu system won't destroy when it's purpose is fulfilled.

$
0
0
I'm running into a problem where my main menu system still registers button presses even after the game is started, meaning pressing the down key twice and then the confirm key to land the player on "quit game" will close the game even if the menu screen is invisible and the player character can move around freely.
Here's my code:
GML:
if room_id = rm_titlescreen
    {
//move thru menu
        pos += down_key-up_key
//store number of options
        op_length =...
Menu system won't destroy when it's purpose is fulfilled.

Viewing all articles
Browse latest Browse all 1648

Trending Articles