Added joker selling (still no animation) + fixed SpriteObject constructor focused bug

This commit is contained in:
MeirGavish
2025-08-16 15:38:34 +03:00
parent 92fa279059
commit 64274ae465
7 changed files with 120 additions and 38 deletions
+9 -4
View File
@@ -34,11 +34,16 @@
#define SE_COL_LEN 32
// Since y direction goes from the top of the screen to the bottom
#define SE_UP -1
#define SE_DOWN 1
#define SCREEN_UP -1
#define SCREEN_DOWN 1
#define SCREEN_LEFT -1
#define SCREEN_RIGHT 1
#define OVERFLOW_LEFT -1
#define OVERFLOW_RIGHT 1
#define SE_UP SCREEN_UP
#define SE_DOWN SCREEN_DOWN
#define OVERFLOW_LEFT SCREEN_LEFT
#define OVERFLOW_RIGHT SCREEN_RIGHT
// Tile size in pixels, both height and width as tiles are square
#define TILE_SIZE 8