Paul Manta
Paul Manta

Reputation: 31577

Exemplary 2D game engine

Is anyone here able to point me to a simple and well designed C++ 2D open source game engine? The genre is less important, I wish to learn by example. I wouldn't want anything particularly complex as I'm interested in learning general concepts, rather than getting into the nitty-gritty of the engine implementation.

Upvotes: 6

Views: 5026

Answers (3)

Constantinius
Constantinius

Reputation: 35069

Personally I learned a lot, looking through the source code of Frogatto, even the source code can be viewed only here.

It is of course a more complex game, but there is much to learn regarding software/game architecture and design.

Upvotes: 3

user500944
user500944

Reputation:

Have a look at SuperTux, it's a nice little platformer game inspired by Mario, written in C++. There is a builtin level editor, too.

Upvotes: 1

nietaki
nietaki

Reputation: 9008

If I were you I'd look into ClanLib - it is open source, cross platform, and the source packages contain 50 or so easy-to-follow examples, from simple image rendering, to a fully working server-client dice wars implementation.

And if you're eager to get started it's easy to set up with Visual Express, so you can play with in in no time.

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

Upvotes: 3

Related Questions