• 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 maltakereuz · Jun 24, 2018 at 06:19 AM · spritesplitslicebig

Autosplitting big sprites

My artist deliveres me pretty many sprites like 4000x6000 or like that for buildings and other big game objects. With game resolution and player sprite 300x500 it is absolutley reasonable. The problem is that i want keep unity 2048x2048 import setting, to leave a game chance be tablet friendly. Even without tablets, a pretty much GPUs today still can not handle 8k sprites.

So this big sprites need to be sliced in parts, maximum 2048 max side. For 4000x6000 it is 6 sprites. It's ok for game. The problem is, thats pretty annoying to split them manual in Photoshop. May be there is a import option in unity to split sprites so out of the box? Or some well known asset? Otherwise i just need to write a script. Or may be you could propostal a better approach to the problem?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by SlowCircuit · Jun 24, 2018 at 06:41 AM

In the import settings, change Sprite Mode to multiple. Apply. Then click "Sprite Editor". In this new window, click "Slice". Change the Type to either Cell Count or Cell Size and change the other settings to whatever works best for you!

Comment
Add comment · Show 2 · 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 maltakereuz · Jun 24, 2018 at 02:51 PM 0
Share

yes, it will make the half of work but i still need to reassemble the whole sprite after sliding probably i should write a pretty simple script

avatar image maltakereuz · Jun 25, 2018 at 05:32 AM 0
Share

oh no, it does not work the big texture is anyway 2048 max size, so the resolution of multiple subtextures is relative to 2048, that is very low quality.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

113 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Automatically Slice Sprite from Code 0 Answers

How to load slice from sprite in run time unity 4.3? 0 Answers

How to 9-Slice a 2D Sprite without Plugins? 2 Answers

Scaling problem with image on buttons. 1 Answer

Slicing sliced sprite via script 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges