Author Topic: To many sprites in atlas?  (Read 3545 times)

imakemygame

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
To many sprites in atlas?
« on: November 05, 2013, 07:48:02 AM »
Hello,
I have many sprites in my big atlas (>100). Is it possible that I can see them all? When I open the dialog with the previews I can scroll down but there are Not all pics of my atlas

Macronaut

  • Guest
Re: To many sprites in atlas?
« Reply #1 on: November 05, 2013, 09:20:51 AM »
A little sugestion,

Try making more atlases as you need them so you can easily see the sprites and categorize them to keep everything organized so your workflow can be even better and more productive. =]

imakemygame

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: To many sprites in atlas?
« Reply #2 on: November 05, 2013, 12:31:47 PM »
More Atlas? Then I have to make an atlas for every "gui". This means I had duplicates of some pictures/sprites. Otherwise I had more drawcalls if I create a gui with more than one atlas.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: To many sprites in atlas?
« Reply #3 on: November 05, 2013, 12:57:03 PM »
1. Make the window wider, or
2. Use the search filter up top after naming your sprites appropriately.

Unity scroll views have a limited maximum height as I recall. It used to be 4096. I don't know if it has since been upped.

imakemygame

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: To many sprites in atlas?
« Reply #4 on: November 05, 2013, 02:06:34 PM »
1. I made the window max size
2. that is what I do, but is it no good practive and uncomfortable

It would be nice to make the pictures smaller if this is the only way to made it possible to see more

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: To many sprites in atlas?
« Reply #5 on: November 06, 2013, 08:35:14 AM »
You can do that quite easily. Change it on line 77 of SpriteSelector.cs.

imakemygame

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: To many sprites in atlas?
« Reply #6 on: November 06, 2013, 03:39:07 PM »
Hey great. This is exactly what I needed. Thank you very much