#๐ why is my tree sideways
18 messages ยท Page 1 of 1 (latest)
@dense crescent
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
im making a minecraft style game and the trees are sideways
i dont know why
tree.json:
https://paste.pythondiscord.com/EK7A
i suggest you should change the orientation of the blocks of the tree
but when i place it manually with my super secret developer key it looks normal
In the commented out code you use [row][col] (which is y,x) but in other stuff you use [x][y]
Basically you sometimes flip x and y, so the stuff that's drawn with such flipped cords will be sideways
do you know how i can fix it
By always doing the coords in the same way
ok
i dont suspect StructureReader but the TerrainGenerator in generate_simpl-
wait a sec lemme try smth
it was transposition dammit
!close
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.