• Editor
  • Importing PNG sequence out of place in Spine

Hi there,

I have set-up my PSD along with PNG sequences in place, for example, I have a character and make use of a PNG sequence for her hand in my PSD.

When I run the photoshop to spine script, it exports everything perfectly but when placing the PNG sequence within Spine, the PNGs arent lined-up perfectly. So if I play the sequence there are jumps because of the misalignment.

I have tried to manually position every frame with no luck.

Am I missing something?

Related Discussions
...

Hello supsupsup,
Did you see this video? https://www.youtube.com/watch?v=p7yZET00GeE&t=5s It explains everything in detail about exporting from PS. It's good practice to set up the rulers in PS and then set the 0, 0 coordinates where it suits you, so Spine knows where to place your drawings. Check it out, it will be clear what I'm talking about.

9일 후
Sinisa wrote

Yes, I have set-up my rulers to 0 but for some reason it doesn't work. The PSD is large and contains many images, do you think this would cause an issue? I ran into a problem where Spine stopped displaying images/PNG sequences as I reached 2k images so had to split the anims out into separate Spine files

Can you give me the detailed specs of your project so I can try to replicate it? Or send us your PSD file. I often import my 2d animation sequences into Spine without any problems. Do you know that you have to set up the rulers every time in PS as they reset when you close your project?

Erika wrote
supsupsup wrote

I ran into a problem where Spine stopped displaying images/PNG sequences as I reached 2k images

You should try to uncheck Limit scanning:
Images - Spine User Guide: Images node

Hi Erika, I tried that previously but it didn't seem to work...

@Sinisa unfortunately I'm unable to share the file due to NDA 🙁

File size is 496x576px @72res
385 layers

Sup supsupsup,

The importing sounds like an image export issue


  1. The exports might not all be of identical size: Trim Whitespace during the PS script will do this - turn off trim whitespace and manually crop to the tightest possible size before exporting via script.

Reason: Zeroing the images will have everything centered in Spine meaning the images will have appeared to shift pixels if any are smaller or larger than each other. Disabling Trim Whitespace should ensure no dimension changes.

Also an improved method for placing a sequence


Instead of dragging images onto the stage, create a bone first and drag the images onto the bone in the tree. This will automatically center all images onto that bone keeping things organized and aligned in one action.

Sup supsupsup,

The importing sounds like an image export issue


  1. The exports might not all be of identical size: Trim Whitespace during the PS script will do this - turn off trim whitespace and manually crop to the tightest possible size before exporting via script.

Reason: Zeroing the images will have everything centered in Spine meaning the images will have appeared to shift pixels if any are smaller or larger than each other. Disabling Trim Whitespace should ensure no dimension changes.

Also an improved method for placing a sequence


Instead of dragging images onto the stage, create a bone first and drag the images onto the bone in the tree. This will automatically center all images onto that bone keeping things organized and aligned in one action.

@stikkanimate aaah that makes sense! The majority of the images in the PNG sequences are different sizes so that's most likely the cause.

I also have multiple sequences in one PSD, so I'll separate them out into their own respective files and give that a go

PS Gave it a try and that sorted out the problem, thanks so much 🙂

8일 후

Hi,
today I have do a beta release of a software that I called Easy Frame for Spine: https://screencast-o-matic.com/watch/cYX6ItMxqh
for now it is ugly to see, but it works 😃
only 3 step

  • select the folder image
  • select the png that we want
  • save json ready to be import in spine

It looks cool, thanks for sharing @eprime! It's a little embarrassing frame-by-frame is still so tedious in Spine, but we'll get there in time.