still relatively new to using a GameManager (well, i've done something like this ... one time. last year. two years ago actually) but i'm finding it to be working alright.
i'm able to change between states using an enum and it's quite nice that I can just call to the GameManager instance and be able to change between different screens and such. so far i've got this:
the title screen with a big button that when clicked, changes to the level select/askNewGame state
the level select scene (with 1 level lol) that when clicked will change to the mazeExploration state
in the GameManager the handleMazeExploration function will just change the scene to the maze scene.
very cool. that's pretty good for a days' work. tomorrow i'll just see if i can trigger the "checking" state upon a certain condition occuring (like HP dropping to 0, timer dropping to 0–or maybe just a simple boolean change)
now im off to draw yaoi

No comments:
Post a Comment