/sf2dboxes

sfml + box2d == sf2dboxes... An example of how to combine these libs, and also how to separate rendering, logic, and control.

Primary LanguageC++MIT LicenseMIT

sfml + box2d == sf2dboxes

A small example C++ project to show how SFML could be integrated with BOX2D. Aims to be showcasing modern, easy to follow C++ practices.

The whole list of dependencies and tools used:

  • CMAKE - build system
  • VCPKG - package manager
  • SFML - graphics, input, etc
  • BOX2D - physics engine
  • Source Code Pro - font for UI

Both SFML and BOX2D can be installed/built with VCPKG. CMAKE provides a way to build the project in a platform independent way.