locked
Just Wondering RRS feed

  • Question

  • I was just wondering if there was any way to make the motion of the turtle smoother.

    FXQ909

    Sunday, February 19, 2012 11:44 PM

Answers

  • I think this is due to auto-delay added by the OS registering key down.

    Perhaps this helps a bit storing the Up key status using keyup as well as keydown, import FXQ909-0.

    With this mods you can also try set 'Turtle.Speed = 10' since the Program.Delay in the While loop (continuously running loop) will keep it at a reasonable speed.
    Monday, February 20, 2012 6:39 PM
  • It's possible to make FXQ909-0 crash on my computer if holding forward and a direction for awhile.

    EDIT: It's possible to crash both examples holding the direction key down.

    Thursday, May 10, 2012 1:44 AM

All replies

  • I think this is due to auto-delay added by the OS registering key down.

    Perhaps this helps a bit storing the Up key status using keyup as well as keydown, import FXQ909-0.

    With this mods you can also try set 'Turtle.Speed = 10' since the Program.Delay in the While loop (continuously running loop) will keep it at a reasonable speed.
    Monday, February 20, 2012 6:39 PM
  • Thanks litdev, this is a lot smoother!

    Thursday, May 10, 2012 1:07 AM
  • It's possible to make FXQ909-0 crash on my computer if holding forward and a direction for awhile.

    EDIT: It's possible to crash both examples holding the direction key down.

    Thursday, May 10, 2012 1:44 AM