2 Replies Latest reply on Nov 25, 2008 9:43 AM by shintashi

    rotation problems in actionscript

    shintashi Level 1
      What is supposed to happen:

      1. When program starts, nothing is moving.
      2. if press right key, rotates right, speed builds up as key is held.
      3. if key is released, speed slows down, may stop off alignment, expected.
      4. if press left key, rotates left, speed builds up as key is held.
      5. if key is released, speed slows down, may stop off alignment, expected.
      6. if both keys pressed at same time, velocity same, if velocity 0, the object doesn’t move.
      7. if rotating right, and in process of slowing down, if left key is pressed, slows down faster and eventually reverses.
      8. if rotating left, and in process of slowing down, if right key is pressed, slows down faster and eventually reverses.

      problems with 6, 7, and 8.