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

Auto Trim

A topic by xjjon created Nov 22, 2020 Views: 293 Replies: 4
Viewing posts 1 to 5

How does auto trim for export .png work?

I thought it would remove blank frames but it seems to just crop each frame in the middle (so I only get half of the particle)

Developer

Hi there,

It should indeed crop the particle and remove all the whitespace around the frames. If It's cutting the particle in half there's probably some bug hapenning there, could you provide steps to reproduce the issue?

Not sure how to upload the .ppd for you to try here but here is the raw file https://hatebin.com/sdwzsumarm

I guess just paste into .ppd file


Export settings:

auto trim

frames: 30

pre-frames: 30

post-frames: 0

scale: 1

canvas: 400x400

This is what happened:

Gif preview: 


Actual png (auto trim)

Same issue here. The resulting dimension seems correct (it’s the minimum bounding box that can contain all of the sprites), but the origin is not offset so we only get the top-left part of each.

Developer

Somehow I missed the reply to this, I'll check it out as soon as I have time.