-
-
Notifications
You must be signed in to change notification settings - Fork 215
Description
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.