changeset 274:a9064c09dde6

rpg: increase margins
author David Demelier <markand@malikania.fr>
date Sun, 13 Dec 2020 11:00:50 +0100
parents e28429dbdaaf
children f89a53abb314
files libmlk-rpg/rpg/map.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmlk-rpg/rpg/map.c	Sat Dec 12 12:31:23 2020 +0100
+++ b/libmlk-rpg/rpg/map.c	Sun Dec 13 11:00:50 2020 +0100
@@ -49,8 +49,8 @@
  * Those are margins within the edge of the screen. The camera always try to
  * keep those padding between the player and the screen.
  */
-#define MARGIN_WIDTH    80
-#define MARGIN_HEIGHT   80
+#define MARGIN_WIDTH    160
+#define MARGIN_HEIGHT   90
 
 #define WIDTH(map)      ((map)->columns * (map)->tileset->sprite->cellw)
 #define HEIGHT(map)     ((map)->rows * (map)->tileset->sprite->cellh)