Skip to content

Lesson 7, Practice 2 — Turtle animation not working as expected.  #597

@miwidev

Description

@miwidev

Bug description
When using the jump() function instead of the intended "position.x"-solution, the output animation behaves in a weird manner.

To Reproduce
Steps to reproduce the bug:

  1. Go to Lesson 7, Practice 2.
  2. Enter the code into the editor.
  3. Replace Line 6 and Line 9 with "jump(200, 0)"

Expected behavior
I expected the turtle to draw a square, jump to the right, and then draw the next square, and then jump again, and then draw the last square.

Screenshots
bild

Information about your device (please complete the following information):

  • Operating System: [Windows 10]
  • Browser: [Firefox]

Additional context
The lesson is all about assigning values onto variables. Because of this, the animation for this lesson wasn't made for this solution in mind and because of this bugs out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions