• Editor
  • My image looks blurry

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

  • Rrradu đã thích điều này.
Related Discussions
...

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 đã trả lời bài viết này.
  • Rrradu đã thích điều này.

    @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.

    • Rrradu đã thích điều này.

    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 đã thích điều này.

    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 dont know what it does and why its off centered on every sprite. Can you explain?

    Can you show a screenshot of how that looks?

    • Rrradu đã trả lời bài viết này.

      Nate Here : )

      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.

      • Rrradu đã trả lời bài viết này.

        Nate Sure! I can! It might take some time cause I cant use the laptop (I have the files on), now.

        Erika Yup! I activated the option with the recomandation of Nate

        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 It helps me by moving the sprites on a pixel grid (makes it really easy to reassemble the original image)! Also here are the spine file and sprites

          graveler-animation.spine
          778B
          graveler-layers.zip
          5kB

          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.

          • Nate đã trả lời bài viết này.

            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):

            Hình ảnh bị xóa do không hỗ trợ HTTPS. | Vẫn hiển thị

            After the fix:

            Hình ảnh bị xóa do không hỗ trợ HTTPS. | Vẫn hiển thị

            Zoomed out after the fix:

            Hình ảnh bị xóa do không hỗ trợ HTTPS. | Vẫn hiển thị

            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.