Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 11: Moving In A Circle Using Delta - including scaled param on move_local_x causes test failure #479

Closed
danielbernard opened this issue Apr 3, 2022 · 0 comments · Fixed by #480

Comments

@danielbernard
Copy link
Contributor

Lesson 11. Time Delta: Moving In A Circle Using Delta tests fail if the scaled param is included on move_local_x even when the value is set to the default value of false.

This code fails:

func _process(delta):
	rotate(2 * delta)
	move_local_x(100 * delta, false)

This code passes:

func _process(delta):
	rotate(2 * delta)
	move_local_x(100 * delta)
danielbernard added a commit to danielbernard/learn-gdscript that referenced this issue Apr 3, 2022
danielbernard added a commit to danielbernard/learn-gdscript that referenced this issue Apr 3, 2022
@NathanLovato NathanLovato linked a pull request Apr 3, 2022 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant