Sunday, September 5, 2010

Box2D with SFML Test #1

I've just started learning about the joys of Box2D physics, using the SFML library for graphics and windowing. I started this blog to share some fun tests and projects with source code for examples. All code is in C++, compiled with Visual C++ 2008 Express (though I may switch to the 2010 version someday).

My first test project is a simple one... move a box around and bonk into some stuff:

Download and play with it here:
windows exe/binary
source code/project

(note that the exe was built with the Multi-threaded DLL (/MD) runtime library option, so you will need to have the C++ standard library dlls on your computer, available here if you don't have them already)

No comments:

Post a Comment