Answer the question
In order to leave comments, you need to log in
C++ game: which library to use?
Good afternoon. At the university, as an additional developmental task, they were asked to write a game in C ++.
No matter what I will use, the main thing is experience and knowledge.
The game will be 2D. The only worthwhile and interesting thing I found in the SFML library, well, and the tools accompanying it.
Question: Are there any other libraries? What is the difference? Where is it better to write, what is better to use?
I will be grateful!
Answer the question
In order to leave comments, you need to log in
It is unlikely that a developmental task means anything that requires an entire game engine. For some simple games (for example, arcade games), SFML is enough to display graphics, and the logic can be easily described with your own hands, instead of understanding other people's APIs.
If you need good physics, then you can use Box2D, although, as far as I remember, Google was happy to give out much simpler options in the form of source codes at the request of "physics engine". Of course, not always in C++, but in Delphi, for example.
In general, when I was doing a similar search, I settled on SFML, although I can no longer reasonably explain why this is so - it was too long ago. :)
But the meaning of the question "Where is it better to write, what is better to use?" I didn't quite get it. Is it a development environment or what?
SFML is just an analogue of SDL, you need a game engine. Now Unity is most often heard , but here there is a more detailed list.
I have not used it myself yet, but I think that Cocos2d-x is suitable for your purposes
Very good HGE . Particles, sprites, quads and textures: everything you need for gamedev. Enough, light, sound and graphics with image loading included, good documentation and examples that immediately make it clear what's what. Of the minuses, it is only under Windows and DirectX.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question