Skip to content

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

Open
@oteroriveradaniel

Description

@oteroriveradaniel

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions