Talk:Basic BSP Dungeon generation

From RogueBasin
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Is there any code snippits I can look through for this? It would be helpful to see what it looks like from a code standpoint instead of the theory presented on the main page. It looks simple enough, but I'm having trouble implementing it. --Loendal 16:03, 13 February 2011 (UTC)

I'm not done with mine as of this edit, but here is a link to my code: WebRogue:bsp.js Does anyone have objections to me adding in few pointers? There are a few gotchas to this algorithm, such as getting degenerate splits if you say split vertically three times in a row.
Languard 00:48, 13 April 2011 (UTC)