开发者

Best 2D c++ API? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_运维问答

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

I am looking for a good 2D C++ API. I have looked into SDL, but I was hoping for something a little more high level like pygame or cocoa except for C++. The only other thing is that it must have Linux support. Any ideas?


Try Allegro. Particularly the Allegro 5 release. Its got support for OpenGL/DirectX and a lot of "addons" like zip reading functionality, loading all kinds of images, advanced sound support, etc. The binaries are also available here.

Its a little bit more "high level" than SDL, but not by much. Check it out and decide for yourself.


Theres not such a thing, like the "best 2D C++ API". Anyway, have a look at openFrameworks, if you prefer a high level library.

http://www.openframeworks.cc/

It uses OpenGL and is also available for Linux.


Look at this game engine database, see which ones support 2D graphics operations (graphics column). Another useful resource is DevMaster.net's 3D engine list, try doing an advanced search here.


SFML has some nice 2D drawing primitives. It uses OpenGL for acceleration by default; if that's a problem, a lower-level library like Cairo is very good.

Other than those, off the top of my head, I can only think of Qt, which has support for these kinds of things as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜