Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Vickylance · Oct 10, 2014 at 09:19 AM · spritesheetslicing

Unity not splicing my spritesheet accurately. My png file looks good when zoomed in but Unity is scaling it down by itself!

I created a svg using inkscape and then exported it to a png file and then imported into unity for splicing but it didn't work out well. 1) first of all the quality of the imported image was not the quality in which I exported 2)second the auto splicing did quite well but it left a small border for all the sprites. the trim didn't work out. There is a lot of sprites in it and I cannot do it manually for all of them. its just so difficult can anyone tell me where I am going wrong?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Turkeybag · Oct 10, 2014 at 11:13 AM

If the quality has changed it is most likely due to either downscaling or compression. If you want the best quality for your sprites go to the import settings of your spritesheet and set the max resolution to 4096 and the format to truecolor. This will give you pretty much exactly what you imported into it with no changes made on unitys end.

As for the slicing, if the trim isn't doing anything that is probably due to something being on the edge of the box (even something really transparent or small will do it. A screenshot would be helpful but I'm pretty sure that's the case. I'd suggest removing whatever is blocking the trim from working in inkscape and then trying it again.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vickylance · Oct 13, 2014 at 07:53 PM 0
Share

I actually created some ground timesheet in inkscape

avatar image
0

Answer by 5ingle5hot · Feb 01, 2016 at 05:10 PM

I had the same problem as Vickylance, and I followed Turkeybag's answer which got me close. I did need one more refinement.

First, my tiles abutted each other perfectly, and no matter what settings I tried, they ended up having a little bleed from the adjacent tiles. I ended up modifying my original Inkscape SVG to produce the image with 2px between each tile, and then set the splicer to use a 2px padding.

Additionally I had set the filter mode to "Point (none)". Setting it to "Trilinear" cleared up some pixelation that was occurring.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Sprite editor automatic slicing not working 0 Answers

How do apply my settings when adding border to individual sprites within a texturepacker spritesheet? 1 Answer

A script to cut planes from where you mouseDown to mouseUp... 0 Answers

Creating a slider from a sphere 0 Answers

Can Normal maps be used to create a 2D sprites lighting system? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges