Welcome,
Guest
. Please
login
or
register
.
May 01, 2026, 06:01:11 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Negative scale and MakePixelPerfect
« previous
next »
Print
Pages: [
1
]
Author
Topic: Negative scale and MakePixelPerfect (Read 2757 times)
Asse
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 70
Negative scale and MakePixelPerfect
«
on:
October 31, 2012, 06:23:53 AM »
Hey,
I need to use the MakePixelPerfect method and some of my UISprites have a negative scale to mirror the texture. MakePixelPerfect now "corrects" the negative scale to positive.
Is there a way to bypass this?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Negative scale and MakePixelPerfect
«
Reply #1 on:
October 31, 2012, 08:48:23 AM »
I'll see about fixing it for the next version.
Logged
nah0y
Sr. Member
Thank You
-Given: 1
-Receive: 2
Posts: 430
\o/
Re: Negative scale and MakePixelPerfect
«
Reply #2 on:
November 01, 2012, 08:49:05 AM »
One other simple solution ArenMook told me one day, is to create a parent for this object, and set its scale with negative values.
mySprite (scale : -50, 50, 1)
will become
mySpriteParent (scale : -1, 1, 1)
--- mySprite (scale : 50, 50, 1)
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Negative scale and MakePixelPerfect