Trying to build a roof in Python
I'm trying to build a roof on the ground then move it to the top of my building. Can't get the code to reverse the stair block though.
Anyone done this or is there a easier/better way to build it
Tried lots of different ways:
This idea didn't work as per the picture
Just to follow up - this is really about being able to reverse a stair block and position it upside down...etc. Tried all different ways and still can't do it !0
You can try to have the Agent approach from one side, then once they reach the top, have them stop, return to the ground level from the other side, then place the blocks.
Let me know if that works for you!1
Yep, after trying everything I also tried this and it worked. One weird thing is when the agent climbs one step and moves forward by one, it looks like it is trying to move forward about 10 times as is goes kind of crazy. It only does this one way. When it comes back it is fine.
The real tricky thing is can you place stair blocks upside down? I haven't managed to do this in code and can't see how to do it.
Thanks for your help!0
We can do it! Using the block data is the trick!0
Yes, great work. It's all about the language (chat commands, block-based code, MakeCode Python, Python Azure Notebook...) and the range of commands in that language. Then you have to find out what the full capabilities are within those commands. One challenge here in the community is that posts can be in different languages, as you saw on your previous post. Really happy you worked it out!0
Please sign in to leave a comment.