How to duplicate sprites using VRAM tiles once?
Posted: Wed Sep 28, 2022 8:57 am
Let me explain, using some images:
Currently, we are searching for a way to create composed animated sprites,
where the second, third and fourth sprite use the graphical
data from the first sprite, using the same VRAM tiles, but
horizontally mirrored, vertically mirrored and hor. and vert. mirrored.
In order to save precious VRAM and reduce needed bandwidth
(currently there are many animated sprites at once,
while many of the explosion effects can be reduced
to a single quarter, in terms of number of tiles and DMA bandwidth).
The result we are searching is this:
As you can see, your huge explosion,
can be decomposed into 4 parts,
being actually the first sprite the unique
that updates its tiles through the DMA.
Currently, we are searching for a way to create composed animated sprites,
where the second, third and fourth sprite use the graphical
data from the first sprite, using the same VRAM tiles, but
horizontally mirrored, vertically mirrored and hor. and vert. mirrored.
In order to save precious VRAM and reduce needed bandwidth
(currently there are many animated sprites at once,
while many of the explosion effects can be reduced
to a single quarter, in terms of number of tiles and DMA bandwidth).
The result we are searching is this:
As you can see, your huge explosion,
can be decomposed into 4 parts,
being actually the first sprite the unique
that updates its tiles through the DMA.