All posts tagged with "programming"

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

Dredmor for iPad

… we’ll just leave these here.

Choose Your Skills - anywhere you like, feel free.

Oh, it's just so little!

Posted in Dungeons of Dredmor | Tagged , , , , , , , , , ,
48 Comments

Lean Startups, Part II: Some Games That Suck (And Why That’s Not a Bad Thing)

(Eric Ries has now started re-tweeting this series, so I will take that as tacit approval from the master. He’s in British Columbia in two months, giving a series of talks on Lean Startupsin Vancouver and somewhere in Kelowna, so there is a slim possibility that this is just a ruse to lull me into security while he takes time out of his busy schedule to hunt me down and shoot me with a blowgun.)

When last we left our hero, he had just discovered that it was possible to make a lot of money by shipping software that sucked. This, of course, was nothing new to our hero; now, however, he was confronted with the fact that this might not be a bad thing after all.

So here’s the skinny.

{ read this article }

Posted in Programming | Tagged , , , , ,
2 Comments

Lean Startup, Part I: “Why does your IM Client Suck?”

I promised that I would write a post about my thoughts on Lean Startups at some point. This is evolving into… well, it’ll be a series. Gaslamp is not a lean startup, at least in the puritanical, traditional sense; that said, there is a certain amount of talk around the old campfire about doing our next game in a Lean fashion. Lean Games have been done before – arguably the best example is Mount and Blade, but I think Overgrowth and Natural Selection 2 both count – but nobody has put a label on the idea yet.

So let’s do this, and while we’re at it let’s talk about Lean Startups. What is a Lean Startup? Well, it’s a complicated subject. I also get to tell an Eric Reis story, which he probably doesn’t even remember, and if he reads this either I’ll get flamed and the company will be sued, or he’ll put it up on his excellent weblog. It’s a win either way, so here goes.

{ read this article }

Posted in Programming | Tagged , , , ,
3 Comments

Game Development Snake Oil

I am actually sick with lung flu, which means I have some time to write angry rants, inspired by things on my Twitter feed, and then post them to the company blog.
(Actually, this is just shameless bait for sites like Y Combinator, who love to hear Angry Young People railing about the world at large. I… I should give up now.)

That said, we have been falling short on technical commentary here, and I did get linked to two Twitter posts this morning that are worth discussing in some detail. So let’s have at ‘em.

The first item is from id Software’s John Carmack, who does things like writing an entire photon mapper in a day and then tells people that he did it – and, it’s not a big deal, you know? His contribution to the discussion:

“Floating point trick: If ( a != a ) a is a NaN”

I took a few minutes to puzzle out how this could possibly work. It turns out that in C++ – and in fact, according to IEEE floating point standards – NaNs (or not-a-numbers) will cause ANY expression to return true if they are used in an inequality comparison. Clever!

The second item that caught my attention was an advertisement for a course with a “Certified ScrumMaster for Agile Game Development”, to be held two days before GDC. This course promises that we will, with the ScrumMaster’s help and guidance, learn such things as:

“The essentials of getting a project off on the right foot”,
“How to successfully scale Scrum methods to hundreds of participants”,
“How to help both new, and experienced teams, be more successful,”

and so on and so forth. In just two days, you too can sip at the mystical elixir of Scrum, which is guaranteed to make your game ship on time, your Metacritic scores improve, and as an added bonus it’ll make all your hair grow back and your girlfriend will stop complaining about all the overtime you put in at the office. The cost of this affair? $1500 for a two day seminar, although you get $250 off if you register early. As a bonus, after you take this course (and fill in some kind of online quiz), you too can call yourself a Certified Scrum Master!

*sigh*

{ read this article }

Posted in Games, Programming | Tagged , , , , , ,
8 Comments