A quick update here for Zombie Hero, a game that seems like forever for me to make :P
I wonder to myself why I didn’t implement this feature from the very early stage of the development. A feature to have an ability to customize the game setting ie. enemies’ stats, enemy types, wave-by-wave setting, and miscellaneous on the fly. Of course, it’s easy for internal team or testers to make a config themselves.
I remember in that time I thought it would be a time consuming but after the pressure coming from tight schedule and a need in such ability to test the stages away flexibly in parallel with development thus I have to do it. Surprisingly, with a clear thought and plan, it took shorter time than I initially expected. It took me 2 days (I’m a slow programmer) to complete it with minimum features needed.
I’m more satisfied with it compared to hard-coded way before.
As usual, the game starts off by downloading the configuration file from server. It will use the data loading from the configuration file throughout the game life cycle. If there’s no Internet connection at that time, or any problem occurs, then it will fall back to use the default (stable tested) one. But the proper way is to have it saves to a file again after downloading, then the next time if there’s no Internet connection or problem occurs that one is the setting allowing for it to fall back to instead of the default one.