Skip to content

GuidoBisocoli/SFML3-Box2D3-Sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics Sandbox (SFML3 + Box2D 3 Base project)

A simple 2D physics sandbox demonstrating:

  • SFML - Box2D integration
  • mouse interaction
  • object spawning
  • world query (Box2D)
  • Joints (Box2D)
  • Spritesheet/Tileset usage
sandbox.mp4

Download

  • Download it from Releases if you just want to test it

Usage

  • Download and extract Box2D and copy box2d.lib and box2dd.lib to your project directory
  • Open .sln and configure your paths in Project Settings
  • Try to run it, it will give error but it will create the folders x64/Debug and x64/Release
  • Download SFML and copy on those folders sfml-graphics(-d)-3.dll, sfml-system(-d)-3.dll and sfml-window(-d)-3.dll

Controls

  • SPACE: spawn crate or box
  • C: spawn crate
  • B: spawn box
  • Right click on object: grab it
  • F: toggle fullscreen

Technologies

  • C++
  • SFML 3
  • Box2D 3

About

A base project (sandbox) with SFML 3 and Box2D 3.0

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors