When programming Rabbit Wars back in 2007, I ended up with huge objects for each of my game entities. They handled player input, AI, moving, shooting, health points and rendering. I didn’t like it, it drove me mad. But then I came across this Evolve Your Hierarchy article. Since I was still in the middle of programming, I refactored my game entity code to use components instead of multiple inheritance (just like the article described). It worked great, my code was readable again.
Last year in November I made a post about how my life was turned upside down, and that I was going through a rough period. Well, I’m happy to say things are much better now. And the future looks even brighter! I’m working on RPG Playground again, with full passion. It gives me great joy … Read more