Post by chriscrawford on Feb 19, 2016 17:40:14 GMT -8
The HistoryBook is working well now, but I realize that it could be better. It takes up a lot of space to deliver little in the way of content; you must do a lot of scrolling to wade through a full HistoryBook. So it occurred to me that I could improve it by 1) shrinking the icons to take up less space, and 2) organizing them with the player's sentences on the left and the other actor's reactions on the right.
First I just looked at what they would look like if the icons were reduced to half size. This seemed a little too tiny to read easily, so I tried 75% size, which looked just fine. So I think I'll set aside other work until I complete this change.
Post by chriscrawford on Feb 19, 2016 20:41:37 GMT -8
I was able to get the new arrangement working rather quickly, but there is a snag: I don't have a good rule for when to start a new line. The current rule says "New line if the Subject is not the player". But if the player does two sentences in a row, the second one overwrites the first one. So I need a better rule. It should be easy...
Certainly the existing rule is required: whenever somebody other than the player does something, it requires a new line. Indeed, perhaps the right way to handle it is to come up with a reverse rule: when is there no new line? That would be when the previous sentence had the player as subject and the current one does not.
Yes, that's it. I'll have to modify the code to take into account this new rule.