Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixel Fx Designer

Design pixelart effects and render them to .png sprite sheets or .gifs · By CodeManu

How can I know the tilesize that will be exported in the tilemap?

A topic by pixel games SARL-S created Jul 18, 2018 Views: 572 Replies: 8
Viewing posts 1 to 6

How do I have some control over the tile size of the exported tilesheet (like 16x16, 32 x 32 etc) ?

Playing around with the scale option changes the exported size, but I still cannot find the info for the exported tile size.

I need to know the tilesize before exporting for it to fit with my other animations (for ex. 4 rows X 4 columns with tilesizes of 32 x 32 = tilemap of 128 x 128).

Developer

The size of the frames is 100x100px. There's no option to change this at the moment but we might include it in the future if it's requested. :)

(1 edit) (+4)

Then please consider this a request, as I will not be using this tool until it is implemented (even though I just paid for it).

I agree with Zapposh it would be a great feature to have. 

(+1)

Actually found a provisional workaround for this. Export to GIF instead of PNG tilemap. Then crop the GIF in the tool of your choice, to fox ex. 16 x 16, then manually copy each GIF frame to a new PNG tilemap (for ex. 64 x 64).  Of course, depending on the animation length this can be nuts, but for small bursts and short animations it is laborious but it works fine.

I have a better workaround: Export to gif then crop, like you said, but then use a Gimp script to make a spritesheet from the layers.

Ex.:

registry.gimp.org/node/20943

https://gimper.net/resources/simple-sprite-sheet-maker.574/

When you have your spritesheet, you can reverse the process by making guides along the cutting lines between frames and then Image -> Transform -> Guillotine.
Developer(+1)

Good to know that you found something that works for you. I've added the canvas resize option to our roadmap and it'll be added to the tool when possible.

(+1)

I saw that this got added,  great!  Another related feature to this would be if it could suggest a filename on save that had that data embedded.  Ex. Fireball_32x32_7_rows_7_cols.  (but something better than that). Or perhaps that data in a popup after saving or something like that?  Loving the tool!

Developer

That's actually a really really good idea, I'll try to add something like that in the next update!