PDA

View Full Version : Sonic character mirroring help


theNoobOne
02-19-2008, 02:48 PM
Hello, I'll introduce myself first, I'm new here as you can see, and I'm a noob, but not any kind of noob, I am, The Noob One, the choosen noob that the prophecy foretold.

I opened this topic because I've a question.

I'm making my noob Sonic the Noob Hedgehog game, and I'm using sprites to animate it.
Everything goes well until I need to rotate my movie clip, not rotate... mirror it, I need to mirror it horizontaly. So that Sonic the Noob Hedgehog can walk turned to the direction he's walking.

Is there a noob way to do it?

Thanks.

-theNoobOne

asf8
02-19-2008, 02:53 PM
I need to rotate my movie clip, not rotate... mirror it, I need to mirror it horizontaly. So that Sonic the Noob Hedgehog can walk turned to the direction he's walking.

yourMc._xscale = -100
// and
yourMc._xscale = 100
// can be yscale also if needed