{"id":556,"date":"2015-01-18T10:38:11","date_gmt":"2015-01-18T17:38:11","guid":{"rendered":"http:\/\/www.zombox.net\/?p=556"},"modified":"2015-01-18T10:38:11","modified_gmt":"2015-01-18T17:38:11","slug":"crafting-continued","status":"publish","type":"post","link":"http:\/\/www.zombox.net\/?p=556","title":{"rendered":"Crafting continued&#8230;"},"content":{"rendered":"<p>So with the successful release of my mobile game Bean Boy (get it on <a href=\"https:\/\/itunes.apple.com\/us\/app\/bean-boy\/id942349131\">iOS<\/a> or <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.tysonibele.beanboy\">Android<\/a>), I&#8217;ve been putting all of my efforts into Zombox again, getting all of the kinks worked out of the crafting system.<\/p>\n<p>Last time I discussed the method I&#8217;m using to greatly reduce draw calls in the game world, and this time I&#8217;d like to talk about the actual implementation of the crafting system in general.<\/p>\n<p>There are currently three ways to craft items in Zombox:<\/p>\n<p>* Static crafts &#8211; these are your basic player-made crafts, as well as crafts created by constructable objects whose crafted results appear instantaneously. A static craft is just a craft that allows you to input ingredients, for an immediate output result. Ie, drag your ingredients into the crafting window and *voila*, your resulting item appears instantly.<\/p>\n<p>*Dynamic crafts &#8211; these crafts take time to produce their result. Imagine if you planted a seed in the ground &#8212; the tree would not appear instantly! The same goes for these crafts. They have a measurable time it takes between inputting your ingredients, and getting an output result. Usually these crafts involve the production\/cooking of food.<\/p>\n<p>*Automatic crafts &#8211; these crafts are produced by constructable objects that generate resources automatically. Water collectors, solar panels, etc&#8230;basically anything that doesn&#8217;t require input ingredients in order to produce a result. Like the dynamic crafts, they take time to appear. They also have certain stipulations. For example, solar panels will not generate electricity at night, a water collector won&#8217;t collect water when it&#8217;s not raining, etc.<\/p>\n<p>It&#8217;s taken a lot of work to iron out the bugs, but I&#8217;m *nearly* done working out all of the different crafting systems, methods and objects. Right now there are currently *hundreds* of things to craft in-game, and many of the crafting stations are upgradable, allowing players to craft increasingly awesome stuff!<\/p>\n<p>Here are some example .gifs showing the basic interfaces&#8230;<\/p>\n<p>To craft, you click the move\/rotate icons to place your object, then click the checkmark to build it:<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_127.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_127sm.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Grilling some fish and growing some plants&#8230;.note the progress bars that appear on these dynamic crafts letting you know how long it&#8217;ll be before it&#8217;s done:<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_128.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_128sm.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Here we see the fish finish cooking&#8230;time to eat!:<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_129.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_129sm.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Here&#8217;s a water collector gathering some dirty rain water, which can then be filtered and used for cooking:<\/p>\n<p><a href=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_130.gif\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/www.zombox.net\/stuff\/zombox_cap_130sm.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So with the successful release of my mobile game Bean Boy (get it on iOS or Android), I&#8217;ve been putting all of my efforts into Zombox again, getting all of the kinks worked out of the crafting system. Last time I discussed the method I&#8217;m using to greatly reduce draw calls in the game world, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,6,3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/556"}],"collection":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=556"}],"version-history":[{"count":2,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":558,"href":"http:\/\/www.zombox.net\/index.php?rest_route=\/wp\/v2\/posts\/556\/revisions\/558"}],"wp:attachment":[{"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zombox.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}