Skip to content

Instantly share code, notes, and snippets.

View MrPlow442's full-sized avatar

Matija Lovreković MrPlow442

View GitHub Profile
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
#include <Box2D/Box2D.h>
#include <cmath>
#include <vector>
#include <iostream>
#include <sstream>
const float static SCALE = 30.0f; //constant for scaling pixel units of SFML into MKS and vice versa
/*
*Note: The brittle sprite clip and the non-descriptive SpriteId enum are temporary for the sake of this test
* I have an idea of making a .dat file that will hold the textures along with the clip data
*/
#include <SFML/Graphics.hpp>
#include <windows.h>
#include <iostream>
#include <vector>
#include <memory>
#include <map>