Skip to main content
GameDev.net gamedev.net
🔒 Locked

Good open-source platform games

Started by TheVirtualDragon Aug 4, 2012 at 7:02 PM 2 replies 2.7k views
Original Post
TheVirtualDragon
TheVirtualDragon
Hello, I am creating a 2d platform game in C++ and I am having problems with creating the engine. I want to know if there is a good open-source platform game so I can study it's engine. I would prefer it to be using SFML for graphics and Box2D for physics, but it doesn't really matter as I want to look at the structure not the actual code.

Instead, if there is a good tutorial on how to make a good game engine, then I will have a look at it. I have looked at some examples but not really understood most of it as it is too complex for me. This is my first game (apart from tic-tac-toe and pong) so I don't want my engine to be overly complicated.

Additional Information: I have about 2 years of experience in C++ and am dual booting Linux and Windows (so the platform doesn't matter - as long as it is not OS X).
What's This?: basically, it's my blog. Click on it.
TheVirtualDragon
TheVirtualDragon
Also, what would be better to implement: an object based engine (define object, player, enemy etc.) or a component based (define graphics, physics and sound and build everything else from there)?
What's This?: basically, it's my blog. Click on it.
Daaark
Daaark
There is a platform game starter kit on the XNA site. It's C#, but the concepts are the same in any language.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.