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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Gamedev, RPG Maker and A Maze Generation Problem

1 点作者 GaiusCoffee大约 9 年前
I have two questions for you guys here at Hacker News, I hope you guys don&#x27;t mind :) (this is a x&#x2F;post on r&#x2F;gamedev)<p>First, what are your opinions on using RPG Maker (which ever version; I&#x27;m using MV via Steam) as a game engine?<p>I have to admit, at first it felt like a toy- not an IDE at all. I&#x27;m using it because real life is getting in the way right now, and I wanted to start developing this game idea I had using the easiest method available to me. I&#x27;m also using Visual Studio Code alongside it, since the event system wasn&#x27;t quite good enough so I&#x27;m injecting Javascript into it via the plugin system- if I&#x27;m not mistaken, the last version of RPG Maker can also do this but using Ruby.<p>Second, I&#x27;m having a bit of trouble finding a Maze Generation Algorithm, since most of sites I come across is talking about walls, doors and rooms. Unfortunately, I only have Rooms with Exits (doors?), and I can&#x27;t choose where to put &quot;walls&quot;. Here&#x27;s the limitations that I&#x27;m working with:<p><pre><code> 1. A Maze can have three types: a short one (6-12 rooms), a medium one (9-15 rooms) and a long one (12-18 rooms). 2. A Room can have one, two or three Exits (there&#x27;s no rooms with four Exits). Only one Exit per direction- North, East, South, West. This leaves me with 14 room configurations (Exits on N, E, S, W, NE, NS, NW, ES, EW, SW, NES, NEW, NSW, ESW). Room configurations can repeat per Maze. 3. A Maze always starts with a Room with a single Exit. 4. A Maze will always be self-contained. For example, it will never have an Exit that doesn&#x27;t connect anywhere, or, say a Room with a South Exit leading to a Room without a North Exit. This is the part that I&#x27;m having a lot of trouble with. 5. All rooms should be accessible. </code></pre> I hope you guys can help me, or even just point me in the right direction. Sorry if it&#x27;s not clear, english is not my first language. Comments and suggestions are welcome, thanks in advance :)

暂无评论

暂无评论