Gathering Storm - 10000 lines

March 22, 2012

So a month and a half ago, when I started programming again after the deluge of video games, for some reason I started coding a different version of my program that was saved to my desktop - a version that didn't contain any of my work from Nov/Dec. My only explanation for doing this is that I am a silly person. Even after I realized that I wasn't coding on the real version, I just randomly assumed that it was exactly the same code and continued about my business...

...until I realized that they weren't the same code. A month and a half later.

So then I had to spend most of yesterday and today merging the two codes. Luckily I had worked exclusively on battle menu stuff in Nov/Dec and rune menu stuff last month, so there wasn't too much overlap in coding discrepancies - the only functions I couldn't directly copy and paste were the item menu navigation function and a binary dialogue option function (which, you know, pops up whenever the player is asked to make a binary choice). Still, there was some trouble figuring out which global variables I needed to declare and then re-importing a bunch of spell and attack animation graphics.

But, anyway, once it was finally a functioning code again, in which players could both engage in combat and dick around with runes, my code was almost exactly 10000 lines long. Not all of those lines are necessary, of course, but still, it is what it is, and I've officially broken that barrier, which I think is kind of impressive.

And to commemorate this special occasion, I finally stopped using different trial versions of Flash Professional (not really by choice...the shenanigans that ensued from merging the two codes somehow caused my expired trial version to crash) and spent $200 getting an official license for the product. Umm, yay?


Leave a comment

Comments will be approved before showing up.


Also in Blog

Forge War Kickstarter: A Retrospective

November 29, 2020

Read More

One crazy month
One crazy month

April 30, 2020

I’m sure I’m not alone in the fact that this last month and a half as been quite crazy. I remember about mid-March when the pandemic really started getting serious in the US, and I decided to still go to Piranha Pig Con (pictured above), and then visit my wife’s family out in Virginia.

Read More

The launch has shifted, and that's okay
The launch has shifted, and that's okay

March 20, 2020

I don’t have to explain to you how chaotic this last week has been, and I’m sure you don’t need any more statistics at this point. What I’d like to do, though, is briefly explain how Cephalofair Games has been affected by recent events, and what we will be doing moving forward.

Read More