Advertisement
Maliki79

MV_Rotation_Fix

Jun 16th, 2016
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Game_Picture.prototype.updateRotation = function() {
  2.     if (this._rotationSpeed >= 0) {
  3.         this._angle += this._rotationSpeed / 2;
  4.     } else {
  5.         this._angle -= this._rotationSpeed / -2;
  6.     }
  7. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement