ReferencePoints in imageSheet frames

I might be missing something completely obvious in the docs but I have a question:

I’m animation an opening door with a sequence of 8 frames. The only problem I have is that in each frame the reference point should be positioned in a different spot (or I need to leave extra empty space in the frame which is a waste of texture memory). Any idea on how to give each frame its own reference point --> do I need to use the cropped/uncropped parameters for this?

Thanks!

Thomas

Hi Thomas,

One possible solution would be to change the reference point on every “next” (frame) sprite event, using a sprite listener.

Brent

Hi Thomas,

One possible solution would be to change the reference point on every “next” (frame) sprite event, using a sprite listener.

Brent