added viewport support

This commit is contained in:
Vincent-FK
2021-06-08 18:39:39 +02:00
parent dfc5c53d43
commit 71c8d22457
6 changed files with 125 additions and 47 deletions

View File

@@ -23,7 +23,13 @@
#define MONSTER_SPEED 7 // the less, the faster
#define ANIMATION_SPEED 2
// General sprites
// General sprites and colors
#define GAME_BG_COLOR_R 153
#define GAME_BG_COLOR_G 204
#define GAME_BG_COLOR_B 204
/*#define GAME_BG_COLOR_R 255
#define GAME_BG_COLOR_G 255
#define GAME_BG_COLOR_B 255*/
#define IMG_MAP_WALL "sprite/wall.png"
#define IMG_MAP_BOX "sprite/box.png"
#define IMG_MAP_GOAL "sprite/objectif.png"