Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Best way to do Random Dungeon Tiles?

Hey folks, here's my situation. I have a set of 90 dungeon tiles that I want to use in a randomly-generated dungeon crawl game. What I'd ultimately like to set up is a randomizer to pull one from the stack, and then I drag it out into the map to continue exploration. What would be the best method for implementing that kind of randomization of tiles. Would a deck be the best way to go about it, or would there be another simpler method?
1513457838

Edited 1513458136
Vanakoji
KS Backer
You could do it a number of ways but honestly I would just make a rollable table with every entry being one of the tiles, turn it into a token, then use the random side to select the next. So you could just copy/paste, select random side and keep going. More here&nbsp; <a href="https://wiki.roll20.net/Collections#Creating_a_Rol" rel="nofollow">https://wiki.roll20.net/Collections#Creating_a_Rol</a>... However if you want unique ones only (which seem to be the case), a deck would most likely be the best choice.
Thanks for the comment! I had considered the table approach, but uniqueness is required for this project. I guess a deck will be the most direct method.
Ya, for unique ones deck it your best bet. Only thing I can think of is set cards to be token instead of drawing for snap to grid easily and if every tile is the same size you can make use of the card size to not have to adjust them when drawn.
I forgot the name of the API but there is one that would allow you to do what you desire. You would create tables of "grass", "trees", "rocks" etc. and place them all at random in a map. In your case, you would need to put all the tiles (assuming they are for single screen use) in a table and let the API place them down. Though the card approach would work fine too.
i think this is what sharp above was talking about&nbsp;<a href="https://wiki.roll20.net/Script:Terrain_Generator" rel="nofollow">https://wiki.roll20.net/Script:Terrain_Generator</a>