Check gamestate
Posted: Fri Sep 16, 2016 2:44 am
Hey, i just have a simple question, how would you write a condition to check the current gamestate.
would it be like?
return app.gamestate==levelone ;
Sorry is this seems really ignorant. Currently I've been assigning a variable to each gamestate, not a different variable just changing the number for one variable, and returning this number when i need to, but i realized that this probably isn't necessary.
Hope someone can help
would it be like?
return app.gamestate==levelone ;
Sorry is this seems really ignorant. Currently I've been assigning a variable to each gamestate, not a different variable just changing the number for one variable, and returning this number when i need to, but i realized that this probably isn't necessary.
Hope someone can help