Approximate 2D game engine

Can someone point me to a simple and well-designed open source C ++ 2D engine? Genre is less important, I want to learn by example. I would not want anything particularly complicated, since I am interested in studying general concepts, and not in delving into the design of the engine.

+6
c ++ design game-engine
source share
3 answers

If I were you, I would look into ClanLib - it's open source, cross platform, and the source packages contain 50 or such easy-to-use examples, from simple rendering of images to a fully operational version of the dice wars client server.

And if you want to get started, it’s easy for you to configure Visual Express so that you can play as soon as possible.

Also: here are some others if you want to try.

+3
source share

Personally, I learned a lot by looking at the Frogatto source code, even the source code can only be here .

This, of course, is a more complex game, but much remains to be learned about the architecture and design of the software / game.

+3
source share

Take a look at SuperTux, it's a nice little platform game inspired by Mario, written in C ++. There is also a built-in level editor.

+1
source share

All Articles