13 April 2013

The Debug Dialog

When I was creating the iOS version of King of Dragon Pass, I included some of the same debugging utilities we had in the original game. Unfortunately, I couldn’t remember exactly what we had, and there was no good way to look, because the release version of the game didn’t have them. (And it’s real hard to search an mTropolis project.)

I knew there was a way to trigger a specific scene (critical for running them over and over to test all the possibilities). And a set of commands that do things like get rid of all your food (to test things like starvation advice) or get raided by Trolls.

But I knew there was something more, just not what it was.

Today I happened to run into this code
/*
Returns text about our clan helpful for debugging (shown in the \ dialogette)
*/
char* CPlayerClan::DebugInfo() const
{
gString = "farmerMorale: ";
UString::Append(gString, this->MoraleFarmers());
gString += ", warriorMorale: ";
UString::Append(gString, this->MoraleWarriors());
gString += ", thrallMorale: ";
UString::Append(gString, COSL::GetIntegerVariable(var_thrallMorale));
gString += ", mood: ";
UString::Append(gString, this->Mood());
gString += "\rvictory: ";
UString::Append(gString, COSL::GetIntegerVariable(var_victory));
gString += ", kingship: ";
UString::Append(gString, this->Kingship());
gString += "\r";
UString::Append(gString, fYearsAsType, "year", "years");
gString += " as clan type\r";

return (char *)gString.data();
} // DebugInfo

which was clearly used to display some internal status useful for testing.

This isn’t as important as it was in 1999, but we’re in the process of thoroughly testing a number of new scenes (currently 14, but several more are in progress). So I put this into the current debug dialog. It’s almost like seeing a long-forgotten friend.

30 March 2013

Art Process

I was going through the files and ran into some work sketches, which we usually didn’t save. So I can show a bit of our process for creating art.

King of Dragon Pass had three separate art styles (plus interface art), so there wasn’t a single process. This is the basics of how we worked with Stefano Gaudiano to create artwork relating to the present (as opposed to the Otherworld or history).

A scene’s writer (usually Robin Laws) would come up with basic art direction. I (David Dunham) might expand on it, and pass it off to Stefano as Art Director.
R257: A prosperously-attired female carl from the Prosperous Clan (R90) comes to tell us of an attack on her cattle by a fearsome creature called a walktapus. A walktapus is a humanoid creature with an octopus for a head; its skin is mottled and wrinkly like an octopus, but it walks on land. The walktapus has attacked a typical shaggy cow and has its tentacles wrapped around the beast, while carls from this other clan look on in horror, too scared to fight it.
Stefano would get someone to make a loose thumbnail sketch in pencil. (These varied in size; the ones I found were 3 to a standard sheet of paper.) This served to make sure the writers had communicated to the artists, and as a quick way to iterate the design. Elise Bowditch and I reviewed all the thumbnails with Stefano. Sometimes there were small changes (to bring out important elements of the scene, make sure that there was room for text, or emphasize something interesting the artists had come up with). Unfortunately, I don’t know who did this thumbnail.

Once the thumbnail was approved, Stefano assigned it to an artist to create full-sized (9 x 5 1/8 inch) pencils. We’d get these by fax, since there usually wasn’t much discussion at this point, and we could usually give feedback by fax or verbally. Again, I don’t know who did the pencils for R257.

When the pencils were approved, Stefano inked them, then gave them to a colorist (Mike Christian and Brian Sendelbach did most of the coloring). Note that this scene is in flashback style, where the event occurred in the recent past.

Stefano would then do any additional work (such as adding the embroidery on the woman’s overdress). He scanned these images and sometimes made color adjustments or small edits with Photoshop.

18 March 2013

30K Sale(s)

text: We’re very pleased to let you know that our <d3:unique/distinctive/indie> game King of Dragon Pass has sold over 30000 copies in the App Store! To celebrate, we’re putting the game on sale for 30% off, for three days.
music: "WeDidIt"
price = price * 0.7 # 30% off
trigger code_SaleOver 3  # Sale ends in 3 days

Response 1: Buy Now!
.fun += 1000
.goods -= 7
text: Clan members were heard saying things such as “<d3:This is undoubtedly the best rpg game on iOS./This game is simply brilliant./I must have put in 30 hours by now.>”

Response 2: Wait 3 days for the regular price, to support the developers.
.fun += 1000
.goods -= 10
text: Clan members could be heard saying such things as: “d3:A game with more depth and heart than you can shake a stick at./Thank you dev team for such a great game that I will be playing for years to come!/Congrats to the developers on making something so different and downright fun.>”

Response 3: Send messengers to nearby clans to let them know.
foreach c in NearbyClans
c.fun += 1000
aSharp.obligations += 1
SceneContinues

Response 4: Get the Windows version on GOG.com.
text: Clan members were sad that we had no iPad, iPhone, or iPod touch. But they praised the ring for finding another way.
.fun += 999

Response 5: Ignore the opportunity.
text: Clan members shook their heads and muttered darkly about the foolish decisions their leaders were making.
.mood -= 25

Advice:
[Storytelling] Get this game. It’s tribal politics and role playing at its best. Play it as if you are in the shoes of your clan leader or as you wish yourself; whatever brings you into the world, live it. You will not regret a thing. [1234]


16 March 2013

Troll Hero Preview

As you may know, we’re hoping to make a fairly large number of new scenes for a King of Dragon Pass update. We do have a constraint: there is no art pipeline the way there was in the original, so we are repurposing existing art. This isn’t actually a new thing — we reused artwork rather than commission art for the over 500 scenes in the original. (There are “only” about 420 illustrations earmarked for scenes.) After all, it makes sense that Sora Goodseller looks the same each time she visits (though she actually has a second piece of art).

One of the design goals for this update was to make use of artwork that may not be commonly seen, such as a scene that occurs as a direct consequence of a previous scene (i.e. a story branch). Here is one of them, a visit from a troll hero.

To write this scene, I consulted with the world’s foremost uzologist, Dan McCluskey. (I had to cut some of the finer points of troll behavior since you are seeing this from the human viewpoint.)

This scene has some internal branching, so it was a bit time-consuming to code, but it’s now ready, and got a good response from initial testing. Now we need to perform more rigorous QA, making sure each of the branches works.

This is the 11th new scene. Others are in progress, though I don’t know if I’ll really end up with all 29 I have ideas for.

17 February 2013

Planning for Growth

King of Dragon Pass has continued to grow since the last mention of what changed in the iOS version. There are still seven new treasures (it turns out to be tricky to add new ones without breaking saved games). There are now 29 new scenes, 4 more than when we first released. Two of the new ones have new artwork. And one of the bug fixes actually enables a scene that accidentally never showed up (a bug was introduced about a month before release back in 1999).

The way the save file format works, it’s not easy to add an arbitrary number of new scenes. And new treasures are also problematic. Luckily, the iOS version doesn’t need to worry about dealing with back-and-forth file compatibility between versions (since you can only upgrade and can’t move files between sandboxes). So I can add code to deal with old saves, and gain the ability to add a significant number of new scenes, as well as new treasures. Four scenes are coded, with one new treasure.

This is the first time we’ve changed the file format (we’ve always taken pains that updates could always read your saved games). It’s a bit of a pain, so I don’t want to do it again if I can help it. Accordingly, I want to release the next version with a fair number of new scenes. Fortunately, I have ideas for another 29. Unfortunately, most of these are not fleshed out, let alone coded and tested. Some may not turn out very interesting. So the update won’t be ready for some time.

This may hold up bug fixes and advice improvements. But hopefully one big update will end up better than a number of small ones, so all the story content is available at once (after all, you could easily play a game and not see a specific scene).

15 December 2012

King of Dragon Pass News


Another King of Dragon Pass update is working its way through the App Store servers, and should be available by the time you read this!

iPhone News Background
This version is largely focused on user experience. We revisited a decision made in 1997, and removed the ability to tap a slider’s maximum value. In most situations, this isn’t useful, and it was too easy to miss on the small screen. To make up for it, you can just keep your finger down on the + button (or if you overshoot, the – button).

For VoiceOver users, we’re taking advantage of better iOS 6 support, and focus on a more appropriate element in many cases. And since many of you have asked for it, an advisor’s gender is now mentioned.

Cartographer Colin Driver created a larger version of the Lore map, which is now full screen on iPad, and Retina quality.

As usual in an update, we made a few improvements to advice, fixed bugs and typos, and clarified some text.

Since we’re now taking advantage of iOS 6 features, Apple’s Xcode pretty much forces us to make the minimum operating system we support iOS 4.3. If you’re playing on an older iPod touch or iPhone 3, you should not update (if you’re even given the option).

We also added a new interactive scene.

Which is always fun to do, so we’re currently planning on adding a lot in an update next year. It’s unclear if all of them will turn out to work, but we have solid ideas for over 25 scenes.

Speaking of Colin Driver, he also did many of the maps in the Guide to Glorantha which will come out next year, giving incredible detail not only on Dragon Pass, but the entire mythic world that King of Dragon Pass is set in. There are less than 3 days left, but you can still back this project on Kickstarter and perhaps get more Gloranthan secrets in print!

Finally, GOG.com currently has the Windows version of the game on sale for half price.

01 December 2012

25000 Sales

Yesterday, King of Dragon Pass sold the 25000th copy in the iOS App Store. When we released it a little over a year ago, we really didn’t know what to expect in terms of sales, but this is definitely better than our expectations. Thanks to everyone who bought the game!

To celebrate this milestone, the game is on sale for 25% off* for 25 hours. Let your friends know! Or buy it as a gift to go along with the iPad mini they’re getting for Christmas.

* Actually, due to the App Store pricing tiers, it’s 30% off in the US. We round in your favor.