<\/a>Not much development time tonight. \u00a0But I did set it up so that you can buy and place quest givers. \u00a0And I told the procedural model building code how to make a big yellow exclamation point above the quest giver.<\/p>\nAlso today, I noticed that I was frequently getting crashes after placing a few buildings and roads. \u00a0I eventually discovered that the problem was the monsters – they were noticing when they were placed too close to a road, and were registering jobs for developers to move them into better positions. \u00a0This was old code left over from v1.1, and I was thrilled to see it still working. \u00a0Well, mostly working. \u00a0They were registering the position they wanted to be moved to in world-space, whereas everything is now running relative to the region it’s currently in, and so they were giving the developers bad positions to move to. \u00a0(It’s a bit like telling someone where you are by telling them how far you are from the edges of your map, when you’re looking at world map, and the person you’re talking to is looking at a city map — the positions on the map aren’t going to line up properly!) \u00a0Once I fixed that problem, they’re working again. \u00a0Place a road, and developers automatically move any nearby monsters away, to keep the roads relatively safe.<\/p>\n
Not bad for code that was originally written back when the game was entirely made of 2D vector graphics.<\/p>\n","protected":false},"excerpt":{"rendered":"
Not much development time tonight. \u00a0But I did set it up so that you can buy and place quest givers. \u00a0And I told the procedural model building code how to make a big yellow exclamation point above the quest giver. Also today, I noticed that I was frequently getting crashes after placing a few buildings…<\/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-iX","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1175"}],"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=1175"}],"version-history":[{"count":1,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1175\/revisions"}],"predecessor-version":[{"id":3112,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1175\/revisions\/3112"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}