Go4Expert (http://www.go4expert.com/)
-   Game programming (http://www.go4expert.com/forums/game-programming-forum/)
-   -   C++, SDL and Box2D game (http://www.go4expert.com/forums/cpp-sdl-box2d-game-t27532/)

ryaneoghan 4Jan2012 19:29

C++, SDL and Box2D game
Hello everyone, I'm in the process of trying to get some simple physics working in Box2D using SDL for rendering.
My question is this: how do I actually visualise the physics being done by Box2D using SDL? Is it a case of "grafting" bitmap graphics onto objects into the Box2D world?
Can anyone provide me with a simple code example? There is a shocking lack of tutorials online covering this so hopefully someone may be able to help.



All times are GMT +5.5. The time now is 13:21.