[SOLVED] Menu won't work at certain points in the game!

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

[SOLVED] Menu won't work at certain points in the game!

Post by RaptrStudios »

So i have a main menu that won't work after i exit the "Controls" menu.Please help, or ask more questions.
Thanks!


[ATTACHMENT ERROR src=http://www.mediafire.com/download/32m79 ... /main.love]

Space bar operates the menu
Last edited by RaptrStudios on Fri Apr 17, 2015 3:36 am, edited 1 time in total.
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
Duster
Prole
Posts: 32
Joined: Fri Dec 19, 2014 8:34 pm
Location: Ontario, Canada

Re: Menu won't work at certain points in the game!

Post by Duster »

Looks like you're forgetting to reset "control_menuToggle" back to false after leaving the "control" gamestate.
Placing "control_menuToggle = false" at line 23 of game_manager.lua solves the problem
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: Menu won't work at certain points in the game!

Post by RaptrStudios »

Thanks!
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 2 guests