Talk:Basic BSP Dungeon generation

From RogueBasin
Jump to: navigation, search

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)

Personal tools