{"id":64,"date":"2014-01-14T23:15:47","date_gmt":"2014-01-14T23:15:47","guid":{"rendered":"http:\/\/blog.3pxh.com\/?p=64"},"modified":"2014-02-04T02:14:38","modified_gmt":"2014-02-04T02:14:38","slug":"iris-day-3","status":"publish","type":"post","link":"http:\/\/blog.3pxh.com\/?p=64","title":{"rendered":"Iris: day 3"},"content":{"rendered":"<p>So a few days ago I started development on a new game called Iris. It takes some ideas from Circadia (see last post for a video) and expands the physics. Things we&#8217;re learning:<\/p>\n<ul>\n<li>refactoring code is awesome (I&#8217;ve refactored the same bits several times now and with each pass it becomes easier to implement new functionality)<\/li>\n<li>closures are amazing for making programmable objects (e.g. say you have a class that you want to move around, but you wan the movement to be generalizable; pass in a closure that keeps track of the movement and updates the object every time it&#8217;s called, and just bind that to the update() in the object. Done! Or even more generally, make a function that makes these closures for some parametrization and being <a href=\"http:\/\/en.wikipedia.org\/wiki\/Don't_repeat_yourself\">DRY<\/a>)<\/li>\n<li>level design via text is a pain (seriously, we&#8217;d be so much faster if we just made a level designer&#8230; time to get on that)<\/li>\n<li>people can enjoy playing something they don&#8217;t even understand! The first couple builds didn&#8217;t have any tutorial, and watching people play we saw them delighted by the audio\/visual and aesthetic aspects of the game, without even being sure of what they were trying to do.<\/li>\n<li>it&#8217;s pretty easy to make VERY hard puzzles with fairly few mechanics&#8211;the bigger difficulty is in crafting a journey<\/li>\n<\/ul>\n<p>Screenshots are below, and per usual if you want to get access to pre-release builds join us on <a href=\"https:\/\/testflightapp.com\/join\/cab18cb4b95ecbd4be22fb7c316ab624-MjAxMTg3\/\">Testflight<\/a>, we love to share!<\/p>\n<p><a href=\"http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/2014-01-14.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-65\" alt=\"2014-01-14\" src=\"http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/2014-01-14-168x300.jpg\" width=\"168\" height=\"300\" \/><\/a> <a href=\"http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-14-at-3.10.29-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-66\" alt=\"Screen Shot 2014-01-14 at 3.10.29 PM\" src=\"http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-14-at-3.10.29-PM-300x195.png\" width=\"300\" height=\"195\" srcset=\"http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-14-at-3.10.29-PM-300x195.png 300w, http:\/\/blog.3pxh.com\/wp-content\/uploads\/2014\/01\/Screen-Shot-2014-01-14-at-3.10.29-PM.png 424w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So a few days ago I started development on a new game called Iris. It takes some ideas from Circadia (see last post for a video) and expands the physics. Things we&#8217;re learning: refactoring code is awesome (I&#8217;ve refactored the same bits several times now and with each pass it becomes easier to implement new &hellip; <a href=\"http:\/\/blog.3pxh.com\/?p=64\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Iris: day 3<\/span> <span class=\"meta-nav\">&rarr;<\/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":[10],"tags":[13],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-game-apps","tag-iris"],"_links":{"self":[{"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":2,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":68,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/68"}],"wp:attachment":[{"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.3pxh.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}