![]() ![]() I'm looking for a tool to take as input a list of sprites/tiles like this and puts everything in one sigle sheet, and generates me the coordinates of every sprite or tile from the sheet in ASCII. csv files is want I would like as an output for a sprite/tiles sheet generator. There is one image, but I'm not sure if it's an input or an output, or anything else (like some expected standard where you expect someone to put pieces of elements in a sheet). csv files but you don't provide one example with input and output, in order to figure out what your project exactly does. The key words "sprite sheets" and "generate" caught my attention but I'm not really sure if your tool does it in the way I expect. Hi, I'm trying to understand what your project does. ![]() Ps: * - did you know that PNG palettes can't store alpha channel at all? You'd need another, special "tRNS" chunk for that, and that's what GIMP lacks (or at least I wasn't able to figure out how to enable this). With all these new palette features in place, I can now convert LPC assets using this tool only, without even touching GIMP! (GIMP is slow, difficult to use, not automatable, and can't save alpha channel into indexed PNGs *.) Now the saved output is a lot smaller and more faster to decode (using the same indexing trick as for example ).Color variations: de-colorize and add palette variations to the output (to be used with the "recolor" feature described here).Replace colors: in the parameter image file, first row is the "to" colors, others are the "from" colors (like replace a complete green gradient with a complete brown gradient).Force colors: you can make the output to match the colors of another image file (using the smallest sRGB distance, like make all similar brown colors to be a specific one).so/.dll required, no installation necessary, just download and use). The code is written in ANSI C and dependency-free, meaning it should compile on any POSIX-compliant systems as-is without any trouble (just run make), but I've also provided pre-compiled portable executables for Linux and Windows (no. Licensed under MIT, in the hope that it will be useful. With this tool, you can intuitively create the CSV files, using drag'n'drop (but if you prefer Excel, gnumeric or your favourite text editor, that works too). Replace guidelines.png with your desired sprite sheet format, and you're good to go. If you don't want to write these CSV files by hand, then I've also provided a small web helper tool. The sheet definition is read from a plain simple CSV file, which means it is fully configurable and can work with any sprite sheet layout. It is called sprsheet because I primarily wrote it to mass convert existing LPC assets to make them LPC Revised compatible, however there's nothing LPC-specific hardcoded in it. I've created a FOSS tool to generate sprite sheets (optionally from multiple image files), maybe it's going to be useful to you too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |