At 6/15/09 09:11 PM, Toady1104 wrote:
Im using AS 3.0 and scaleX ++ works, now Im just having a little problem with centralization...
Also why is it a bad practice?
All I will do with it is zoom in when the character is aiming and then go back to normal so it shouldn't be a problem.
The coordinates of the stage/root are based in the upper left, that's where 0,0 is to flash. The x and y axis extend down and to the right in the positive
As you zoom in you need to examine what point you're zooming to and adjust the actual x/y position of the stage to offset the shift the zoom causes, you would have to do this for any case where your zoom target isn't centered in the middle of the screen