{"id":77,"date":"2009-08-24T00:28:22","date_gmt":"2009-08-23T23:28:22","guid":{"rendered":"http:\/\/www.knightsgame.org.uk\/blog\/?p=77"},"modified":"2009-08-24T00:28:22","modified_gmt":"2009-08-23T23:28:22","slug":"progress-on-011","status":"publish","type":"post","link":"https:\/\/www.knightsgame.org.uk\/blog\/2009\/08\/24\/progress-on-011\/","title":{"rendered":"Progress on 011"},"content":{"rendered":"<p>This is a quick progress report on what I&#8217;ve been doing for the next version of <em>Knights<\/em> (011).<\/p>\n<p>The following changes have now been completed:<\/p>\n<ul>\n<li>&#8220;Observer&#8221; functionality now fully works. If two people are playing on the server you can now log in and watch them play. (I wasn&#8217;t originally planning to do this yet, but it&#8217;s such a cool feature that I couldn&#8217;t resist&#8230; Hopefully there will be enough people on the server in future to be able to make use of it!)<\/li>\n<li>When waiting in the lobby, the <em>Knights<\/em> window now pops to the front (and un-minimizes itself if necessary) when someone else connects to the server. (This only works on Windows at the moment as I couldn&#8217;t manage to\u00a0 get it working on Linux. I will have another look at the Linux version some other time.)<\/li>\n<li>ESC no longer quits the game immediately. Instead it brings up the quest information (this is the screen that you get by pressing TAB currently) and you can then press Q to quit, or ESC again to return to the game. TAB now does something else &#8211; see next item.<\/li>\n<li>Chat messages can no longer be typed directly. Instead, you have to first press TAB (or click on the chat box) to activate &#8220;chat mode&#8221;, and then type the message.\n<ul>\n<li>The reasoning behind this is to avoid control conflicts. In the current version of <em>Knights<\/em>, if you define a letter\/number\/punctuation key as a knight control, then there is a conflict and that key becomes unusable for typing chat messages. In the new version, the conflict is fixed (the key <em>either <\/em>controls the knight <em>or <\/em>types into the chat box, depending on whether chat mode is on or off).<\/li>\n<\/ul>\n<\/li>\n<li>The chat window is no longer cleared after the game ends (this stops messages being &#8220;lost&#8221; when you click through the Winner\/Loser screen).<\/li>\n<li>The player name (used when connecting to the server) is saved to disk and remembered the next time you start <em>Knights<\/em>.<\/li>\n<\/ul>\n<p>The work still to be done is:<\/p>\n<ul>\n<li>Look at reducing CPU usage while sitting in the lobby.<\/li>\n<li>A couple of bug fixes (e.g. currently there is a bug in the dungeon generator which might make the quest impossible, because all keys and lock picks are placed behind locked doors).<\/li>\n<\/ul>\n<p>I&#8217;ll try to get these done next weekend.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a quick progress report on what I&#8217;ve been doing for the next version of Knights (011). The following changes have now been completed: &#8220;Observer&#8221; functionality now fully works. If two people are playing on the server you can now log in and watch them play. (I wasn&#8217;t originally planning to do this yet, &hellip; <a href=\"https:\/\/www.knightsgame.org.uk\/blog\/2009\/08\/24\/progress-on-011\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Progress on 011<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":12,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/posts\/77\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knightsgame.org.uk\/blog\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}