Jump to content
  • Advertisement
Sign in to follow this  
Gage64

The concept of controllers

This topic is 3609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Every now and then I run into this concept in different contexts: animation controllers, camera controllers, AI controllers, character controllers, etc. All these sound like very different components, yet the term "controller" is applied to all of them. Could someone please explain the basic idea behind this concept? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
A good starting point:

http://c2.com/cgi/wiki?WhatsaControllerAnyway

It generally depends on whom you ask. Sometimes, the controller is seen as the mediator between the model and the view in MVC, sometimes it's the "read input" part of MVC, and sometimes it's just a class which is responsible for applying operations to a dumb class (for instance, a camera probably implements only simple primitive operations, because complex behaviors are better implemented in distinct classes).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!