Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2023-05-14 06:21:30

drev
New member
Registered: 2022-10-30
Posts: 8

png2asset do not trim blank tile

Hi, I am using png2asset to create a map tileset.

The tileset image is : https://github.com/odrevet/game-boy-game/blob/main/tiled_test/assets/World1Tileset.png?raw=true
however png2asset trim the blank tile (located just before the clouds tiles)
I did not found a command line argument to keep the blank tile. Is there a workaround to keep this tile ?
If not and ff a GBDK dev read this, please add a --notrim option smile

Offline

 

#2 2023-05-14 08:58:50

drev
New member
Registered: 2022-10-30
Posts: 8

Re: png2asset do not trim blank tile

I figured this out, by using the -map option (so the blank tile are not trimed in this mode) and the   -tiles_only  option (to actually not generate the map).
With these arguments the blank tile is keep.

Last edited by drev (2023-05-14 08:59:34)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson