Model-View-Controller, is a design pattern that separates (decouples) game objects data from it's presentation and ways of manipulation.
1
vote
1answer
69 views
How do I separate model positions from view positions in MVC?
Using MVC in games (as opposed to web apps) always confuses me when it comes to the view. How am I supposed to keep the model agnostic of how the view is presenting things?
I always end up giving ...
0
votes
0answers
23 views
How to set, persist and send a String target for a MUD client
Mudlet, a MUD client for Linux, has the capability of targeting by name:
target = target:title()
if id then killTrigger(id) end
id = tempTrigger(target, [[selectString("]] .. target .. [[", 1) ...
0
votes
2answers
88 views
is a good practice to orgnize MVC classes in diferent packages? [closed]
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 ...
0
votes
1answer
119 views
Is my social game technical solution viable?
I'm currently working on a board social game using HTML5 (canvas) & Asp.net MVC 4, Azure, Sql server, EF.
I'd like to do a server side realtime validation (using Ajax) of a player moves (not more ...
1
vote
1answer
45 views
Which part of MVC should be responsible for selecting a unit
Imagine a turn-based tile game, that generally looks like Heroes' combat view. Except for the fact a player can choose any of his units to command.
Our team is implementing the game according to MVC ...
4
votes
1answer
89 views
When using MVC, what is the proper way to handle a view refresh when the model isn't ready?
I'm about to start building a game and am having trouble understanding the proper course of action when it's time to refresh the screen, but the model hasn't finished its calculations. I assume this ...
-2
votes
1answer
250 views
MVC pattern for turn-based RPG [closed]
I'd like to make a 2D game in Java using the Model-View-Controller (MVC) pattern, but I have some issues concerning the battles.
There are two groups of characters in each battle: heroes and ...
2
votes
1answer
117 views
MVC with looping view
For our school project we'd like to develop a game using the MVC pattern. We're all moderate new java programmers and absolutely new in game development.
With our current view (containing only menu) ...
2
votes
2answers
296 views
Are javascript MVC model implementations too slow for games?
I wanted to implement a game in javascript with an MVC design pattern, with each entity's state stored in a model.
So for example,
In an update loop we iterate over all models and apply the velocity ...
2
votes
1answer
70 views
Model View Controller linking dynamic model to view
I currently an implementing a game roughly using a model-view-controller setup. A single game controller instantiates a model and view. The model and view then instantiate child models and views, ...
1
vote
1answer
200 views
Entity Component Systems with Model View Controller
Can the Model View Controller design pattern be used with non-OOP coding style, specifically with Entity Component System?
2
votes
1answer
210 views
Comprehension question to MVC Pattern in Game Programming
So is my assumption right?
If I use MVC in Games I will have to implement a Model,Controller,View for every kind of interaction object.
For example in an Motorbike game. My Motorbike object will ...
0
votes
1answer
263 views
Any link / tutorial of how to develop MVC pattern? [closed]
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 ...
3
votes
1answer
169 views
Using MVC with a retained mode renderer
I am using a retained mode renderer similar to the display lists in Flash. In other words, I have a scene graph data structure called the Stage to which I add the graphical primitives I would like to ...
2
votes
1answer
347 views
How should I connect objects when using the MVC paradigm?
This has been confusing me for the past week as I am trying to make my first actual game. It's only my 2nd year learning Java so I am really trying to learn how to program like a professional ...