Thursday, November 13, 2014

Work Completed

The goal today was:
Navigation and Testing

While thinking about navigation, I realized that I wasn't able to put off that needed revamping of the game managing classes. I started picking at some variables to see who used them and how important they were. After a while I got a decent feel for what was reliant on what.

I copied the head honcho GameManager class and then rewrote it. I liked how it looked so I took the plunge; broke the class into two, extended other classes from those, wrote some new worlds, and then executed.

There was a long list of errors that popped up but they were mostly just broken references which are easy fixes. A couple hours later sifting through those and the game is working!

So I'm feeling pretty comfortable about breaking everything up into separate worlds. There's the PuzzleWorld, the PuzzleDesignerWorld, the PuzzleSelectWorld, and the TitleScreenWorld. Tomorrow I'll be working on the PuzzleDesignerWorld which is the most complex.




No comments:

Post a Comment