All posts tagged with "everything is fine in greater swamptown"

The State Of The Empire

So January!  Hello!  We’ve been working on Clockwork Empires for – I feel safe to say now – a fairly long time.  There’s a lot of code in there, and you guys haven’t been able to play it yet.  We all wish that weren’t the case, so I guess I should tell you what we’re doing about it.

THIS IS MY LIFE.

THIS IS MY LIFE NOW.

Mid-December to the present was mostly a write-off due to familial obligations, plague, and stress relief in various forms, but some secret work was undertaken on the dreaded UI.  It was sort of like that montage in the Lord of the Rings where Gandalf leaves in the middle of the battle to go read some dusty scrolls in Gondor, except that was David, and it was a copy of The Elements of User Experience.  Suffice it to say that things are looking much better in that department.  Our loose framework of “technically sufficient” programmer tools are starting to actually indicate what they’re for.  It’s pretty cool, and a surprisingly laborious and meticulous job.

{ read this article }

Posted in Clockwork Empires | Tagged , , , , , , , , , , , , , , , , ,
16 Comments

Hooray for Scripting! (And Other Things We Did In The Past Two Weeks)

Way back in December, we had just implemented a bunch of the character logic for going through the world and doing things using our Finite State Machine model and utility functions. What we discovered was that writing the code for the FSMs themselves was, to put it frankly, a huge pain. Additionally, non-C++ programming members of the development team could not easily add new items and new behaviours to items (mines, buildings, trees, and the like.) Micah J Best, at the end of December, decided that we should use scripting to wrap some of the complexity and hide it from the end user, while simultaneously letting our development team create new objects and FSMs without requiring a programmer to go thrashing about in the codebase. I said, “Fine. Show me a proof of concept and then we’ll talk.”

Fundamentally, Gaslamp’s programming team operates based on spite. If somebody says “oh, well, we’ll never get that done in time”, or “oh, well, it’s too impractical”, somebody usually says “no, it well isn’t” and will jump to the bait. (I did this recently with a pipe system test.) Saying “Well, show me a proof of concept and we’ll talk” is equivalent to putting a red cape in front of a bull.

Over the holidays, Micah found himself stuck in Quebec. With nothing but inlaws, a language barrier, two laptops (one of which was destroyed by a cat), a turkey stuffed with poutine, and spite, he put together the first build of what is our new scripting system. It does, indeed, encapsulate all our programming decisions and is fairly powerful and flexible. We took apart all the character code we wrote in December, ported it to the new scripting system, and have now started using it to implement new things in game. It’s very powerful and, after some back-and-forth, I’m quite happy with how it’s turned out. We’re still fixing bugs and fine tuning how it all comes together, but let’s see how it all works…

{ read this article }

Posted in Clockwork Empires, Programming | Tagged , , , , , , , , , , , , , , , , ,
19 Comments