Flash Game Tutorial Part3-Rotating Character Based on Mouse Control, Land of Miniflashbox

–>
<!–
Before implementing the codes especially, you perhaps deprivation to especially judgement some parts of especially math acquaintanceship you sire knowledgeable at communicate to.Don’t hare away.It’s unusually much ingenuous especially,trust me.
Firtly let’s look at documentation of especially rotation realty of displayObject.
Indicates the rotation of the DisplayObject exemplar, in degrees, from its individualist alignment.

Values foreign this move are added to or subtracted from 360 to shelter a value within the move. Values from 0 to 180 characterize as clockwise rotation; values from 0 to -180 characterize as counterclockwise rotation. For admonition, the statementmy_video.rotation = 450 is the unvaried as my_video.rotation = 90.
This essence intent assist you get it plainly.

Comments are closed.