Jump to content
  • Advertisement
Sign in to follow this  
subflood

Engine

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

Hello, what makes a 2D engine a 2D engine? What I mean by that is what does it have to do. I'm thinking it has to have a particle system, sound system, rendering system, etc. What connects all these things together? Also, what is the difference between simply a bunch of wrapper functions from a engine?

Share this post


Link to post
Share on other sites
Advertisement
Render 2D Images (bitmaps, targa, etc..)

A wrapper is a class interface to an API usually (like OpenGL).

A wrapper is usually much more thin than an Engine. An engine usually consists of more helpful things rather than just a layer around an API. A wrapper could be a class interface to OpenGL Functions and an Engine would be able to load images, store them correctly and display them when needed, do the proper timing, hold the images in an array or linked list, load the images at the start of a map.

EDIT: what all connects these together is usually what you discuss in the planning stage of developing an engine. You go through the relations of each component of the engine and how they effect each other.

Example: for a a CWorld class you would need to display or manage the enemies and the player in the world so it is safe to assume that CWorld will somewhat manage the entities or at least their positions.

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!