Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Random Map Generation

I've probably bitten off more than I can chew with this one, but here we go. I have tried, unsuccessfully obviously, to create an exploration system similar to the game "A Dark Room". So far, all I've figured out how to create is a set map, thanks to Dan Cox's video on creating a dungeon crawler.

In short, I want to be able to create randomly generated maps that has all of the landmarks hidden until the players radius reaches it. Any help would be much appreciated. Thank you in advance.

Comments

  • What you need is some sort of procedural generation system which builds the map array and ensures the map is in fact passable.

    I've honestly never tried this in Twine but a quick search for "procedural generation dungeon crawler tutorial" gave me a bunch of resources. You'll have to adapt the code to work with javascript / twine but that's the place to start.

    Though I caution you, this isn't easy, and will probably be rather frustrating unless you have a good grasp on what you're coding.
  • I'm always ready for a challenge. Thank you for pointing me in the right direction.
Sign In or Register to comment.