Usenet.com

www.Usenet.com

Group Index

Rec Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: my speed system



The Sheep wrote:

Dnia Wed, 26 Nov 2003 09:22:00 +0200, Topi Linkala napisal(a):

Scenario 3: Our hero decides to dispatch the monster to the hereafter and thus stops the occupation. The used 6000 energies are registered against the ground tile as used to dig a pit. When our hero resumes the digging the 6000 used energies are (totally or partially) counted towards the new digging action.

Note: it's generally bad idea to store such a counter in the map tile directly. It's much better to store some kind of list of places where the player started doing something, together with such counters. Such a list is usually quite short (especially if you remove timed-out entries) and you can easily search it to check whether the character starts a new action or continues an old one.

The list should be stored with the level info rather than character's
info, so that any character may finish the action.

Like you wrote: 'The list should be stored with the level info rather than character's info'.


That is the reason why I suggest that the info is stored with the level tile rather than with the hero.

Bw, sorry I use the word 'hero' rather than 'character', but that's the way I see first person roguelikes.

Topi
--
"The whole problem with the world is that fools and fanatics are
always so certain of themselves, but wiser people so full of doubts."
- Bertrand Russell
"How come he didn't put 'I think' at the end of it?" - Anonymous




<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.