{"id":10,"date":"2010-11-17T12:45:07","date_gmt":"2010-11-17T12:45:07","guid":{"rendered":"http:\/\/www.nick-london.com\/?p=10"},"modified":"2014-10-10T01:51:59","modified_gmt":"2014-10-10T01:51:59","slug":"flatlands-update-dialogs-pickups-and-more","status":"publish","type":"post","link":"http:\/\/www.nick-london.com\/?p=10","title":{"rendered":"Flatlands Update: Dialogs, pickups and more"},"content":{"rendered":"<p>I&#8217;m starting to move away from doing engine busywork and actually into the fun part; making the game. I&#8217;ve added a proper entity system, sound effects, and started adding a proper UI, although at the moment it&#8217;s only used for displaying a dialog when the player collects an item.<\/p>\n<div id=\"attachment_11\" style=\"width: 615px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.nick-london.com\/wordpress\/wp-content\/uploads\/2010\/11\/FlatlandsOpenChest.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11\" class=\"size-full wp-image-11\" title=\"Getting an item from a chest\" src=\"http:\/\/www.nick-london.com\/wordpress\/wp-content\/uploads\/2010\/11\/FlatlandsOpenChest.png\" alt=\"\" width=\"605\" height=\"297\" srcset=\"http:\/\/www.nick-london.com\/wordpress\/wp-content\/uploads\/2010\/11\/FlatlandsOpenChest.png 1009w, http:\/\/www.nick-london.com\/wordpress\/wp-content\/uploads\/2010\/11\/FlatlandsOpenChest-300x147.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><p id=\"caption-attachment-11\" class=\"wp-caption-text\">Not pictured: Two days of tweaking to get the fly-in and fly-out animations perfect.<\/p><\/div>\n<p>At the moment a lot of it is awfully hard-coded, such as all the entity properties and text. Over the next week or so I&#8217;m hoping to move to a proper data-driven solution for all entity types, which should make adding new items a breeze as well as making them a lot more malleable.<\/p>\n<p>I&#8217;ve also been working on sound and music, and boy am I rusty at it. Getting the right key and timing for fanfares and the like is exceptionally painful, but I&#8217;m slowly improving. I&#8217;m still not sure if I want to go for an 8-bit or 16-bit feel for the sound, though. The 8-bit has a lot of charm and is a bit easier to do, but it doesn&#8217;t seem to work well with the more PSX-era graphics, like you&#8217;re listening to one game but playing another.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m starting to move away from doing engine busywork and actually into the fun part; making the game. I&#8217;ve added a proper entity system, sound effects, and started adding a proper UI, although at the moment it&#8217;s only used for displaying a dialog when the player collects an item. At the moment a lot of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-flatlands","category-projects"],"_links":{"self":[{"href":"http:\/\/www.nick-london.com\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nick-london.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nick-london.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nick-london.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nick-london.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":0,"href":"http:\/\/www.nick-london.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.nick-london.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nick-london.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nick-london.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}