module to create Zork like game maps?

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default module to create Zork like game maps?

    [note crosspost and follow-ups]

    I've tried searching CPAN, but found only one module related to games
    and maps, a line of sight calculator. That's not what I'm looking for.
    What I am looking for is something to help either draw maps and/or
    calculate the moves to get from room A to room B in a Zork (etc) map.
    These are connected boxes with eight common directions (north,
    northeast, east, southeast, south, southwest, west, northwest) and an
    assortment of rarer directions (up, down, in, out, etc). In a few odd
    cases the corridors are not straight, and leaving by west from one room
    will enter you by south in another. It is often useful to note room names
    and items of note in the rooms.

    I'm not sure what interface I'd like best to use, but I have a number
    of paper maps I want to transfer. Transfering by automatic parsing of
    room names and exit directions (when possible, ie unique names and
    regular directions) would be nice.

    The only thing I've found so far in perl is "informap" from the IF
    archive. It draws maps based on reading in game source code, which is
    not an option for me.

    Anybody know of perl code to help me?

    Elijah
    ------
    surprised more game mapping programs aren't out there
    Eli the Bearded Guest

  2. Similar Questions and Discussions

    1. Create Image Maps?
      Can my client create image maps, or hot links, on an image within Contribute? I already have 4 image maps set up on an image and if my client wants...
    2. Help us to create a new game!
      Hi, my name is Carlos. Is there an engine that already exist so that the only thing we need to do is put the model/animations ingame and the some...
    3. How can I create a 3D game with 3dsmax6 ?
      Hi every body , I'm Lick , I'm new there , 'n I wanna know how to create a 3d game with 3dsmax6 , director mx ? Anyone know plz help ! Thankx...
    4. how can i create points for a game in director 8.
      Hi! I am presently creating a snowboard game and i'm wondering how to do points (compteur)...I'm french and i'm not sure if the word is...
    5. PostNuke module wanted: Soccer Leage betting game
      Hi, I am looking for a PostNuke module that lets my users bet on the national soccer league. Has anyone seen something similar? Using PostNuke...
  3. #2

    Default Re: module to create Zork like game maps?


    [ note trimmed follow-ups ]


    Eli the Bearded <*@eli.users.panix.com> wrote:

    > Anybody know of perl code to help me?

    Nope, sorry.

    > Elijah

    But its nice to see you here again!


    --
    Tad McClellan SGML consulting
    [email]tadmc@augustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

  4. #3

    Default Re: module to create Zork like game maps?

    Eli the Bearded (*@eli.users.panix.com) wrote on MMMMCCCXIII September
    MCMXCIII in <URL:news:eli$0506221606@qz.little-neck.ny.us>:
    `` [note crosspost and follow-ups]
    ``
    `` I've tried searching CPAN, but found only one module related to games
    `` and maps, a line of sight calculator. That's not what I'm looking for.
    `` What I am looking for is something to help either draw maps and/or
    `` calculate the moves to get from room A to room B in a Zork (etc) map.
    `` These are connected boxes with eight common directions (north,
    `` northeast, east, southeast, south, southwest, west, northwest) and an
    `` assortment of rarer directions (up, down, in, out, etc). In a few odd
    `` cases the corridors are not straight, and leaving by west from one room
    `` will enter you by south in another. It is often useful to note room names
    `` and items of note in the rooms.


    Calculating a path from one room to another is a standard graph
    algorithm (Eulers algorithm will do fine). In the Graph::* modules
    found on CPAN, there's something to help you out.



    Abigail
    --
    map{${+chr}=chr}map{$_=>$_^ord$"}$=+$]..3*$=/2;
    print "$J$u$s$t $a$n$o$t$h$e$r $P$e$r$l $H$a$c$k$e$r\n";
    Abigail Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139