开发者

Is QT the right framework to use for simple 2D game in C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I want to create a simple "Mario-like" 2D game. Nothing too fancy, just a some kind of plubmer walking 开发者_JAVA技巧and jumping, some bad guys, user interference, few levels. Is QT the right framework to use? My friend suggested me Irrlicht, but that seems much more for 3D stuff.

Thanks for your ideas!


I don't think that QT is the right tool for 2D game development in C++, but you can try SDL.

Also, for future game development questions, there's a better StackExchange web site where you can probably get better answers: Game Development.


Qt can be used to make very complicated animations and graphics scenes (2D and 3D). There are tiny examples included in the SDK that you can use to base your work on, but remember you'll be programming in Qt, instead of something a tad more general like OpenGL.


Check out SDL.

If you want a more OO API, check out SFML. SFML has more done for you in terms of design (a Sprite class, for instance).


Qt has a big library which provides a lot of features, you would be wanting to use Qt wholly rather than just for 2D drawing.

If you already know qt and are comfortable with it, then its way to go.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜