Be The Dungeon Master

maze_finished-dungeonthumb.png

How to be the Dungeon Master using only JavaScript and CSS? James Edwards explains how. It would be a nice touch for a top-down RPG game like Dawn.

The essence of our maze script lies in our ability to create a three-dimensional perspective from a two-dimensional map. But before we can make sense of how the perspective works, we must look at the map — or, as I’ll refer to it from now on, the floor plan.

The floor plan is a matrix that defines a grid with rows and columns. Each square in the floor plan contains a four-digit value that describes the space around that square — whether it has a wall or floor on each of its four sides. As we’ll see in a moment, we’ll use a 1 or a 0 for each of the four digits.

rj_dungeon.gif

dungeonsstarter.gif

Tags: , , , , ,

 
 
 

3 Comments

  1. This is a great idea. I have always thought that the Dungeon Master could do a much better job with some good computer tools. I would really like to see a full fledged program with a good user interface that would enable a DM to design and run a dungeon without having to know how to program. I think that this would be a product that people would be willing to buy. Do you know of any program like this in the works?

  2. Music Site says:

    @Not John, as for me I wish if I can find a program that can make me use it without knowing anything about anything, if you just know how much troubles I have in the programing things, I have a site that stuck in the middle with a designer and now I can’t continue somewhere else and I can’t even stop it,
    I need to learn a lot!

  3. Chip says:

    Hey John, I saw a presentation of DnD 4. It’s really cool, it’s all computer-driven, and it’s really useful. Check it out on http://dnd4.com/

    @Music Site, what site are you talking about?

Leave a Reply





 
CommentLuv Enabled
 
  • John William: Very informative article! I was wondering that can we submit more arti...
  • CSS Gallery: Great research on these resources! We noticed you didn’t include ht...
  • ramyad: Great! Finally, found a solution. I've been scratching my head on this...
  • san diego seo: There is a new guy on my soccer team who is an Englishman. From time t...
  • Spyke: Thanks for posting this. Many people don't realize that bridge does th...
    follow me on Twitter

    Top Browsers

    Top OS

    Site Stats

    Ads

    Ads

    Ajax CommentLuv Enabled 7cc703d7a351bbc1b554fad7c2b1c542 | Tots2Teens | Cariera Piatra Constanta | Verighete