Questions tagged [mvc]

Model-View-Controller, is a design pattern that separates (decouples) game objects data from it's presentation and ways of manipulation.

Model-View-Controller or MVC, is a design pattern that separates (decouples) data (model) from it's presentation (view) and ways of manipulation (controller). This article provides good example of real-life usage of MVC pattern in game development.

35 questions
3
votes
1 answer

Combat numbers in an MVC

Bear with me this will take some explaining... I'm trying to design my game as close to Model-View-Controller design principles as possible. At least in and so far as I understand those principles. I have two relevant classes in my View and Model…
1
vote
1 answer

Any link / tutorial of how to develop MVC pattern?

I want to learn how to develop a MVC pattern, but i can't find any site in where they focus it to Games and not to Browser / Windows calculator. Would anyone please link me a tutorial of how to develop MVC patter for games? Thank you very much
Aitor
  • 19
  • 2
0
votes
2 answers

is a good practice to orgnize MVC classes in diferent packages?

Im,working on a project where the classes are organized by subject like gameplay, menus, utilities etc... Basically this 3 packages. is a good practice to organize classes in controller, view and module packages ? games are typically visual…
Daniel Santos
  • 173
  • 1
  • 10
0
votes
3 answers

Applying MVC in Game Development

Suppose one is working on a game which has more than one component of code where the data, view, and logic is disjoint from the workings of another component of code (i.e. all games have a main menu and the game itself, with their looks, logic, and…
Alex W
  • 101
  • 1