{"id":1206,"date":"2010-04-05T00:19:22","date_gmt":"2010-04-04T13:19:22","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1206"},"modified":"2010-04-05T00:19:22","modified_gmt":"2010-04-04T13:19:22","slug":"editing-quests","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2010\/04\/05\/editing-quests\/","title":{"rendered":"Editing quests"},"content":{"rendered":"

\"\"<\/a>Starting on an interface for editing quests today. \u00a0As you can see, it’s still really early; \u00a0not very much there yet.<\/p>\n

Also today, massive changes and bugfixes to lots of things under the hood. \u00a0Notably, fixes to rendering of text-edit-buttons, fixes to text entry (you can enter punctuation, now! \u00a0And more than 32 characters!), added functionality to the vsBox2D and vsFont, and a couple other minor bits and bobs that will eventually find their way back into the trunk VectorStorm library.<\/p>\n

But the fun stuff is that I made it so that the action bars can be placed either vertically or horizontally; \u00a0I’m thinking about using them instead of the old-style build toolbars that you’ll remember from earlier screenshots and versions of MMORPG Tycoon. \u00a0In this screenshot, I’ve selected a quest giver, which has opened up a quest editing action bar on the left, where I can select any of his five current quests. \u00a0Right now, I’m looking at the one labelled “Q4”, which is a fetch quest. \u00a0So far, the player can edit the quest name and description, and add quests to the QuestGiver’s list (by clicking the little ‘+’ button). \u00a0All of these new functions are being performed via the (relatively) new scripting system; \u00a0each button in the actionbars just sends a text command into the scripting system, which takes whatever action is required. \u00a0This approach really is an awful lot nicer to to write and maintain than the “every button is a different class which holds its own game logic” approach which I was using in previous versions!<\/p>\n

But I’ve derailed myself; \u00a0I was talking about quest editing. \u00a0Right now, the actual tasks which must be performed to complete each quest are still being procedurally generated, rather than actually being settable by the player. \u00a0But I’ll get to that tomorrow. \u00a0:)<\/p>\n

Also on the radar: I’ve been thinking about getting rid of the “context matrix” in the top right corner of the screen, which shows actions you can take on a selected object. \u00a0It just uses up too much screen space, and I think it would work every bit as well (and without intruding into the screen nearly as much!) as a simple action bar.<\/p>\n","protected":false},"excerpt":{"rendered":"

Starting on an interface for editing quests today. \u00a0As you can see, it’s still really early; \u00a0not very much there yet. Also today, massive changes and bugfixes to lots of things under the hood. \u00a0Notably, fixes to rendering of text-edit-buttons, fixes to text entry (you can enter punctuation, now! \u00a0And more than 32 characters!), added…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-js","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1206"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1206"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1206\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}