Author Topic: So many image files…  (Read 7429 times)

StridingDragon

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
So many image files…
« on: April 25, 2013, 07:07:15 PM »
For my GUI I have all sorts of small little bitmap files lying around, some of them just a few pixels in size, and yet each of them requires its own file. I don't think there is a way to put them all in a layered Photoshop file and have Atlas Maker extract them from there, one layer at a time, using the name of the layer for the NGUI sprite, or is there? Any other approach to reduce the number of individual image files?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: So many image files…
« Reply #1 on: April 26, 2013, 01:42:28 PM »
Look into the FastGUI plugin.

StridingDragon

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
Re: So many image files…
« Reply #2 on: April 26, 2013, 03:41:30 PM »
Thanks a bunch for the tip.

reegankens

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: So many image files…
« Reply #3 on: June 02, 2014, 02:19:35 AM »
if I create sprite from NGUI and I use it, what i need to delete all original images or unity3d just create APK from GUI sprite. I worry Unity3D build APK from all existing assets so APK files so large.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: So many image files…
« Reply #4 on: June 02, 2014, 08:42:01 AM »
Unity doesn't pack anything that isn't referenced or inside the Resources folder(s). So if you keep an Art folder with your sprite raw files outside of the resources folder, then you won't gain anything by deleting them. You totally can though, since the atlas doesn't use the source files after it's been packed.

This is for the NGUI atlas, I mean, not the built in spritepacker.

reegankens

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: So many image files…
« Reply #5 on: June 05, 2014, 11:30:19 PM »
Thank you Nicki for your answer.
Now, I know unity3d's just-built APK just built files that are used