Loading...

Box2D tutorial 1 (C++ and (OpenGL or SDL)) - main application

22,074 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Sep 2, 2012

In this tutorial we set up the main application, which I'm going to use further, which is basically falling boxes.
Box2D is just a physics engine, how you render is up to you, I set up the rendering with both (OpenGL + SDL but with ortho projection) and pure SDL, according to that, using your own rendering (flash, allegro...) shouldn't be a problem.
Source:
OpenGL rendering: http://pastebin.com/wSQcuwVQ
SDL rendering: http://pastebin.com/9Fxy2EDQ

  • Category

  • License

    • Standard YouTube License

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...