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 7 Practice 2 bad display on GDQUEST BOY. #1028

Open
DanielOR-6 opened this issue Dec 10, 2024 · 0 comments
Open

Lesson 7 Practice 2 bad display on GDQUEST BOY. #1028

DanielOR-6 opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working as intended

Comments

@DanielOR-6
Copy link

When running the program, all the tests pass and the practice is marked successful. However, the GDQUEST BOY displays the turtle teleporting and drawing lines on top of each other. It draws three squares but they are connected at the top, like hanging clothes.

I'm running the app on Windows 10, Firefox browser.
Refreshing the page does not fix the issue.

lesson7_bug
gdquest-1733854499663.log

This is my code:

func run():
	position.x = 100;
	position.y = 100;
	draw_square();
	jump(200, 0);
	draw_square();
	jump(200, 0);
	draw_square();
	
func draw_square():
	move_forward(100);
	turn_right(90);
	move_forward(100);
	turn_right(90);
	move_forward(100);
	turn_right(90);
	move_forward(100);
	turn_right(90);
@DanielOR-6 DanielOR-6 added the bug Something isn't working as intended label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant