I have some tilemaps I wanted to draw sometimes normal or flipped on the VDP planes, but the problem is that SGDK's functions do not provide a way to actually draw the tilemaps all flipped vertically or horizontally.
I've tried VDP_setTileMapEx with TILE_ATTR_FULL macro (specifically the HFLIP and VFLIP parameters), but that just flips the individual tiles, and not the whole tilemap, making it look weird.
I'd like it if there was a seperate function in vdp_tile.c (like VDP_setTileMapFlipped) for drawing a tilemap either normal or flipped vertically or horizontally. I've tried modifying the VDP_setTileMapEx-related functions for this, but I only really got so far before I gave up on it
For now, I have to define a seperate TILEMAP definition for both the normal and flipped versions of the background I wanted to use, which uses up additional ROM space.
I have some tilemaps I wanted to draw sometimes normal or flipped on the VDP planes, but the problem is that SGDK's functions do not provide a way to actually draw the tilemaps all flipped vertically or horizontally.
I've tried
VDP_setTileMapExwithTILE_ATTR_FULLmacro (specifically theHFLIPandVFLIPparameters), but that just flips the individual tiles, and not the whole tilemap, making it look weird.I'd like it if there was a seperate function in
vdp_tile.c(likeVDP_setTileMapFlipped) for drawing a tilemap either normal or flipped vertically or horizontally. I've tried modifying theVDP_setTileMapEx-related functions for this, but I only really got so far before I gave up on itFor now, I have to define a seperate
TILEMAPdefinition for both the normal and flipped versions of the background I wanted to use, which uses up additional ROM space.