TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Dungeon Generator

29 点作者 nergal超过 8 年前

3 条评论

MichaelBurge超过 8 年前
It looks like this script uses the image it&#x27;s writing to as part of the algorithm(extending pixels until they hit rooms, etc.)<p>For more complex maps, it might be worth using something like DOT to define the abstract graph, and use any image generator tools to layout the dungeon. As a bonus, it would generate curved hallways to link the rooms.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;DOT_(graph_description_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;DOT_(graph_description_languag...</a><p>You seem to have specific requirements for the image to be easily loadable into a Voxel engine, so it may be that this method wouldn&#x27;t be useful.
评论 #12473178 未加载
atomicstack超过 8 年前
I started running some games of Paranoia last winter, and found this tool to be quite useful for generating layouts: <a href="http:&#x2F;&#x2F;donjon.bin.sh&#x2F;fantasy&#x2F;dungeon&#x2F;" rel="nofollow">http:&#x2F;&#x2F;donjon.bin.sh&#x2F;fantasy&#x2F;dungeon&#x2F;</a><p>There is also a pure-JS version which works offline, downloadable from here: <a href="http:&#x2F;&#x2F;donjon.bin.sh&#x2F;apps&#x2F;" rel="nofollow">http:&#x2F;&#x2F;donjon.bin.sh&#x2F;apps&#x2F;</a>
Fjolsvith超过 8 年前
I wrote a VB dungeon generator from Appendix C: Random Dungeon Generation Tables in the Advanced Dungeons and Dragons Dungeon Masters Guide back in the day. It made some totally awesome dungeons and output them in a bmp that had a light-blue grid, black dungeon walls and floodfill areas in the rooms and halls. It compiled a complete legend of room contents, door information, trap information, etc., and output that as a text file. I will have to search and see if I can find it.