Re: user-writable content in games

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "w" == wart  <wart@xxxxxxxxxx> 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<


[Index of Archives]     [Fedora Music]     [Fedora Extras]     [Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [CentOS]     [Gimp]     [Yosemite News]     [Yosemite Camping]

  Powered by Linux