Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by Develogamer · Jun 20, 2012 at 09:05 PM · 2diphoneimagesdistorted

Sprite Manager 2 distorted images

Ok so I've been using Unity and SM2 for about a month now and i continue trying to solve an issue with how my images show up. The original exported files for the images look clean and perfect, even when the atlases are generated they look fine if opened up, but once in the game view/scene view, on both the iPhone and inside the Unity editor, the images look distorted and you can see the edges of the cutout. For Example:

Here is what the atlas looks like when opened with Preview (on a mac).

alt text

And then once i make the Packed Sprite and all that heres how it looks like in the game.

alt text

I have tried playing around with the options and have looked through many forums and answers but nothing works! Heres the steps i do when using an image:

  1. Draw it out on Illustrator in the size that i want it on my iPhone

  2. I open it up on Photoshop and save it as a PNG, making sure to keep the right pixels

  3. Drag it into Unity and do the following -Set Texture Type to Advanced -Non Power of 2 to None -Disable Generate Mip Maps -Wrap Mode to Clamp -Filter Mode to Point
    -Override for iPhone -Format to RGBA 32 bit

  4. Then I Make a GameObject, add the Packed Sprite script

  5. I add the material (Sprite/Vertex Colored, Fast) to the GameObject and in the sprite timeline put the images

  6. Enable Pixel Perfect

  7. Build the atlas with Padding = 0, Disable Trim Images, Enable Force Square, and Enable Scan Project Folder

When i press play with maximize, (Set to iPhone 4G wide(960x640)) its the right size but looks like the image i showed earlier.

The atlas looks fine and everything before it too but something is clearly wrong.

So main problem: -the images look distorted once in game view/iPhone -you can see the white outline of where the atlas cuts images

Please help and thank you for your time!

Screen Shot 2012-06-20 at 1.39.30 PM.png (31.5 kB)
Screen Shot 2012-06-20 at 1.40.02 PM.png (12.3 kB)
Comment
Add comment · Show 1
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 Develogamer · Jun 21, 2012 at 08:09 PM 0
Share

I would really appreciate any help

1 Reply

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

Answer by Develogamer · Jun 22, 2012 at 05:09 PM

Issue solved aperently i needed to overide the atlas for iPhone and make it turecolor, not just the original sprite... Works fine now

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Best Option for 2D Platformer Controls 0 Answers

How load and manage multiple images(sprites) in Unity? 0 Answers

World space to pixel space accuracy 1 Answer

Best Unity configuration for 2D games on iPhone 1 Answer

Android 2D Game Development Tutorial?? 0 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