After some brutal days of code-scrobbling I have managed to get the average time-per-move down from the completely unacceptable 3.8 seconds to the only-moderately-annoying 1.1. This is still longer than I'd prefer, but my eyes will bleed if I try to find any more bits of inefficient code, so it'll have to do for now.
1. Finish the Epilogues2. Rework "Staying With Rume" in Chapter 13. Finish Progue scenes for his "Uncertain" psyche.
4. Finish sketched-but-unwritten portions of The Confrontation.5. Finish fleshing out and implementing "Forest" and its people.6. Add support for Intelligent Hinting (half done)
7. Finish attitude-adjustment Progue mini-scenes. (a third done)
8. Go through whole game and solve any structural / derailing issues.
9. Optimise for speed as much as possible.
2 comments:
This is interesting, what have you had to do to achieve this, significant, speed increase?
Basically a lot of highly technical and unpleasant hacking with the Inform 7 library, as well as a very careful scouring of my code for any routines that were using any "repeat" loops through all objects in the game. (Something that's very easy to do in I7.) I was also able to selectively eliminate parts of the library dealing with light and moveable objects, since Lacuna deals with those differently than normal.
Search the rec.arts.int-fiction news groups for "aaron speed" and you should come up with a couple of the posts I made on the matter. :)
Post a Comment