oh, my bad. here's the c3p haha drive.google.com/file/d/1pTr6X8-fkaIlh6RmhHnIcHvPhLnsin_1/view
I made it so that the enemies regenerate the obstacle map once it's done, but it doesn't seem to do anything after the layout is restarted.
Also, an explanation for the amount of time the map takes to spawn is because of the different method I used, I made it so that it starts with one ground tile, and that tile decides to spawn another tile on any of its 4 sides, and it's limited to around 1000 tiles. The tiles are fairly small
The code is pretty disorganized at the moment, but that's because this project is pretty new and mainly a proof of concept. Thanks!