Welcome,
Guest
. Please
login
or
register
.
September 07, 2024, 11:47:17 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Add a premade icon sheet to a texture atlas?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add a premade icon sheet to a texture atlas? (Read 3068 times)
makeshiftwings
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 25
Add a premade icon sheet to a texture atlas?
«
on:
April 30, 2012, 12:20:07 AM »
I have an existing png image that's a bunch of 120x120 icons stitched together. Is there an easy way to turn this into a texture atlas? I know I could probably use some photoshop trickery to split it back up into a hundred different icon files and then drag them all into the atlas tool to re-stitch them, but if there's some way to just tell NGUI that the atlas is 10 x 10 120p icons that would make my life much easier.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: Add a premade icon sheet to a texture atlas?
«
Reply #1 on:
April 30, 2012, 02:17:00 AM »
I don't think you can do this at this point. You can make your own sprites from the atlas I believe, but I think it's probably easier just to cut them out into their own files and make the atlas as normal.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Add a premade icon sheet to a texture atlas?
«
Reply #2 on:
April 30, 2012, 03:14:45 AM »
Just create a brand-new atlas, tell it to use the material using this texture then add sprites yourself by specifying their positions if you know where they are.
There is no "import this grid of sprites" option.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Add a premade icon sheet to a texture atlas?