I took a very simple approach of just letting each game state fill out a class with named pair of values and then I write out all these values as a JSON file. It is simple gets the job done but probably does not scale too well. I am trying to be productive by not solving problems I may not have to, so if there is a simple solution that works for now but may not scale it goes in. I do have a focus on clean code, particularly with code I expect to reuse
I still have to run the game though the monkey tester to get a sainity check. Oh and test it on real hardware.
The real thing that is holding me up is getting it too work well at different screen densities. Becuase of the number of images displayed on screen I need to be careful about getting the correct art assets for the different screens. If I am honest I don't have much experience with this sort of thing.
There is a check list of small things to do but the big ones are those two.
Unfortunately no coding me tonight as it is a Taekwondo night. I ran 5 miles this morning and cycled to work an back (total about 7.5 miles of cycling) so it will be interesting seeing how my legs hold up.
I didn't post this before leaving, yep doing Taekwondo training and running in the morning is hard work but not as bad as I thought it would be. Although my legs in the morning may tell me a story I was not expecting.
No comments:
Post a Comment