<\/a>On my way to the MS4 (“Towns”) milestone, I’ve been working on revamping the user interface for creating roads and paths.\u00a0 Since I’m a big fan of posting screenshots of bugs, here’s a screenshot of the output from the first version of the new road code.<\/p>\nIt’s supposed to just be a straight dirt road between the two glowing points on the map (and in fact, the AI understands it that way, and will happily walk between those two points thinking that it’s on a safe path).\u00a0 But due to some bugs in the drawing code, the path is being drawn as a strange scatter of little holes dug into the terrain, extending quite a distance away from where the path was supposed to be.<\/p>\n
In MS4, the interface to the game’s road system is becoming simpler.\u00a0 In the MS3 build, you placed roads by clicking and dragging.\u00a0 You could then click and drag on the midpoint of a road, to bend the road away from its current path.\u00a0 Roads would also try to ‘straighten’ themselves, so that if you placed a new road so that it joined a building which was already connected to a road, the building would automatically rebuild both roads so that they would enter the building on opposite sides.\u00a0 All of that is now gone.<\/p>\n
The new system doesn’t ever automatically modify your roads.\u00a0 Instead of the old click-drag-release interface, the new interface is ‘click-click-click’, with each ‘click’ placing another segment of road, and a double-click finalising that road.\u00a0 Once a road has been finalised, nothing will change it\u00a0(apart from outright demolition), so you can rely on roads keeping the shape you initially gave them, which wasn’t previously the case.\u00a0 Similarly, clicking in the middle of a finished road won’t allow you to bend it any more;\u00a0 instead, it creates an intersection at the clicked point, and extends a new path from there.<\/p>\n
Finally, roads no longer connect directly to buildings.\u00a0 Instead, buildings can be placed adjacent to roads.\u00a0 This seems a lot more sensible to me, and it’s this part of the system that I’ll be putting together in this upcoming week.<\/p>\n
I wanted to hit the MS4 build at the end of this upcoming week, but I suspect that I won’t quite make it;\u00a0 it may be partway into the week following.\u00a0 But we’ll see!\u00a0 I’ll post updates about how I’m tracking as I get closer.<\/p>\n","protected":false},"excerpt":{"rendered":"
On my way to the MS4 (“Towns”) milestone, I’ve been working on revamping the user interface for creating roads and paths.\u00a0 Since I’m a big fan of posting screenshots of bugs, here’s a screenshot of the output from the first version of the new road code. It’s supposed to just be a straight dirt road…<\/p>\n","protected":false},"author":1,"featured_media":3226,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25],"tags":[],"jetpack_featured_media_url":"https:\/\/www.vectorstorm.com.au\/wp-content\/uploads\/2014\/05\/Focus1.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-Q0","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3224"}],"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=3224"}],"version-history":[{"count":1,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3224\/revisions"}],"predecessor-version":[{"id":3227,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/3224\/revisions\/3227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media\/3226"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=3224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=3224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=3224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}