From 7cd515fcfa1a5aac5605fcc63381033563fbf5d7 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 14 Mar 2022 14:11:05 -0400 Subject: map is now "infinite" using chunks that dynamically load like in diamond&pearl game is also slow as shit now --- src/consts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/consts.h') diff --git a/src/consts.h b/src/consts.h index 141838b..78312c0 100644 --- a/src/consts.h +++ b/src/consts.h @@ -5,9 +5,11 @@ constexpr int GAME_WIDTH = 1280;//640*2; constexpr int GAME_HEIGHT = 720;//480*2; constexpr int TILE_WIDTH = 8*2; constexpr int TILE_HEIGHT = TILE_WIDTH; -constexpr int INIT_ZOOM = 5; +constexpr int INIT_ZOOM = 2; constexpr int ZOOM_X_FACTOR = 16; constexpr int ZOOM_Y_FACTOR = 9; +constexpr int CHUNK_WIDTH = 80; +constexpr int CHUNK_HEIGHT = 80; constexpr int RADIUS = 8; constexpr int NUM_TITLES = 1; -- cgit 1.4.1