Hey Folks! Hope everyone enjoyed their weekend. I actually managed a trip to PAX on Sunday, and it was a bit weird. I often felt like an outsider peering into a world that was both familiar and somehow not meant for me. I think my eyes passed over a hundred booths showing flashy games that had no impact on me.
I did, however, really enjoy chatting with the devs I ran into. And there were a few games there that tickled my fancy. Industries of Titan, for one thing. It looks right up my alley, and not a far cry from this prototype. And Fugl looked mesmerizing and inviting. In fact, I think I enjoyed more of the indie offerings than anything else. Not everything was something I'd buy, but they were often the most refreshingly unique.
Anyway, back at the office, I continued work on multi-select via dragging a box. And it turns out using world space coordinates solved last week's issues easily. I had one minor bug to fix involving objects going through mode-switches and losing my group selection (e.g. doors opening/closing), but it otherwise worked well!
Then, I started to think about how I want to use this first: and that's zones.
I want to be able to designate areas on the ship that are for collecting trade items, cargo, and those that are off-limits to crew. I can think of other categories, too, but these might be the most immediately useful. In particular, I can harness the barter zone in a UI to finally enable trading items, which could allow crude scavenging and selling/buying.
So I adjusted the multi-select to operate on tiles instead of objects, for now. (Easy enough to change/add-to later.) And started work on a rough zone management UI.
At the moment, it just allows toggling the tile overlay, and choosing one of three states for the selected tiles: clear, barter, or forbid. I don't know if there will be overlapping zones at all, as the UI needs for that seem really complex. And we can probably make do with creative single zone placements.
Anyway, I've nearly got the code ready to both assign zone flags to the selected tiles, as well as a unique tint color. It'll remove all other flags and assign the one you've checked in the UI, and tint accordingly.
I suspect I'll also need some way to select existing zones by clicking, and update the UI to show that selection. But one thing at a time :)