gingemonster / GameBoyPngConverter

A utility, written in .net core, for converting 4 color .png images to C files for use in the GameBoy Developer Kit (GBDK)
38 stars 4 forks source link

Add new options: offset and black&white mode #6

Closed ItsMeSousuke closed 1 year ago

ItsMeSousuke commented 1 year ago

I've added support for two new options: offset and black&white mode.

Offset will offset tiles in map file according to set number (usefull when we will load multiple sets of tiles into one scene).

Black&white mode will be usefull for 2 and 3 colors images -> it always will has the darkest and transparent color and some betweens (current behaviour -> only the darkest and then the next on in order).

I've also removed empty spaces from templates and added line break in map file after tiles width elements.

App was updated to .NET 6 (LTS) as 2.1 is no longer supported, refactored some code.

gingemonster commented 1 year ago

Looks great thanks for contributing to make it better!