Original Post
Hi, I was wonder how the libraries listed compare speed-wise when working with fully 2D scenes? Thanks.
Quote:
Original post by Daaark
Allegro on Windows is just a wrapper over the old DirectDraw interfaces (unless they have updated it in recent builds). So D3D and GL will give you more speed as you can use all the video card's capabilities such as stretching and blending. But it's not really something to worry about, and it might not even be noticeable, especially at low resolutions.
XNA has a nice 2D sprite setup over Direct3D9 and is easy to use like Allegro. Might be a good starting point for you. You get the benefits of using 3D drawing to simulate 2D with all the added benefits, but without having to set it all up yourself.
Quote:Allegro is an old DOS gaming library written by Shawn Hargreaves in the early ninties. A small community rose around it, and have since shoe-horned it onto every other OS possible.
Original post by VanillaSnake21
Thanks, I was particularly interested in Allegro since, it has "low level" in it's name, so I though it might be have an advantage over D3D (which I know is already low enough in itself), but apparently not, thanks for the clarification.
Quote:
Allegro is an old DOS gaming library written by Shawn Hargreaves in the early ninties. A small community rose around it, and have since shoe-horned it onto every other OS possible.
It creates a window for you with a macro hack and manages it on its own, and it can create a few different video drivers, like directdraw and GDI. But the library has pretty much stalled since 2000, when they started planning for version 5 and it still hasn't gotten off the ground.
It's a lot like DevC++. It technically still works, but it's not really relevant anymore. You should use something more modern.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more