Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.
Offseted rooms and tilemapNoogberserk Hi,
I'm having a problem with the drawing of the tilemap. It is as if it's origin is offseted.
It seems as if it is taking the center (origin) as the top left position.
I copied the code, so i don't know what could be wrong. I'm guessing it's something with the translation of world coordinates to tilemap coords. But couldn't figure it out.
TileMap node is at 0,0
Rooms Node is at 0,0
Maybe world_to_map changed on newer versions. I'm using godot 3.5.2 stable.
Thanks in advance.90Jul. 26, 2023
ERROR: The TileSet doesn't have a tile with ID '0'.carlo_montoyaI'm getting this error
ERROR: The TileSet doesn't have a tile with ID '0'.
At: scene/resources/tile_set.cpp:466
I'll try to debug on my own but just throwing it here just in case somebody experienced same when they took this course and found a solution.10Jun. 26, 2023
Doors and walls don't quite alignoohdeeAt the end of this lesson, my result looks like this:
<https://imgur.com/a/zZVHHSt>[](https://imgur.com/a/zZVHHSt)
This is my door object:
<https://imgur.com/a/w2Hk3WU>[](https://imgur.com/a/w2Hk3WU)
Any idea what I did wrong?
30Mar. 07, 2023
Question on object.call usage.produnoWhy do we use
```gdscript
call("_ready_editor_hint" if Engine.editor_hint else "_ready_not_editor_hint")
```
Rather than
```gdscript
if Engine.editor_hint:
_ready_editor_hint()
else:
_ready_not_editor_hint()
```
Would we not be better off trying to avoid using strings where possible?10Jan. 11, 2022
"Unable to iterate on object of type 'Object'."LaloGamerHi, I'm having an issue on the iteration for drawing the rooms in the player ship. In the function _ready_not_editor_hint(), the line "for point in room:" returns "Unable to iterate on object of type 'Object'.", and the game crash. I reviewed all the scripts and compared with the tutorials, and cannot find the error. Someone else is having this issue?
Thanks! 30Dec. 21, 2021
Just curious about the quote vs underscore usage in comments (eg `TileMap` vs _TileMap_)craig13Obviously there's no right or wrong here, so I was just curious about why the author chooses to use quotes in some places and underscores in other.
My first guess was that underscores are for public properties (like the exported _Size_), but _TileMap_ isn't exported. And I also saw "_Inspector_" in the comment above set_size().
Hope you don't mind me asking! I know it's not that important, but I'm always interested in these little stylistic quirks.
edit: Oh, one more. Why do you begin some comments with a single '#' and some with two '##'?10Oct. 20, 2021
Lesson Q&A
Use this space for questions related to what you're learning. For any other type of support (website, learning platform, payments, etc...) please get in touch using the contact form.