-
-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Labels
bugSomething isn't working as intendedSomething isn't working as intended
Description
Does not pass when using a correct solution with semi-colons at the end of lines or using variables in function calls instead of doing math in the function parameter.
To Reproduce
Steps to reproduce the bug:
- Go to lesson 11, problem 2 "Moving in Circle Using Delta"
- Click on "Solution"
- Click on "Use Solution"
- Add Semi-Colons to each line.
- Click "Run"
- See error
Alternatively:
- create variables inside of the function for rotation_speed and move_speed
- set rotation_speed to 2 * delta
- set move_speed to 100 * delta
var rotation_speed = 2 * delta
var move_speed = 100 * delta
- call rotate(rotation_speed)
- call move_local_x(move_speed)
- Click "Run"
- See error
Refer to the screenshots for examples of the above.
Expected behavior
Should pass checks but results in errors.
Information about your device (please complete the following information):
- Operating System: Windows
- Browser: Chrome
Additional context
Other problems allow the use of semi colons, so it's odd they cause an issue here despite allowing the code to run.
The error messages aren't explicit whether it's the movement speed or the rotation speed that is the issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as intendedSomething isn't working as intended
