Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 699 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 699 Bytes

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.