starfighter1314, on Mon Sep 18, 2006 3:16 PM, said:
My bad, I meant vertical flipping. Maybe I was unclear, but I wanted to know if there was a way to generate the data without this flipping applied. I am hacking Combat and the ROM images of the player characters are not flipped in the source code. I want to alter these images.
If you need a vertical flip, then I'm afraid you have to do it yourself.
On the bright side, we're usually only talking about 8 bytes of data per object. You could write a kernal that would do image flipping on the fly, but that would probably be more costly in effort and space than simply adding another image.
Quote
As "part of the code", I mean something like this (taken from Combat). The graphic gets commented out in each line:
Most tools build in the graphic by using Binary rather than Hex. For example, here's your same data, but from PlayerPal:
.byte #%00000000;--
.byte #%11111100;--
.byte #%11111100;--
.byte #%01110000;--
.byte #%01111110;--
.byte #%01110000;--
.byte #%11111100;--
.byte #%11111100;--
See how the 1's form the tank?