Hi! I`m very new to spine. When I put my 64x48 aseprite png in Spine it looks very blurry. How can i solve this? The idea is, after I animate the sprite, to put it in my Unity project
My image looks blurry
In Spine's settings, under Viewport, for pixel art you may want to set Smoothing to 0. The pixel grid setting is also useful for retro games.
http://esotericsoftware.com/spine-settings
@Rrradu Hi and welcome to Spine!
On the Unity side, you need to change the Texture import settings Filter Mode
from Bilinear
to Point (no filter)
. If you need the same settings at all your imported skeletons (which is likely the case), it is recommended to assign a texture preset with these desired settings in the Spine preferences under Edit - Preferences - Spine
at Atlas Texture Settings
.
Damn. Did not expect to get a response so quick. Thanks a lot for the help. It`s fixed now. You guys are amazing
Nate I did that and it solved my problem. Thanks a lot for the quick response btw . Now I have a question about this. In spine, when I click on one of the sprites, it shows me a outline of that sprite but the outline is off centered. I can grab it and put it on the edge of the sprite. I don
t know what it does and why it
s off centered on every sprite. Can you explain?
Can you show a screenshot of how that looks?
Hmm, that doesn't look right. Can you send your .spine file and images in a ZIP? Either here in the forum publicly or privately at: contact@esotericsoftware.com We'd like to fix it if it's a bug.
This looks like the Pixel grid option is active in the editor settings:
http://esotericsoftware.com/spine-settings#Pixel-grid
Thanks Erika. Seems there's a bug with selection highlighting when pixel grid is enabled. We'll get that fixed!
Please note that you likely only want pixel grid if you're rendering a retro style pixel art game at runtime. It prevents your image pixels from being rotated by rasterizing them to a grid. Also it limits your skeleton rendering to a max of 2048x2048, so if you see your skeleton getting cut off, pixel grid is doing that.
Nate what is the bug you see?
I see Spine highlighting the real position of the image while displaying it through the pixel filter that aligns it to the grid instead. The image is off grid, which causes the rounding of the position by the filter. I'd assume this is correct and desired behavior.
Erika When pixel grid is on and attachment highlight smoothing is off, the attachment highlight doesn't match the image. The attachment highlight should follow the image pixels, since I can't think of how highlighting the non-pixel grid position would benefit a user.
We've fixed it in 4.2. The old behavior (notice the highlight pixels are rotated and don't match the image):
Loading Image
After the fix:
Loading Image
Zoomed out after the fix:
Loading Image
I see! Super Cool! I`ll change the version then. Cool stuff! Thanks for helping me! : )
Sure, no problem! Please note though that we fixed this in 4.2, which is not available yet.