diff --git a/SeasonsOfLoneliness.cpp b/SeasonsOfLoneliness.cpp index 32a1151..1d1ab4d 100644 --- a/SeasonsOfLoneliness.cpp +++ b/SeasonsOfLoneliness.cpp @@ -7,9 +7,29 @@ using namespace olc; +#define TEST_MAP1 //Toggle to just play around on map 1. +//#define TEST_MAP2 //Toggle on to just play around on map 2. + #define STARTING_MAP "assets/maps/map1" #define STARTING_STATE CUTSCENE_1 -#define MOVE_SPD 0.1 +#define MOVE_SPD 0.075 +#define PLAYER_X 14 +#define PLAYER_Y 4 + +#ifdef TEST_MAP1 + #define STARTING_MAP "assets/maps/map1" + #define STARTING_STATE GAMEWORLD + #define MOVE_SPD 0.1 + #define PLAYER_X 40 + #define PLAYER_Y 31 +#endif +#ifdef TEST_MAP2 + #define STARTING_MAP "assets/maps/map2" + #define STARTING_STATE GAMEWORLD + #define MOVE_SPD 0.1 + #define PLAYER_X 16 + #define PLAYER_Y 5 +#endif enum GAMESTATE{ CUTSCENE_1, @@ -281,7 +301,7 @@ public: int MAP_WIDTH=-1; int MAP_HEIGHT=-1; Decal*TILES; - float PLAYER_COORDS[2] = {14,4}; + float PLAYER_COORDS[2] = {PLAYER_X,PLAYER_Y}; std::vector OBJECTS; bool CUTSCENE_ACTIVE=false; cutscene::CUTSCENE CURRENT_CUTSCENE=cutscene::NONE; diff --git a/Seasons_of_Loneliness b/Seasons_of_Loneliness index 62f60e5..1ac16c4 100755 Binary files a/Seasons_of_Loneliness and b/Seasons_of_Loneliness differ