|
From: Dean S. <du...@us...> - 2002-10-03 12:04:55
|
> problem that I have come up so far is the algorithm for wall
> generating: should the game world map be more like a room based
> (like a plan of a house with big areas ("rooms") and narrow passages
> ("corridors") -- much like nethack) or should be a more open area.
Is storing the floorplan as a big 2-D array the way these things are
done, or are there more clever ways of doing it? If it is just an
array it shouldn't bee too hard (I'd even do it) to write code that
parses an xpm (or bitmap) image and returns a floorplan. It would then
be really easy to create floors/levels/whatever using your favorite
image editor. We could further encode terrains, objects, and creatures
in pixel colors.
Good Day,
Dean
|