Rolling is a little game I made as my application to collage. It's supposed to be a platform, puzzle and agility game combined.
Your goal is to reach the finish flag in a world seen from the side (platform). To do so you have to collect keys that open doors (puzzle). Those keys are distributed at tricky positions (agility).
Because I'm applying as programmer (big surprise, I know) it's focussed around internal engine stuff, and not graphics. Most of the stuff is made out of lines or basic shapes, except for the doors and keys, which are sprites.
You can clone the source code from the git repository at: https://bitbucket.org/Aidiakapi/nhtv-rolling
It uses SFML and Box2D. I'm compiling using Visual Studio 2013, but it'll probably work without change in 2012 as well. After you build you'll have to copy some dlls from the SFML/compiled folder to either the Debug or Release folder.
When running with a debugger attached (ie. hit F5) you may notice significant performance degration, especially when using Box2D debug draw. This is related to the debug heap, which is very slow when used with Box2D.
Keybindings (specified in main.cpp):
- Left, A or left arrow
- Right, D or right arrow
- Jump, W or up arrow
- Reset (aka. restart level), R or F10 or middle mouse button (pressing the mouse wheel)
- Box2D debug draw, F1 to toggle, F2 to show/hide the game graphics, F3 to toggle shapes, F4 to toggle joints, F5 to toggle AABBs, F6 to toggle center of masses
There's only 2 levels, when you finish the 2nd, it'll restart at level 1 .
If you have any questions about the source or the game, just ask me on the forum thread.