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

Error: Texture Error: frame does not fit inside the base Texture dimensions: X: 65 + 32 = 97 > 66 or Y: 1 + 32 = 33 > 66 #11

Open
skeddles opened this issue Jan 18, 2019 · 3 comments

Comments

@skeddles
Copy link

skeddles commented Jan 18, 2019

This error seems to happen if you try to use margins when creating a tileset

<?xml version="1.0" encoding="UTF-8"?> <map version="1.2" tiledversion="1.2.1" orientation="orthogonal" renderorder="right-down" width="32" height="32" tilewidth="32" tileheight="32" infinite="0" nextlayerid="2" nextobjectid="1"> <tileset firstgid="1" name="testtiles" tilewidth="32" tileheight="32" margin="1" tilecount="4" columns="2"> <image source="testtiles.png" trans="004080" width="66" height="66"/> </tileset> <layer id="1" name="Tile Layer 1" width="32" height="32"> <data encoding="base64" compression="gzip"> H4sIAAAAAAAACu3PMQoAMAgDwNb/P7qTUFxKF13uIINTzFoA8LZLusXgD3Elu/Pu/KHu7+qv26f21wAAfw6sZbC2ABAAAA== </data> </layer> </map>

testtiles

@salsa2k
Copy link

salsa2k commented Jun 12, 2019

Any fix?

@skeddles
Copy link
Author

Any fix?

don't use margins =p

@salsa2k
Copy link

salsa2k commented Jun 12, 2019

My problem was related to the sprite file not with the margin.

Thanks

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