user-writable content in games

Jason L Tibbitts III tibbs at math.uh.edu
Sun Apr 23 04:52:40 UTC 2006


>>>>> "w" == wart  <wart at kobold.org> writes:

w> The bones files are created based on the dungeon level that the
w> user died on.  There is a maximum of one bones file per user per
w> dungeon level.  This means that we don't know the name of the file
w> until the user dies, that is, until the game ends.

In that case, store the level inside the file and use a partially
random name.  It means that if you want to open a file for a
particular dungeon level then you have to scan, but these days that
isn't too much of a concern unless you have tens of thousands of
files.

It doesn't help you if you need to modify arbitrary files during play,
however.

 - J<




More information about the Fedora-games-list mailing list