Skip to content

v1.2.0

Choose a tag to compare

@Siyu1017 Siyu1017 released this 06 Jul 15:06
· 6 commits to main since this release

v1.2.0 ( 2024-07-06 )

Changed

  • Functions used to get the turtle's state will not return a value, they return a Promise object, you can use .then() to get the return value.

  • Now you can use .then() after all the available functions of turtle

    [!Warning]
    Some functions may not return a value

    // method is a function available in the current version
    turtle.method().then(res => {
        // Do something...
    })

Fixed

  • When using turtle.left(), turtle.right(), the turtle's heading changes, but the direction does not change.
  • Can not get turtle's state ( turtle.position(), turtle.xcor, turtle.ycor... )
  • When the transition duration is less than 100ms, the turtle's movement will be uncontrolled