Welcome,
Guest
. Please
login
or
register
.
April 22, 2026, 08:16:57 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Create Atlas by Texture Packer with "rotation" sprite ?
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: Create Atlas by Texture Packer with "rotation" sprite ? (Read 73348 times)
splash
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #30 on:
July 09, 2013, 01:08:57 AM »
If you use NGUI 2.6.3, you can apply this patch to UISprite.cs. I think it should work well.
Use of #if ... #endif is a way to change code back to original behavior when I test rotated sprite.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #31 on:
July 09, 2013, 08:27:13 AM »
I tried it with 2.6.3 and no luck. You likely have a custom repository (perhaps containing your game code?) and it uses version numbers from there. You are not using the NGUI's Pro repository.
Logged
splash
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #32 on:
July 10, 2013, 01:32:52 AM »
I don't know if I'm allowed to attach entire UISprite.cs on forum.
...
And I tried patch UISprite.cs from 2.6.3 NGUI package and works ok.
Logged
Malzbier
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 93
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #33 on:
July 10, 2013, 01:56:43 AM »
Do not post NGUI code in the form.
Send a email to support at tasharen.com with UISprite.cs attached.
«
Last Edit: June 25, 2014, 04:54:00 AM by ArenMook
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #34 on:
July 10, 2013, 12:43:36 PM »
Individual files are just fine, Malzbier.
Logged
BGL
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 9
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #35 on:
October 04, 2013, 03:38:30 AM »
Any news about this feature? I think it is really important. When you are constrained to a POT Texture, it could reduce to a half the amount of memory required for an atlas.
Logged
Willem Kokke
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #36 on:
October 04, 2013, 03:57:27 AM »
+1 Supporting rotated sprites in texture packer would have made my life a lot easier!
Logged
splash
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #37 on:
October 06, 2013, 09:12:02 PM »
Here is the UISprite.cs I modified for rotated sprite.
Base on 2.6.5b.
If any problem please let me know.
Logged
glequeux
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #38 on:
November 18, 2013, 07:05:17 AM »
Anybody did this for NGUI 3? Looked a bit into it but there is a lot of changes
Logged
PoN
Full Member
Thank You
-Given: 1
-Receive: 4
Posts: 111
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #39 on:
May 13, 2014, 02:21:18 AM »
+1, Up up up. So what's about a rotation feature in NGUI 3 ?
Logged
Worked on
Doc&Dog
,
Age Of Fury 3D
. Actually working on
WarMach
.
oddurmagg
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 12
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #40 on:
June 24, 2014, 06:19:00 AM »
Did this ever make it into the repository ?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #41 on:
June 25, 2014, 04:54:19 AM »
I don't believe so.
Logged
oddurmagg
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 12
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #42 on:
June 25, 2014, 06:43:15 AM »
I´ll take a stab at merging that patch into the pro repo when I have time
Logged
DonPepe1705
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #43 on:
July 25, 2014, 04:25:02 AM »
Have you had the time to give it a shot?
Logged
echeg
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 11
Re: Create Atlas by Texture Packer with "rotation" sprite ?
«
Reply #44 on:
November 20, 2015, 07:25:43 AM »
+1 Supporting rotated sprites in texture packer.
Logged
Print
Pages:
1
2
[
3
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Create Atlas by Texture Packer with "rotation" sprite ?