MVC pattern for games
Posted 01 May 2012 - 01:00 PM
Recently I read in a book related to Game coding that the games we code must follow the MVC Design Pattern.
Is it necessary that we strictly follow this pattern.
And do most of the games follow this pattern
Posted 01 May 2012 - 01:40 PM
I think it is more common to have a component based approach, where a game object (like a monster) has an AI, a mesh renderer, a physics simulation etc.
Posted 01 May 2012 - 08:08 PM
Posted 02 May 2012 - 02:18 PM
Posted 02 May 2012 - 06:18 PM
This is different from the Observer pattern, from which MVC is modeled from. The Observer pattern is a little more universal, and can apply at the subsystem level or even on just one class. So, don't confuse the purpose of the two.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users