I am making a top down procedurally generated shooter game I do not no how to make a type of tile only be a wall.
1 Like
You can do it manually in the tile editor or you can run this bit of code every time you load a tile map:
For element (value) of (array of all(The tile you want) locations):
Set wall at (value)
You can find the “for element” block in the loops tab.
Hope this helps!
1 Like
I have coded this roughly a million times ^
Here’s the code:
I’ve also finally opened a PR to add this to the tile util extension:
4 Likes
…and merged! There is now a block for this in the arcade-tile-util extension:
It’s at the bottom of the “tiles” section:
6 Likes
thank you
1 Like