PNode lateral inversion

25 views
Skip to first unread message

Rushi Shukla

unread,
May 4, 2013, 5:03:17 AM5/4/13
to piccolo...@googlegroups.com
Hello

Can anyone please help me on how to laterally invert a PNode ? I have created a PNode but when I used the addChild method to add children to the PNode, I see them laterally inverted in my canvas. Any suggestions on how to resolve this issue ? Any sort of help is appreciated :-)

Michael Heuer

unread,
May 4, 2013, 10:15:17 PM5/4/13
to piccolo...@googlegroups.com
Hello Rushi,

I'm not sure what you mean by "laterally invert."  Sample code and/or screenshots would help.  :)

   michael


On Sat, May 4, 2013 at 4:03 AM, Rushi Shukla <rush...@gmail.com> wrote:
Hello

Can anyone please help me on how to laterally invert a PNode ? I have created a PNode but when I used the addChild method to add children to the PNode, I see them laterally inverted in my canvas. Any suggestions on how to resolve this issue ? Any sort of help is appreciated :-)

--
You received this message because you are subscribed to the Google Groups "Piccolo2D Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to piccolo2d-use...@googlegroups.com.
To post to this group, send email to piccolo...@googlegroups.com.
Visit this group at http://groups.google.com/group/piccolo2d-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rushi Shukla

unread,
May 6, 2013, 2:17:38 AM5/6/13
to piccolo...@googlegroups.com
Hi Michael 

Thanks for replying but I guess I have solved the error myself. By 'lateral inversion' I meant to obtain a mirror image of the PNode. This I resolved by using getTransformReference and setToScale functions with negative parameters.

Regards,
Rushi
Reply all
Reply to author
Forward
0 new messages