Page 1 of 1
the game state wont change
Posted: Fri Mar 04, 2022 6:16 pm
by Seth144k
So i'm actually getting pretty far with my game but for some reason im stuck on getting the state to change here is my love file. Also im so sorry for the unorganized code this is my first real game with Love2D and just a framework in general
Re: the game state wont change
Posted: Fri Mar 04, 2022 8:48 pm
by nehu
can you tell what is exactly the problem?
'getting the state to change' is not helpful
Re: the game state wont change
Posted: Fri Mar 04, 2022 9:37 pm
by Seth144k
i actually fixed it! I wanted to change game.state to where it wouldnt spawn in any more enemys but it wasnt working. I fixed it by using integers instead of strings as the states. But yeah I do think i couldve been a little more clearer sorry about that