![]() In the image below, I've increased each cell's size from 48x48, to 48x49, you can see in the red box, there is now a blank space above the characters head, this is what you'll need to do to prevent this issue from happening. Does GCH work the same way for MZ/MV as it does for Ace or is GCH worthless if you use MZ/MV I commission my sprites and use GCH to line up animations. In the red box in the image below, you can see there is no gap between the feet and the hair, this is where this issue would become present. ![]() I'll give an example to make things a bit clearer. With the frozen sprite, you can use these layers as a template for default-sized sprites. So the optimal solution, would be to add a sort of padding of 1 pixel for each cell in your animation, I believe default animations should have plenty of padding on the width of each cell, however you want to add an extra padding to the top or bottom( or both ), of each cell. What's happening, is when it "zooms in" or scales the images, the image size is being read at somewhat innacurate values( float points ), so sometimes, you will see the top, or bottom of the animation below, or above the sprite. This is an issue with pixi js in the way the scale feature works, you can bypass the problem by adding a padding of 1 pixel around each cell of the sprite sheet, otherwise there's no way to bypass this without modifying pixi js afaik( although I have not looked into this issue too deeply ). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |