This will become a "proper" WIP soon, honest, but with no game design and no screen shots there's not a lot to say...The only thing that won't change is the 4 letter acronym since I used it for my code namespace. Oh and the stuff below is real. It is a blog of my current work.
Diary of Confessions of Wannabe Hacker OO Programmer - Age 38 27/73Day 717 years since I finished something and that was because I was getting paid. Time to squeeze one out before the end of the decade. Simple plan. Hack, hack, hack. Get it done quick. So what went wrong? How did I end up with ModelStores, WorldItems and ChipmunkFactories? Has 15 years in a corporate cube taken the bedroom programmer out of me? When
float model[][3] becomes
World::init(const CFG::Info& config)
{
pLevel->load(m_pFactory, config);
pFactory->getRecords(m_levelItems);
for_each(m_levelItems.begin(), m_levelItems.end(), addToWorld(this));
I think even my cat knows the answer.
"Know thyself" says the cat.
With renewed vigor from those sage words I sit down and start a template'd GenericHandler to use for an EventProcessor class...
Day 10The Chipmunks were giving me trouble, but once I separated them from the PolyModels and wrapped in a ChipmunkItem class they settled down.
Day 12You know, sitting here surrounded by PhysicalItemFactory's, ModelInfo's and LevelFile's it's easy to think I've lost the plot. But this is how I work, just keep creating
stuff...I have an abstract RNG interface with
SIX implementations ffs...never with any plan of a game. Why? Well ideas for a game are easy. Too easy. By the second day I can have a huge epic with the flood of stuff that comes. But 2 hours a day to code means stick to the small stuff that
needs done. Forget about the
game.
So I just hack one class at a time with no thought of a bigger picture. Which means of course the bigger picture is a tangled web woven by one of those spiders on LSD. Should still catch flies though. Course, even a trippin' spider knows it's building a web, so I've got my design plan to remind me in case I get lost down some inheritance tree.
Who knows, may have a screen shot next week!