Author Topic: Rotate FlxSprite from X and Y, not from center.  (Read 1746 times)

felipe

  • Member
  • **
  • Posts: 36
  • Karma: +0/-0
  • games!
    • View Profile
    • i love pixel
Does anyone know how can I set the rotation point on the x and y coordinates and not on the center.
Thanks

photonstorm

  • Administrator
  • Key Contributor
  • *****
  • Posts: 1502
  • Karma: +1/-0
    • View Profile
    • Photon Storm
Re: Rotate FlxSprite from X and Y, not from center.
« Reply #1 on: Tue, Jul 19, 2011 »
Change the origin value.
http://www.photonstorm.com



"Tell me and I will forget, show me and I might remember, involve me and I will understand" - Confucius