haroldo-ok / 8bit-Unity

A cross-platform game development kit for CC65, targetting 8bit-era computers (Apple 2, Atari 8bit, Commodore 64, Oric 1/Atmos, Atari Lynx).
GNU General Public License v3.0
0 stars 0 forks source link

Correct Oric image conversion. #1

Closed haroldo-ok closed 3 years ago

haroldo-ok commented 3 years ago

As recommended by @8bit-Dude: For Oric, the algorithm should ideally resize PNG to 234x200, then add 6 columns of black pixels on the left-side (which is used for setting color attributes) to make the final 240x200 image.

8bit-Dude commented 3 years ago

Thanks in advance buddy!

8bit-Dude commented 3 years ago

I just remembered one thing: Does the script recognize cases where the image is already in correct format (i.e: correct resolution and palette with correct number of colors), in which case it skips the file?

haroldo-ok commented 3 years ago

No, currently, it always overwrites the output files.

haroldo-ok commented 3 years ago

Corrected by https://github.com/haroldo-ok/8bit-Unity/commit/1dfeca23075abde99fe29781fabc1add962fc7a3