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

[bug]It doesn't work correctly when the tileset has space and padding. #18

Open
HowQi opened this issue Jun 1, 2023 · 0 comments
Open

Comments

@HowQi
Copy link

HowQi commented Jun 1, 2023

Once I used this asset to make a demo scene temporarily. In order to make the 18x18 tiles fit into my 16x16-tilemap project, I added space and padding to it.

Snipaste_2023-06-01_19-03-18

Snipaste_2023-06-01_18-57-55

After importing into Godot, it is disordered, as shown in the next figures.

Snipaste_2023-06-01_18-32-07

I tried to fix this problem in my project. At first, I thought it was just the wrong setting of space and padding, but after I fixed that, I found that the situation was not so simple.

Snipaste_2023-06-01_18-36-59

As shown in the figure, after trying to repair it, I found that some rows and columns were missing in the middle(such as the next figure), and some blocks could not find their pictures at all.

Snipaste_2023-06-01_19-01-01

I will upload relevant project for reference.

TestForAddon1_before_try_fix.zip
TestForAddon1_after_try_fix.zip

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

1 participant