Pyxel Edit Forum Archive
ArchiveQuestions

Importing tilesets - margin & spacing

M
mfessenden
Jan 10, 2017 at 10:38 pm
Good afternoon,

I'm just starting to use this app with my current game and trying to paint some of my existing tilesets. The issue I'm running into is that I've been working with them in Tiled and they've been painted with 1-pixel spacing between each sprite. If I import them into Pyxel with the Import > Import tiled images command, there's no option to account for margins or spacing in the image. Is there a way to import an image with margins/spacing?


CandyFace
Jan 10, 2017 at 10:57 pm
Hi mfessenden

No this is not possible currently, can't you export your tileset from Tiled with no margin?
M
mfessenden
Jan 11, 2017 at 7:04 am
Well, they're generated from Photoshop and there are a lot of them. Some of the artists like to space the sprites out by a pixel, and there's no way to easily batch that out. Might be a good feature to have.