kkrice asked me to make a simple Demo with with Box2D and SFML to demonstrate how it works.
So I thought it would be nice to dump the code here so everyone can see it to figure out how to use SFML and Box2D together or they need a head start for a awesome platformer game. I even added a couple extras based off my game, I want to leave some credit to iforce2D, Some code is based on some of his, Which I take no credit for. Its 471 lines of code and you need SFML 2.0 and The latest build of Box2D(2.2.1). You can open the debug drawing "Feature" with F3 so you can see how accurate it is
or how wonderful my coding is. Also the DebugDraw is a modified version of the Test bed's Debug Draw from Box2D.
Its a extremely simple platformer with 3 tiles and 1 player. Your free to make it part of your game, I don't care what you do with it as long as you leave some credit for me and the people whose code is in there.
https://legacy.sfmluploads.org/file/175Its a Code blocks project with one cpp file and I may have included SFML dll's, I'm sorry about the extra downloaded junk... I kinda rushed it. Weird thing is I had the bright notion to remove the obj folder but not the DLL's... So again... sorry, my bad.
Anyway, Enjoy the code.