Skip to content

Wrapper for SFML & Box2D. Used for ludum dares by the creator.

License

Notifications You must be signed in to change notification settings

imerr/SFMLEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f1569f · Aug 12, 2019
Nov 10, 2014
Mar 17, 2015
Apr 21, 2018
Apr 22, 2018
Sep 21, 2016
Apr 23, 2018
Nov 10, 2014
Sep 19, 2016
Apr 21, 2018
Dec 10, 2014
Aug 12, 2019
Apr 22, 2017
Sep 19, 2016

Repository files navigation

SFMLEngine

A simple game engine based on SFML & Box2D. Implements dynamic light and some other stuff

Made for my (iMers) convenience

Compiling

Uses cmake now, so just generate a makefile for the toolchain of your choosing.. or just add all the files to your ide and it'll work too.

It needs a C++11 compatible compiler and makes use of std::thread, so 'default' MinGW may not work.

Usage

Link the engine, SFML, Box2D and json-cpp, inherit game, create a scene and other stuff and enjoy!

ObjectPlacer controls:

  • Left-Click move current object
  • Middle-Click delete current object
  • Right-Click create new object
  • NumPad 0 - Save to out.json
  • NumPad + - Next object (replaces current)
  • NumPad - - Previous object (replaces current)
  • Arrow keys: Move current object by 1px
  • Numpad *: rotate by +15°
  • Numpad /: rotate by -15°
  • Comma ,: sets rotation to °0

Example Projects:

(older ones probably have engine incompatibilities)

More documentation coming soon(tm)

About

Wrapper for SFML & Box2D. Used for ludum dares by the creator.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published