About scale()

edited September 2012 in Development
Hello

First of all gameQuery rocks!!!!!!

While i was experimenting with gameQuery i crossed the following situation.
I made a sprite but i wanted to scale it down (by a scale factor of 0.3). However the x, y of the sprite didn't change (leaving a gap between the x,y and the graphic of the sprite. Why is this happening? Is this happening by design?

Comments

  • Hi, scaling is done by leaving the position of the center if the sprite unchanged... It's done so by design but if you want I can add it to the feature whichlist to change this point with an argument...
Sign In or Register to comment.