Jump to content
  • Advertisement
Sign in to follow this  
thedodgeruk

game engine architecture

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

im doing my 3rd year games project , and i have a game engine which i wrote from scratch . it works well and does what i need it to do , but i have cheated in a few places and i want to clean it up

the architecture is 90% there but not 100% and i want to improve it .
is there any resources in which i can look at to help me clean up my code,
what im after really is a good basic UML diagram to see how all the componants of the engine connect to each other?

Share this post


Link to post
Share on other sites
Advertisement
Every engine is different and divides its components in a different way, it'd be pretty impossible to give you a UML diagram which could be applied to your engine
The most basic architecture optimizations you could do would be refactoring your code where needed/possible and doing intensive profiling to work out engine's bottlenecks
After that you could go through some of your older and/or hacky implementations to see if you can find better and cleaner solutions for the problems they're dealing with

To keep a clean architecture in my engine I adhere partially to the extreme programming concept, also whenever hacks or shortcuts are used in my code to get certain functionality up and running the code gets marked and a top-priority issue is added to my issue tracker so I can resolve it as soon as possible, this results in a very clean and stable architecture

Share this post


Link to post
Share on other sites
At a low-level, the short answer is that the components don't connect to each other.

At a high-level, game systems create game-objects out of these isolated components and handle the interactions between them.

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!