|
From: moxliukas \(P. Kudaras\) <mox...@de...> - 2002-10-03 12:31:22
|
>> 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.
Interesting... This thought has never struck my mind (Thank you!).
I was thinking of a more random map generating algorithm (like in nethack).
Yes, it would be easier to make a map by human, rather than generating it
randomly.
Petras Kudaras
aka moxliukas
|