Jump to content
  • Advertisement


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


Confusion About Game Engines...

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

Hey, I''m a bit confused as to what exactly a game engine should do. For instance, should the game just call something like CreateObject(Hovercraft_14); and then the engine manages the object and does everything for it, or should the game write specific hovercraft instructions and physics and stuff for the object.. That''s probably not clear, so I''ll try to rephrase it. Should the game either call just that line, CreateObject(Hovercraft_14) and then the engine handles collisions, physics, ect. without ANY extra coding in the game, or should the game have to code a callback for the engine to call which handles the physics for the hovercraft and other pieces of the hovercraft''s behavior. I''m mostly confused about how much an engine should do in relation to the coding on the specific game. Walt

Share this post

Link to post
Share on other sites
It all really depends on your definitions of "game" and "engine"

Eg, what part does the graphics?
Is the engine in a separate piece of compiled code (eg dll)
Is your engine in a separate thread?

Because it''s really a line in the sand that every game programmer draws on his/her own.
I have a physics function which does all the moving, spawning simple objects like bullets, and clipping, which I''d probably call the engine. Graphics and Sound, Input, GUI interaction etc are all outside of it.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!