Page 1 of 1

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

Posted: Wed Apr 15, 2015 2:19 am
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

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

Posted: Wed Apr 15, 2015 9:43 am
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

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

Posted: Fri Apr 17, 2015 3:36 am
by RaptrStudios
Thanks!