Skip to content

plefebvre91/sfml-camera-shake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shake camera with SFML

Description

An example of how to shake the view/camera with SFML and C++.

Screenshot

ℹ️ Bad quality GIF

Installation

Dependencies

This project uses cmake and SFML library:

sudo apt-get install cmake libsfml-dev

Build

  1. Clone this repository
  2. Compile with mkdir build && cd build && cmake .. && make
  3. Go to binary folder cd ./bin
  4. Run with ./camshake

Resources

Background image come from openclipart.org, explosion sprite is from Pavel Kutejnikov and animated sprite class is available from SFML wiki.

About

Example of a camera shaking with SFML/C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published