Jump to content
  • Advertisement


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

Maverick the divider

Lightning fast 2d engine specifics

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

Hi Could someone, anyone clear out what is the best way to create a 2d engine in directgraphics that''s ment for speed. As far as I can see, there are options: a) 1 vertex buffer with 4 vertices, each sprite is drawn on the modified vertices. The Z buffer is disabled, so you draw everything like in good old DirectDraw - on top. b) 1 vertex buffer with a selectable amount of vertices for each texture, each holds 6 vertices (4 if indexing is used) for each sprite drawn. The Z buffer is enabled, so we need to control the Z level also. c) 1 vertex buffer for everything, seperate index buffers for textures, same as ''b'' any other ideas? --- Keep it simple, stupid

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.

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!