Before you draw the windows, you turtle must be facing a different angle to mine. Try writing the setheading() function just before you draw the windows - you can then specify which direction your turtle faces. e.g. setheading(0)
If we didn't make it global, we wouldn't be able to use the "x = x + 70" line of code and we wouldn't be able to place our windows in rows nice and quickly.
I did the code and I got a funky building
You must have not changed the coordinates
Thank you, this was for school
how can i make this into a 10 story building?
The loop will need to be adjusted to draw more windows. But also, the height of the building and the roof will need to be changed. A bit of tinkering.
good stuff, nice enjoyed
Is it ok to share a Logo script that draws something closely resembling this if I comment a link back to this video?
Yes, mate - you can go for it.
@@GeekTutorials1 thanks
For some reason, there isn't any space between my windows, it just makes one large horizontal window. Can you help?
There needs to be a bigger space between each window on the x-axis. It will be in the code somewhere after you draw one single window.
@@GeekTutorials1 It works now. Thank you so much!
My windows are coming out as diamonds, how can I fix this?
Before you draw the windows, you turtle must be facing a different angle to mine. Try writing the setheading() function just before you draw the windows - you can then specify which direction your turtle faces.
e.g. setheading(0)
Why does x have to be global, and y does not?
If we didn't make it global, we wouldn't be able to use the "x = x + 70" line of code and we wouldn't be able to place our windows in rows nice and quickly.