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

Lesson 10, Exercise 1,2 - Character passes exercise even thought it's not rotating clockwise

Open QWERTIOX opened this issue 1 year ago • 0 comments

Describe the bug Exercise takes 0.95 as equal to 0.05 radians

To Reproduce Steps to reproduce the bug:

  1. Go to lesson 10 exercise 1
  2. Run following code:
func _process(delta):
	rotate(0.95)

Steps to reproduce the bug:

  1. Go to lesson 10 exercise 2
  2. Run following code:
func _process(delta):
	rotate(0.95)
	move_local_x(5)

Expected behavior Fail the exercise, because it is not rotating clockwise

Screenshots image image

Information about your device:

  • Operating System: Linux Debian
  • Version: Learn GDScript 1.5.2 from github releases zip file

Additional context Robot is rotating very fast

QWERTIOX avatar Jan 16 '24 17:01 QWERTIOX