learn-gdscript icon indicating copy to clipboard operation
learn-gdscript copied to clipboard

Lesson 19 Practice 1: Robot not moving

Open NoBrainer91 opened this issue 1 year ago • 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

NoBrainer91 avatar Jan 31 '24 15:01 NoBrainer91

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.

baetup avatar Mar 24 '24 10:03 baetup