Writing up the description for the tree would work much better if I remembered to include the line of code that tells the game where the tree is.
In other news. . . .
IT WORKS! Itworksitworksitworks. It works and I wrote it.
I mean, I didn't write all of it, but I wrote . . . I wrote descriptions of a couple of rooms, and then went into coding my first puzzle. Which included an NPC. Who says something the first time he sees you and never repeats it. Which took me a while to do, because the first time I coded it he said it every fucking turn whether or not you were in the same location as he was. (There's a carrying voice.) And then it wouldn't work at all. And asking him about the various stuff you can ask him about took a bit of debugging, because of the if-clause and code shuffling that runs with one of the asks. Then I had to code the bit where he doesn't let you go by him. And the bit where you get him to go away, which required me to code a verb.
But it all works. Even the updating the game score when the puzzle gets solved.
In other news. . . .
IT WORKS! Itworksitworksitworks. It works and I wrote it.
I mean, I didn't write all of it, but I wrote . . . I wrote descriptions of a couple of rooms, and then went into coding my first puzzle. Which included an NPC. Who says something the first time he sees you and never repeats it. Which took me a while to do, because the first time I coded it he said it every fucking turn whether or not you were in the same location as he was. (There's a carrying voice.) And then it wouldn't work at all. And asking him about the various stuff you can ask him about took a bit of debugging, because of the if-clause and code shuffling that runs with one of the asks. Then I had to code the bit where he doesn't let you go by him. And the bit where you get him to go away, which required me to code a verb.
But it all works. Even the updating the game score when the puzzle gets solved.
From:
no subject
From:
no subject
I'm gonna see if I can get the beginning section down and debugged before I run out of steam. :)