GDQuest/learn-gdscript

Lesson 19 Practice 1: Robot not moving

Opened this issue · 1 comments

I've done exactly as the code asked and called the function robot.move_to() inside the run() function but nothing is happening. The lesson hasn't told me to do anything beyond just calling the robot.move() function.

To Reproduce
Do exactly as the practice describes.

Expected behavior
Apparently it's meant to look at the array and use that to navigate the blue path but nothing is happening.

Screenshots
Screenshot 2024-01-31 at 15 10 10

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

  • Macbook Pro
  • Chrome

Not a bug.
In the Goals panel on the left, it is specifically stated " Your task is to use a for loop to make the robot move." . So you have to pass a Vector2 as argument for the move_to() func, that you get by looping through robot_path array using for loop.