Sign in to follow this  

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

This topic is 4594 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this