Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:45:53+00:00 2026-06-05T03:45:53+00:00

I was reading this article on using the MVC design pattern in game development,

  • 0

I was reading this article on using the MVC design pattern in game development, and I’d love to give it a go, but I’m a little confused as to how to dynamically create MVC objects. In the article they’re talking about the creation of a shooter game, but what I don’t understand is how a soldier could throw a grenade for example. It’s easy enough for the soldier model to create a grenade model, but how would the view and controller get set up without the soldier model having to know about the view and controller of the grenade mvc?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:45:56+00:00Added an answer on June 5, 2026 at 3:45 am

    imho, I think you taking it the wrong way..

    Every game has a board or a map.
    Your map “model” should be the orchestra of creations.

    So if a solider is throwing a grenade:
    1. your ui-controller (or solider controller) fires an event for throwing a grenade.
    2. your map-model get that event and create the model for the grenade being thrown.
    3. while the grenade is flying it should receive information from the map regarding obstacles passing by and etc..
    Shortly put – the map is the orchestra of all visible objects on the map.
    In relation to the article notice that the view is described as the “EntityRepresentation” or the map in my words.
    It is NOT a nested MVC pattern as you expect to find in rich client applications.
    Good Luck! 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was reading about data driven testing using mbunit from this article. http://blog.benhall.me.uk/2007/04/mbunit-datafixture-data-driven-unit.html I
Reading this article on nginx website, I'm interested in using X-Accel-Redirect header in the
I was looking at using Amazon's EC2 service after reading this article: http://www.ibm.com/developerworks/java/library/j-javadev2-4/index.html But
I wrote my own context by reading this article and many others, but none
After reading this article: Using Interfaces in C++ I have decided to use the
I was reading this article Build Your First Cloud Application Using Visual Studio 2010
I have been reading this article: Many ways to communicate with your database using
I was reading this article about volatile fields in C#. using System; using System.Threading;
I am studying ASP.net MVC Framework. After I reading this article , I can
I like using structs a lot. So after reading this article , are there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.