Saturday, February 4, 2012

Code refactoring!

A fancy way of saying that I'm reorganizing and redoing the level generator code, while preserving what it is that the code does. I've been reading a book about design patterns, and it's given me a few insights on what could have been implemented better and more efficiently. It's more work (boo!) but in the long run it'll make coding/maintenance easier(ahh...), and generally be less of a pain in my ass.

Damn you O'Reilly and your helpful books!

My current goal is to get a basic but stable version of the level generator working so I can start working on spawn logic for the static objects that will decorate the level, dynamic objects that will help or hinder the player, and enemies that will generally just hinder the player. Hopefully, next build will have a new-and-improved level generator that generates side rooms and doors correctly (and generate more) with a basic implementation of corridors and hallways, a few more weapons to play with...Simple stuff =D


No comments:

Post a Comment