<\/a><\/p>\nVery minor update today, since I didn’t have much time to code, but got a few things implemented.<\/p>\n
First, VectorStorm materials now have an optional “layer” value. \u00a0This value defaults to zero. \u00a0Within a scene, material batches are drawn in order, according to increasing “layer” values. \u00a0This allows us to force transparent geometry, such as the extending arrow effect, to draw later than opaque geometry, such as the ground surface. \u00a0Note that this only works when rendering is performed via the material batching interface on the vsRenderQueue; \u00a0materials applied by directly setting them within a vsDisplayList will render exactly as requested within the vsDisplayList.<\/p>\n
Second, I’ve been removing lots of old, dead code. \u00a0Most notably, I’ve now removed the carcass of the old combat system. \u00a0Now that players and monsters are attacking each other using via configurable attacks, the fake old system really isn’t necessary any longer. \u00a0The Player AI really needs some serious refactoring; \u00a0I’m probably going to spend the weekend trying to massage the code into a simpler and more extensible state.<\/p>\n","protected":false},"excerpt":{"rendered":"
Very minor update today, since I didn’t have much time to code, but got a few things implemented. First, VectorStorm materials now have an optional “layer” value. \u00a0This value defaults to zero. \u00a0Within a scene, material batches are drawn in order, according to increasing “layer” values. \u00a0This allows us to force transparent geometry, such as…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-zd","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2183"}],"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=2183"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2183\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}