A
A
arelay2014-02-18 22:13:20
C++ / C#
arelay, 2014-02-18 22:13:20

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

5 answer(s)
A
Andrey Strelkov, 2014-02-19
@arelay

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?

N
nekipelov, 2014-02-18
@nekipelov

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.

E
easyman, 2014-02-18
@easyman

Box2d is very good for physics.

S
Sunrise13, 2014-02-19
@Sunrise13

I have not used it myself yet, but I think that Cocos2d-x is suitable for your purposes

A
aveeugene, 2014-02-21
@aveeugene

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 question

Ask a Question

731 491 924 answers to any question