PDA

View Full Version : Programming Technique - Thinking in Commands



TOdorus
March 31st, 2010, 04:49 PM
I don't know how much of you guys also visit the Flashkit forums, but recently this interesting post was made. Nice technique for menu's and interactive websites. A definite must-read.



Sometimes developing a large game project can end up with messy code. Thus, it's necessary to manage classes in a systematic way, with maintainability in mind.

Recently I've come up with an idea of a command framework which makes use of the Command Pattern.
And I decided to write a tutorial on its applications.

In this tutorial I demonstrated how to create a minimalistic command framework and scene manage framework. I think it's very useful for large game projects, or even general rich application projects. It helps you manage a project as modular pieces, making the responsibility of each object simple and clean.

Part 1
http://active.tutsplus.com/tutorials...s-part-1-of-2/ (http://active.tutsplus.com/tutorials/workflow/thinking-in-commands-part-1-of-2/)

Part 2
http://active.tutsplus.com/tutorials...s-part-2-of-2/ (http://active.tutsplus.com/tutorials/workflow/thinking-in-commands-part-2-of-2/)

I hope you guys like it.