0 votes

Hello,

I've been following this tutorial. At the moment I haven't found the issue yet. If someone could please explain to me if I forgot something I would appreciate.

Here is my project:
- Download link:
https://drive.google.com/open?id=1KgTDMGK4S2AGs4_ubKZAB0-aAotXKlXA
- In the video, the map is succesfully generated at 10:41

Thanks!

asked Mar 17, 2019 in Engine by MaximoTG98 (93 points)

1 Answer

+1 vote
Best answer

Unindent $TileMap.updatebitmaskregion(), it runs for every cell

answered Mar 18, 2019 by flurick (888 points)
selected Mar 18, 2019 by MaximoTG98

Oh, that was it, I forgot to unindent that part ,thanks!

For those finding this question here is what I did:

  • So I unindented the line: $TileMap.updatebitmaskregion() inside of
    Mapa's Script
  • And I also lowered the resolution inside Mapa's Script from 1024 to
    128 for example (that's the number of cells, not pixels!)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.