Stu's Rusty Bucket

Fixing Rounds

I spent yesterday ripping out all the attribute and ‘round’ code and rewriting it.  There were some serious deficiencies (aka bugs) in the previous code that handled moves/rounds.

Its now smaller, more efficient and much easier to follow than the old code.

The new timer attribute code also works much better, the only side effect in the new timer code is that it ties itself to a particular item which is inconsistent for things that are oneshot (potions, mushrooms, gems etc), since these are a single special case its easy to handle, I’m debating if I will make the used item hang around like a phantom until all of its affects are worn off.

The 0.4 release is shaping up very nicely, I’ve put in a ‘win state’ which is not the true end game but its enough to keep to the game winnable for the time being and give players a goal for early releases.

Posted by on 07/16 at 08:22 AM    
Filed Under : ComputersDevelopmentCracks and Crevices
Comments are closed There are no comments on this entry.

<< Back to main