I have searched a lot, but couldn't find a definitive answer: is it possible to have, *on the same plane*, two transparent tiles? From my current experiments, it doesn't seem to be the case
Here's a sample program:
Code: Select all
VDP_setPalette(PAL1, tileset.palette->data);
VDP_loadTileSet(tileset.tileset, TILE_USERINDEX, TRUE);
VDP_setTileMapXY(PLAN_B, TILE_ATTR_FULL(PAL1, 0, 0, 0, TILE_USERINDEX + 1), 0, 0);
VDP_setTileMapXY(PLAN_B, TILE_ATTR_FULL(PAL1, 0, 0, 0, TILE_USERINDEX + 1), 1, 0);
VDP_setTileMapXY(PLAN_B, TILE_ATTR_FULL(PAL1, 0, 0, 0, TILE_USERINDEX + 2), 0, 0);
VDP_setTileMapXY(PLAN_A, TILE_ATTR_FULL(PAL1, 0, 0, 0, TILE_USERINDEX + 2), 1, 0);
LE: While writing this post (doh) it occurred to me that since we set the index on the same position, it's kind of logical that it *overwrites* the previous state.
My issue stems from the fact that I would need 3 planes-likes things, but we only have the A & B ones + Sprites. Is then the sprites the only way to go forward w/r/t transparency?