• Advertisement
Sign in to follow this  

Game Engines With C++

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

Currently I'm working on a project and I'm trying to write a game engine for it. First of all, where do I begin? Would I put the engine into a namespace, in a class, in a dll, in an api, in the actual project (you know I could continue for hours)? Which?

Share this post


Link to post
Share on other sites
Advertisement
A full game engine would be made up of lots and lots of small libraries. You have to break it down in to managable chunks otherwise it gets on top of you and you dont finish it. You may end up with 100s of classes so be prepared to organise.

Share this post


Link to post
Share on other sites
Black Glacier Games,

I started a similar topic that has grown to be quite helpful. Perhaps you can find it useful:

Game Engine Design Questions

I hope this helps, It was just started yesterday and will probably continue to grow - it contains questions, answers, and discussion on designing a game engine and includes a rough draft flowchart and a better looking visio flowchart.

Hope this helps,

Jerry Smith
Iota Beta chapter of Sigma Kappa Delta

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by Black Glacier Games
thanks but i don't know how to link libraries or write them. could you help me with that?



If you are using MS Visual C++, you select what you are building when you start a new project (a windows app, a console app, a lib, a dll, etc...)

Other C++ IDEs probably have something similar or a template program of those types.


One idea for DLLs -- if you are going to script your game using C++ (maybe with macros to simplify) instead of an imbedded script language like LUA, then you can put those C++ scripts into DLLs so that you only have to rebuild them -- instead of your entire project.

(supposedly recompiling is supposed to take a long time but my 100000 code line project compiles in seconds...... must be the way I structure my #includes etc...)

Share this post


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

  • Advertisement