Closed duianto closed 2 years ago
Describe the bug
Lesson 20, 2nd exercise: Back To The Drawing Board https://gdquest.github.io/learn-gdscript/staging/#course/lesson-20-looping-over-arrays/practice-clsFcSrG.tres
Back To The Drawing Board
The Goal states that we should "draw every rectangle in the rectangle_sizes array". But when attempting to do that. It says:
Goal
rectangle_sizes
ERROR We expected 4 polygons, but you drew 3 instead
The rectangle_sizes variable, in the start code, only has 3 sizes:
var rectangle_sizes = [Vector2(200, 120), Vector2(140, 80), Vector2(80, 140)]
The solution has 4 sizes:
var rectangle_sizes = [Vector2(200, 120), Vector2(140, 80), Vector2(80, 140), Vector2(200, 140)]
To Reproduce Steps to reproduce the bug:
Solution
Expected behavior
The initial code should have 4 sizes.
Information about your device (please complete the following information):
close via 6acd87a
Describe the bug
Lesson 20, 2nd exercise:
Back To The Drawing Board
https://gdquest.github.io/learn-gdscript/staging/#course/lesson-20-looping-over-arrays/practice-clsFcSrG.tresThe
Goal
states that we should "draw every rectangle in therectangle_sizes
array". But when attempting to do that. It says:The
rectangle_sizes
variable, in the start code, only has 3 sizes:The solution has 4 sizes:
To Reproduce Steps to reproduce the bug:
rectangle_sizes
variableSolution
buttonrectangle_sizes
variableExpected behavior
The initial code should have 4 sizes.
Information about your device (please complete the following information):