Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


General Game Engine Structure

This topic is 5234 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

Hi, Im currently writing a game engine in DirectX for C++. The aim of the engine is to simply load and display objects from text files. The text files contain alot of details about each object and the engine does current load everything correctly. The question is, i am basically building my own game engine framework and im building it using classes. The situation is simply having a class to draw a panel mesh and all its related functions, ie rotation, applying materials and textures, then having separate classes for the lights and simply every different "action" etc. So is this the best way?, im having a bit of trouble with data flow. Do i store the rotation data for the panels and XFiles etc in the classes as structures or in one class that contains the information for everything. The problems that arise with my currnet method are the passing of pointers to the classes, to the other classes so that each class, especially the direct input one can alter the settings of the panels etc. Hope it is clear what im asking, Take Care Ace

Share this post

Link to post
Share on other sites

  • 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!