#๐Ÿ”’ why is my tree sideways

18 messages ยท Page 1 of 1 (latest)

tulip laurelBOT
#

@dense crescent

Python help channel opened

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.

dense crescent
#

im making a minecraft style game and the trees are sideways

#

i dont know why

fervent karma
#

i suggest you should change the orientation of the blocks of the tree

dense crescent
worthy agate
#

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

dense crescent
worthy agate
#

By always doing the coords in the same way

dense crescent
#

ok

#

i dont suspect StructureReader but the TerrainGenerator in generate_simpl-

#

wait a sec lemme try smth

#

it was transposition dammit

#

!close

tulip laurelBOT
#
Python help channel closed

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.