Repository navigation
v1.2.0
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