Jump to content
  • Advertisement


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


engine design

This topic is 5373 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! i want to write my own 3d engine.. right now i''m in the design phase.. and i got some questions i would like to ask.. 1. i don''t really know that much about engine design.. has anyone a good link to an article/tutorial about the conceptional design? 2. i read the kernel/task approach in the enginutiy series.. does this really make sense? i guess there is only one renderer, only one inputsystem, only one soundsystem,.. or should each ai-entity act as seperate task? so much desicions, so little time lg, franz

Share this post

Link to post
Share on other sites
The task system is mainly created so that the kernel "knows" what it must do: each task has a stop, start, update.
Now Kernel can do: Kernel->Task->Update(); (eg. in a loop)
If you would make a non-task class, the kernel can''t do this anymore, because it doesn''t know how the non-task class works.
So the task class has nothing do to with one or multiple instances, but all with giving the kernel a solid (task) class.
Try implenting a singleton for each class, where there should be only one. Also I would recommend reading the whole enginutiy serie and download some more engines (ogre, cat mother, etc).
Just try to compare, understand and test the code: works best for me!

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!