Viza74 / c64helperscriptsforaseprite

C64 helpers scripts for aseprite
29 stars 2 forks source link

Feature Request: Export as Charset #3

Open Esshahn opened 5 years ago

Esshahn commented 5 years ago

Would be cool to have a tool that reduces the image to be used as a charset.

Button: create chars Converts 4x8 / 8x8 pixels into a char. Checks if an identical char/tile already exists to reduce the amount of chars created. Produces as many chars as needed.

Button: create charset Converts 4x8 / 8x8 pixels into a char. Forces 256 chars max by comparing bit patterns of tiles and merging similar ones with slight differences.

Viza74 commented 5 years ago

What would be the goal of this function? I guess not to use as some kind of tile based game map/graphics, just to save some memory/storage space compared to a bitmap? 'Cos for tile based graphics I can't see a really good workflow for it - neither in aseprite, nor in an external tile editor used as a companion for aseprite. (As for external tools: Pyxel Edit is my favourite for tile based graphics, and Shoebox is good for splitting images to tiles. Also I think there was some scripts for Tiled to extract tile from images?...)

Also this would need a few supporting function in addition to the ones you mentioned - creating a tilemap (so a program can recreate the graphics), new error checker functions (since the character based graphics modes have different limitations than bitmaps), and probably some more...

Anyway I'll keep this in mind, maybe taking a shot at it sometimes later.

Esshahn commented 5 years ago

Yes, its usually used to greatly reduce ram usage. It's a feature of e.g. Timanthes or Pixcen.