Spring Cleaning and Small Triumphs
Ah, a day of blissful laziness. I slept until a shameful hour, finished playing my Lost game, and spent time working on my own game. A large part of today’s work was actually just code cleanup – putting things in logical order, and fixing my headings (I had books inside of chapters, volumes inside of parts – it was a complete mess) which rendered the new “Contents” pane much more usable.
Fitted out a couple more rooms with scenery and objects, including a filing cabinet, which led to today’s triumph. I wanted to have it so that only one drawer in the cabinet could be open at a time, without actually requiring the player to close one himself. My first 15 attempts at coding it ended in run-time errors (and to think, I was so giddy when there were no compile-time errors!) so I started drafting a plea for help on raif. Continue reading