Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help #27

Open
carlos-montiers opened this issue Oct 27, 2021 · 1 comment
Open

Help #27

carlos-montiers opened this issue Oct 27, 2021 · 1 comment

Comments

@carlos-montiers
Copy link

carlos-montiers commented Oct 27, 2021

Hello, using the tool with a 40x40 spritesheet, in the tile that has a white border:
image

sometimes after use the extruded spritesheet I see this:

image

I'm using:
tile-extruder --tileWidth 40 --tileHeight 40 --input ./tiles.png --output ./tiles-extruded.png

Please, how can I solve it?

@flodev
Copy link

flodev commented Nov 9, 2021

Hi @carlos-montiers,

I've also tried the tool the first time.
I'm using Tiled and my tilemap image has no spaces nor margins.
I decided for the second option described in the Readme of tile-extruder to leave the original tilemap image as it is and don't make changes in Tiled.
I've just added margin and spacing in the code when phaser creates the tilemap (also written in the Readme of tile extruder).
For me it works great now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants