Phaser 3 animation frame offset?
I am using multiatlas and json file for my sprites in Phaser 3. How can I set an offset (like setOrigin) for specific frames? There are some properties in the json which I suppose may help, but I don't understand their meaning. What's the difference between sourceSize and spriteSourceSize? I have also seen anchor property, but I suspect it's an old Phaser version... The best alternative would be if it was possible to set the frame offset in the animation definition itself, and not in the json definition of frames. But is it possible?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.