In the top right is a similar info bar about whatever your current selection is, and (if appropriate), a “Context Button Matrix”, which gives functionality specific to that object. \u00a0For example, on a building, you’ll have “Upgrade” and “Downgrade” buttons, and also “Remove”, and possibly “Move”. \u00a0And possibly more functions, as required. \u00a0One button (probably in the bottom right position) will\u00a0always be present in this matrix; \u00a0that’s the “More information” button, which will open a pane that shows even more exhaustive data and configurable settings about whatever you have selected. \u00a0This second info bar and the context button matrix vanish, when the player has no selection.<\/li>\n<\/ul>\nOther stuff.. \u00a0in this screenshot, you can sort of make out the brightly-outlined view of the distant land masses, out at the horizon. \u00a0The dark blue areas are seas which are far enough out that they aren’t being drawn by the regular rendering. \u00a0That’s the same stuff you saw in the last screenshot, just viewed from down near ground level. \u00a0That’s all temporary, and won’t be visible in the final game from this perspective, but I thought I’d mention what that is in case you guys were curious. \u00a0:)<\/p>\n
Other stuff. \u00a0I’ve been having a bunch of trouble making the detailed generated terrain match up nicely with the large-scale region map (seen in the previous screenshot); \u00a0those huge black areas look like they should be land when viewed from up high, but precisely where the shoreline begins is very unpredictable, and many of those black areas are currently generating as almost entirely underwater; \u00a0the shore appears just before the next region in from the sea. \u00a0(In fact, this screenshot is taken from inside one of those black shoreline “landmass” areas, and you can see just how little land is actually generating above sea level!) \u00a0Since the current Perlin-noise-based terrain generation system is proving so uncontrollable, I’m reconsidering how to generate region terrain, and have come up with a few ideas that ought to give some nice and more predictable results; \u00a0I’ll start prototyping those later this week.<\/p>\n
Lately I’ve been thinking a lot about adding a text interface, so that most game commands are actually implemented via text commands. \u00a0This would simplify a lot of my UI code, as I could then have just one or two types of button, which would simply send a text command when clicked, whereas right now I have dozens of different (but mostly similar) types of button in the codebase. \u00a0Users would also get a benefit from this; it would allow power-users to type text commands into a console rather than search out a button in the UI, and it would make it possible to implement MMORPG-style keybinding and macros, sometime down the line. \u00a0I’m not sure whether I’ll actually go this direction; \u00a0it’d be a lot of work to modify the existing UI to work via this type of system. \u00a0But I’m going to use this type of system for the “Context Button Matrix” pictured in today’s screenshot, and if that works out brilliantly, I might consider revamping the rest of the UI system to use it as well.<\/p>\n
Finally, I’ve fixed a bunch of region issues. \u00a0Fixed a lot of cases where particular spots in one region were mistakenly being considered part of a different region, fixed a float imprecision bug which would occasionally determine that a particular spot that was right on a region border wasn’t part of any region, and set things up so that region borders don’t appear bordering sea regions.. so that we can have nice beaches. \u00a0That is, once beaches are generating in the right places. \u00a0Oh, and I fixed a maths mistake which caused there to be strips of land a little over 200 meters wide bordering the north and east edges, just beyond the northernmost and easternmost regions in the region map.<\/p>\n
Oh. \u00a0And in the VectorStorm library, big performance optimisations to creating VBOs (via vsBuffer, when using the ‘set values in the built-in array, then baking them into a VBO’ method, as almost everything does), and a small performance optimisation to calculating Perlin noise., by eliminating some double-precision maths.<\/p>\n
Tomorrow, I should have the context button matrix functioning properly, and will get rid of the “Remove Building” and “Move Building” buttons from the “Build” pane. \u00a0And then I’ll start filling out the button bar. \u00a0And maybe I’ll finally get around to writing that Graveship movement control I’ve been distracted from for so long. \u00a0So much still to do! \u00a0:)<\/p>\n","protected":false},"excerpt":{"rendered":"
More UI mockup happening. \u00a0Here’s kind of what I’ve been thinking; \u00a0please feel free to comment! Persistant bottom toolbar. \u00a0This bottom toolbar will have about eight buttons in it, which will be square-ish (more square than the ones you see here), most of which will open other windows (such as the ‘Build’ button seen here,…<\/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-dg","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/822"}],"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=822"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/822\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}