Implement --background-color (#1508)

Co-authored-by: Rangi42 <sylvie.oukaour+rangi42@gmail.com>
This commit is contained in:
Eldred Habert
2025-05-02 05:39:52 +02:00
committed by GitHub
parent 56f7222230
commit 8cf6c5423a
29 changed files with 167 additions and 54 deletions
+3
View File
@@ -0,0 +1,3 @@
warning: Fusing colors #a9b9c9ff and #aabbccff into Game Boy color $66f5 [first seen at x: 1, y: 1]
FATAL: Tile (0, 0) contains the background color (#aabbccff)!
Conversion aborted after 1 error
+1
View File
@@ -0,0 +1 @@
-B #aBc
Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

+2
View File
@@ -0,0 +1,2 @@
FATAL: Tile (16, 0) contains the background color (#ffd800ff)!
Conversion aborted after 1 error
+1
View File
@@ -0,0 +1 @@
-B #ffd800
Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

+1
View File
@@ -0,0 +1 @@
-B #FF00ff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

+4
View File
@@ -0,0 +1,4 @@
-B #fff
-i input_tileset_with_bg.in.2bpp
-c gbc:input_tileset_with_bg.in.pal
-u
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

+2
View File
@@ -0,0 +1,2 @@
FATAL: Tile (16, 0) contains the background color (#00000000)!
Conversion aborted after 1 error
+1
View File
@@ -0,0 +1 @@
-B transparent
Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B