<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andy Moore &#187; Space Squid</title>
	<atom:link href="http://www.andymoore.ca/category/gamedesign/spacesquid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andymoore.ca</link>
	<description>Game Design and Programming</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:57:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mid-Mortem: Space Squid</title>
		<link>http://www.andymoore.ca/2009/05/mid-mortem-space-squid/</link>
		<comments>http://www.andymoore.ca/2009/05/mid-mortem-space-squid/#comments</comments>
		<pubDate>Tue, 19 May 2009 20:25:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Monetization]]></category>
		<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/05/mid-mortem-space-squid/</guid>
		<description><![CDATA[Mid-Mortem time! I don&#8217;t like using the term post-mortem with things are still going on, but I thought I&#8217;d talk about April&#8217;s game-of-the-month, Space Squid. As this is my first foray into the business that is Flash game development, I wanted to get a nice scientific baseline sample for what kind of interest self-generates around [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.codinghorror.com/blog/images/doctors-postmortem.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="float: left; margin: 0 10px 10px 0; cursor: hand; width: 393px; height: 312px;" src="http://www.codinghorror.com/blog/images/doctors-postmortem.jpg" border="0" alt="" /></a>Mid-Mortem time!</p>
<div>I don&#8217;t like using the term post-mortem with things are still going on, but I thought I&#8217;d talk about April&#8217;s game-of-the-month, <a href="http://www.space-squid.com/">Space Squid</a>.</div>
<div>As this is my first foray into the business that is Flash game development, I wanted to get a nice scientific baseline sample for what kind of interest self-generates around a game.</div>
<div>I wanted to use a few tools and just let it stew for a while and see what happens.</div>
<div>So here&#8217;s exactly what I did:</div>
<div>
<ul>
<li>Throughout April: Blogged about the game, right here. I also posted the occasional link to IRC chatrooms and IMs to get some feedback from trusted sources. The occasional twitter and facebook status update.</li>
<li>April 18th: Posted the game to <a href="http://flashgamelicense.com/">FlashGameLicense.com</a>, clearly marked as &#8220;under construction and unfinished&#8221; in several places. I decided to post it early &#8211; just in case a publisher saw it and said &#8220;Hey, turn it into a SpacePenis and you have a deal!&#8221; &#8211; and I&#8217;d still have time to make some development changes before my May 1st deadline.</li>
<li>May 1st: Finalized the game and marked it &#8220;Complete&#8221; on FGL; filled in a game submission form at AddictingGames.com, and emailed all my favorite 10 indie-related blogs announcing the release in a very low-key way (and even offered an open invitation for an interview about rapid prototyping, indie development, and all that other nice stuff). I also made a forum post at <a href="http://tigsource.com/">The Independant Gaming Source (TIG)</a>.</li>
<li>May 2nd: Attempted to upload the game to <a href="http://www.gamejacket.com/">GameJacket</a>, <a href="http://whirled.com/">Whirled</a>, and <a href="http://kongregate.com/">Kongregate</a>, but failed &#8211; GJ does not support games written in Flex at this time, and Whirled/Kongregate had some sort of malfunction once uploaded. Probably something like direct stage references; surely fixable if I put more time into it.</li>
<li>May 3rd: Submitted game to <a href="http://www.jayisgames.com/">JayIsGames</a> as a review request. They did such a great service for Fantastic Contraption I wanted them to have first stab at it.</li>
</ul>
<div>That is all. I did not approach any publishers, I did not email-blast everyone in my extended family, I didn&#8217;t lift a single finger to promote my game other than the above half-hearted effort. I wasn&#8217;t trying to fail &#8211; I was just trying to see what kind of self-support the game would get just <span style="font-style: italic;">existing</span> on it&#8217;s own.</div>
<div>Here are the results of the above work, as of today (May 19th):</div>
<div>
<ul>
<li>Three friends twittered about SpaceSquid.</li>
</ul>
<div><img style="display: block; margin: 0px auto 10px; text-align: center; cursor: hand; width: 490px; height: 396px;" src="http://www.cookbookpeople.com/blog/wp-content/uploads/2007/09/mistake.gif" border="0" alt="" /></div>
<div>Let&#8217;s take a look at what went wrong, shall we?</div>
<div>The first and biggest problem I saw was a complex issue: A misunderstanding I had about how FlashGameLicense worked, a misunderstanding from their users about how it could be worked, and probably a poor design choice in the development of the FGL site. You see, as soon as you post a game as &#8220;visible&#8221; to the FGL-browsing publishers, it goes right to the top of their list as &#8220;fresh&#8221; and &#8220;new.&#8221; It does not take into consideration the &#8220;incomplete&#8221; flag you set on the game, nor does it bump you to the top of the list once you do finish the product.</div>
<div>So what happened was I received 8 pageviews from publishers when the game was only half-done and the graphics largely placeholder. Here&#8217;s a comparison: <a href="http://www.space-squid.com/">Final Build</a> vs.<a href="http://www.space-squid.com/dev/37.swf"> The Build They Saw</a>. It kinda makes me shiver that my biggest opportunities may have been seeing that fateful build.</div>
<div>I built a lot of data-mining ability into the game, with Google Analytics tracking level-loads and the game itself logging activity. Of those 8 pageviews from publishers &#8211; which seems to me to be an embarrasingly small number to start with &#8211; only one ever clicked &#8220;Play Now&#8221; and they closed the window after about 20 seconds. The other 7 never made it past the menu &#8211; and considering the state it was in at the time, that is probably excusable.</div>
<div>It has now been 19 days since the game was marked as finalized on FGL. The game has since been viewed twice by publishers, and &#8220;Play Now&#8221; was never clicked. Of the 10 total views, only one was from a username I recognized &#8211; AddictingGames.</div>
<div>On top of that, JayIsGames decided not to review the game (or the review request was lost in the trash &#8211; though I did speak to Jay directly about the game and he seemed excited to get to it). My AddictingGames.com submission form likewise did not produce any further communciation. The few people who did played the game enjoyed it, but not at length, and didn&#8217;t seem to particularly pass it on.</div>
<div>Suffice to say, the game cannot support itself. This is completely counterpoint to the success that Fantastic Contraption enjoyed, and I can&#8217;t altogether say that I am surprised. Lessons learned:</div>
<div>
<ul>
<li>FlashGameLicense does not have many Publishers that use their service;</li>
<li>FlashGameLicense punishes you for posting your game before release;</li>
<li>The game must suck more than I thought it did, and I thought pretty lowly of it to start with.</li>
</ul>
<div>Well, even a piece of crap can sell if it has enough marketing behind it. And the power of</div>
<p><img style="float: right; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 10px; cursor: pointer; width: 300px; height: 385px;" src="http://terminallaughter.files.wordpress.com/2009/03/internet-marketing-73963.jpg" border="0" alt="" /></p>
<div>marketing is now within reach to humble folk like myself, thanks to the power of the internets. I guess I&#8217;ll have to give it a try and see if I can&#8217;t turn 3 twitter posts into a financial success.</div>
<div>Yes, that wlil be me sitting there casually high-fiving someone over my bluescreened laptop with a briefcase so stuffed full of money it&#8217;s falling out of the sides. Because that&#8217;s how I roll.</div>
<div>Anyway, don&#8217;t want to make a big to-do about it all &#8211; I have a new game in the works and I&#8217;m making a much bigger effort towards it than I did with SpaceSquid. Maybe that will be my golden goose.</div>
<div>Er, wait, a golden-egg laying goose. A golden goose wouldn&#8217;t work at all, it can&#8217;t even float proper! Stupid goose.</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/05/mid-mortem-space-squid/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>And thus it ends&#8230; And it begins again.</title>
		<link>http://www.andymoore.ca/2009/05/and-thus-it-ends-and-it-begins-again/</link>
		<comments>http://www.andymoore.ca/2009/05/and-thus-it-ends-and-it-begins-again/#comments</comments>
		<pubDate>Sat, 02 May 2009 07:25:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Monetization]]></category>
		<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/05/and-thus-it-ends-and-it-begins-again/</guid>
		<description><![CDATA[Despite assurances from several different sources, not a single publishing soul has viewed my game since marking it 100% complete on FlashGameLicense.com. Perhaps I haven&#8217;t given it long enough (24 hours! c&#8217;mooooon) but I&#8217;m losing hope fast. I won&#8217;t give up on them completely until next Friday I think. But that&#8217;s OK &#8211; I sent [...]]]></description>
			<content:encoded><![CDATA[<p>Despite assurances from several different sources, not a single publishing soul has viewed my game since marking it 100% complete on FlashGameLicense.com. Perhaps I haven&#8217;t given it long enough (24 hours! c&#8217;mooooon) but I&#8217;m losing hope fast. I won&#8217;t give up on them completely until next Friday I think.</p>
<div>But that&#8217;s OK &#8211; I sent out a dozen emails and posted the game to a bunch of websites. I&#8217;ve got at least one review in the pipeline and things will hopefully pick up over the next week.</div>
<div>While <a href="http://www.space-squid.com">Space Squid</a> slowly simmers away and attempts to make me a penny, I found myself staring whistfully at my laptop screen and remembering those heady times where it once displayed code. Yep, still got the programmer&#8217;s itch.</div>
<div>I guess I&#8217;m officially announcing my second game! No idea for a timeline on this one (I&#8217;m going to take it slow for a few weeks at least, and I still have some Space Squid stuff to deal with) and I&#8217;m not positive on the name&#8230; I kinda like the feel of &#8220;Satchel Charge&#8221; but it doesn&#8217;t exactly roll off the tongue. I&#8217;ll see what I think up. :)</div>
<div>Build #1 hasn&#8217;t been made yet but I&#8217;ll be sure to post as soon as it has.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/05/and-thus-it-ends-and-it-begins-again/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SPACE SQUID GOES GOLD!</title>
		<link>http://www.andymoore.ca/2009/04/space-squid-goes-gold/</link>
		<comments>http://www.andymoore.ca/2009/04/space-squid-goes-gold/#comments</comments>
		<pubDate>Fri, 01 May 2009 04:54:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/space-squid-goes-gold/</guid>
		<description><![CDATA[aaaaaaand FINISHED! What a ride this has been! I&#8217;m sure I&#8217;ll post a retrospective or two as things progress with game distribution, but for now&#8230; It&#8217;s time to take a break! The last and final build of Space Squid will clock in as Build 48. Considering I only had 30 days to complete this project (starting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mwponline.com/Assets/Images/April%202009/celebration-fireworks.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img style="float: left; margin: 0 10px 10px 0; cursor: hand; width: 300px; height: 300px;" src="http://www.mwponline.com/Assets/Images/April%202009/celebration-fireworks.jpg" border="0" alt="" /></a></p>
<div>aaaaaaand FINISHED!</div>
<div>What a ride this has been! I&#8217;m sure I&#8217;ll post a retrospective or two as things progress with game distribution, but for now&#8230; It&#8217;s time to take a break!</div>
<div>The last and final build of Space Squid will clock in as <a href="http://www.space-squid.com/dev/48.swf">Build 48</a>. Considering I only had 30 days to complete this project (starting from complete scratch! Never written a game before!) I&#8217;m pretty gosh-darned proud of that.</div>
<div>I put up a <a href="http://www.space-squid.com/credits.php">special credits page</a> so those who deserve them get immortal props :) Check it out, there&#8217;s some good links in there to some excellent people and some other great games.</div>
<div>Thanks to everyone who congratulated me via IM, eMail, and Twitter during the last few hours! It made the evening that much more stressful. ;)</div>
<div>I&#8217;ll be contacting a few media places for reviews, interviews, and submitting my game to a bunch of websites tomorrow. We&#8217;ll see where that takes us!</div>
<div>Here are the laetst, last-minute changes:</div>
<div>
<ul>
<li>Removed the level-20 victory message</li>
<li>Changed the ink bar from red to black, and moved the bar up paralell to the word</li>
<li>Updated the scoring text to indicate the +5000 point bonus for beating a level without restarting</li>
<li>Made the level number reset to Level 1 any time you exit to the menu</li>
<li>Added a credits page (that looks like ass. Sorry Aubrey :( )</li>
<li>Made the game ping Google Analytics every time a level is started &#8211; will help differentiate generic or passing-through site traffic with legitimate game players.</li>
</ul>
<div>Play the game on the official <a href="http://www.space-squid.com/">Space Squid Website</a>!</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/space-squid-goes-gold/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Down to the Buzzer, Space Squid!</title>
		<link>http://www.andymoore.ca/2009/04/down-to-the-buzzer-space-squid/</link>
		<comments>http://www.andymoore.ca/2009/04/down-to-the-buzzer-space-squid/#comments</comments>
		<pubDate>Fri, 01 May 2009 02:44:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/down-to-the-buzzer-space-squid/</guid>
		<description><![CDATA[Wew! 4 hours to go! A very special thanks goes out to Ryan Madsen in this update. I&#8217;ve always wanted to have ink in the game, but could never find a decent mechanic for it to work out. Ryan thought one up on a whim and by golly it works. Since I already had some [...]]]></description>
			<content:encoded><![CDATA[<p>Wew! 4 hours to go!</p>
<div>A very special thanks goes out to Ryan Madsen in this update. I&#8217;ve always wanted to have ink in the game, but could never find a decent mechanic for it to work out. Ryan thought one up on a whim and by golly it works.</div>
<div>Since I already had some art assets for ink in the game, it was fairly quick to prototype and test, and it&#8217;s been uploaded in the new, shiny, <a href="http://www.space-squid.com/dev/47.swf">Build 47</a>. I really shouldn&#8217;t be making sweeping changes like this so close to the deadline, but I really really really wanted ink in the game.</div>
<div>There will likely be just one more update to the game before release at midnight tonight with some quick bugfixes (if I find any). Here&#8217;s what I&#8217;ve got so far in Build 47:</div>
<div>
<ul>
<li>Ink now jets out of you when you hit the boost button&#8230; In fact, I renamed all references from &#8220;Boost&#8221; to &#8220;Ink.&#8221;</li>
<li>The ink can capture stars. This adds a whole new layer of strategy to the game. Capturing stars this way will net you +500 points.</li>
<li>You still get +500 points for capturing stars with a full ink meter, so whether you use it or not shouldn&#8217;t affect your score too much (directly). However, if used wisely, it can really decrease your time!</li>
<li>The ink persists in the game world for 5 seconds only &#8211; if it&#8217;s underwater. If above water it doesn&#8217;t start decaying yet.</li>
<li>You gain a 5000 point bonus for beating the levels in sequence without having to restart. Those who received this bonus are shown in Bold on the high score table.</li>
<li>The high score table was manually updated so those who didn&#8217;t receive this bonus earlier now have it (and I lost my #1 ranking on several levels :( )</li>
</ul>
<div>So now you can launch ink (use boost) in the air&#8230; Pros and cons there that add strategy to the game: You can use boost underwater, and get ink PLUS speed boost&#8230; Or you can use your boost in the air, and you only get ink&#8230; but the ink flies further and stays alive longer. A nice tradeoff!</div>
<div>Anyway&#8230; Almost there! Midnight, here I come!</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/down-to-the-buzzer-space-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>12 Hours To Go &#8211; Score Revisions?</title>
		<link>http://www.andymoore.ca/2009/04/12-hours-to-go-score-revisions/</link>
		<comments>http://www.andymoore.ca/2009/04/12-hours-to-go-score-revisions/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:31:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/12-hours-to-go-score-revisions/</guid>
		<description><![CDATA[I&#8217;ve got 12 hours left in my development cycle and I&#8217;m seriously considering switching one of the score mechanics. I need some input on this one! Hopefully I&#8217;ll get a few responses from people in the time I have left. When a score is submitted to my HighScore Database, it sends along with it a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve got 12 hours left in my development cycle and I&#8217;m seriously considering switching one of the score mechanics. I need some input on this one! Hopefully I&#8217;ll get a few responses from people in the time I have left.</p>
<div>When a score is submitted to my HighScore Database, it sends along with it a &#8220;legit&#8221; flag (also known as &#8220;Champ&#8221;). This flag is set &#8220;true&#8221; if you have not died/restarted/skipped levels since beating level 1, &#8220;false&#8221; if otherwise.</div>
<div>I put in this distinction as I wanted people to know if someone hammered away on a level, twenty times in a row, just getting lucky and nabbing the high score &#8212; or if they &#8220;legitimately&#8221; played through the game and got those high scores due to skill.</div>
<div>This distinction is currently marked by the bolding of someone&#8217;s name on the high score table. Here is an example of what I mean:</div>
<div><img id="BLOGGER_PHOTO_ID_5330571091591535202" style="display: block; margin: 0px auto 10px; text-align: center; cursor: hand; width: 246px; height: 159px;" src="http://1.bp.blogspot.com/_zNluNJRRhjI/Sfn-KkxHmmI/AAAAAAAAADs/1LKUmm5CU4E/s320/highscore.png" border="0" alt="" /></div>
<div>This high score table indicates that not only am I, weasel, in first place &#8211; but I attained first place on a single attempt through, utilizing my great skill and nothing more. You can further infer that both Pacifist (#2) and Hap! (#4) skipped directly to this level and attempted to beat my score that way, and failed (though it could also possibly mean they just died once somewhere along the way). Either way, this shows that my skill is to be celebrated even more!</div>
<div>With some discussion and thought it has occured to me that, eventually, the #1 spot on all high scores will no longer be bolded. The awe and aura of having a bolded name is good in and of itself, but it will not prevent human nature from just pummeling the digits column and attempting to elevate their score, regardless.</div>
<div>It is therefore my prediction that with this current layout, all worlds will end up having their high score tables dominated by scores flagged as &#8216;non-legit&#8217;.</div>
<div>Here is my proposed solution: Give each user +5000 points for completing a level in a &#8216;legit&#8217; fashion. This works out to be somewhere around a 25% boost to the average score, and less than a 10% boost for those pro-players in my current high score tables. It is still conceivable that the high score can be held by a non-legit holder, but doing things &#8216;the right way&#8217; will give you a significant leg-up.</div>
<div>Thoughts?</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/12-hours-to-go-score-revisions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What to do, Space Squid boo?</title>
		<link>http://www.andymoore.ca/2009/04/what-to-do-space-squid-boo/</link>
		<comments>http://www.andymoore.ca/2009/04/what-to-do-space-squid-boo/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 20:36:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/what-to-do-space-squid-boo/</guid>
		<description><![CDATA[As of this post.. T MINUS 33 HOURS! As of midnight tomorrow I&#8217;ll be done, so that I can get a good night&#8217;s sleep and enjoy my Friday. If you have any gripes or suggestions, this is the time to submit them! I&#8217;m finding it increasingly hard to work on the game because there simply [...]]]></description>
			<content:encoded><![CDATA[<p>As of this post..</p>
<div><span style="font-weight: bold;">T MINUS 33 HOURS!</span></div>
<div>As of midnight tomorrow I&#8217;ll be done, so that I can get a good night&#8217;s sleep and enjoy my Friday. If you have any gripes or suggestions, this is the time to submit them!</div>
<div>I&#8217;m finding it increasingly hard to work on the game because there simply isn&#8217;t much more I can do with it. It&#8217;s really come together nicely. Check out <a href="http://www.space-squid.com/dev/46.swf">Build 46</a> for example &#8211; almost nothing much changed!</div>
<div>
<ul>
<li>There&#8217;s now a mute button on the Main Menu (that remembers your preference in a cookie)</li>
<li>Added an obscure, tiny donate button on the bottom left of the <a href="http://www.space-squid.com/">Official Space Squid Webpage</a>. I might have to make this link more prominent.</li>
<li>One person reported an odd gamestopper bug &#8211; seemingly occurs at random, but the squid freezes in midair. I&#8217;ve not been able to reproduce on this end but I made some code changes as a precaution (I think it might have to do with an unhandled IOError event when streaming music).</li>
<li>Fixed a crash bug: If the ping to the high score server went <span style="font-style: italic;">slower</span> than you restarting the level, the game would hang</li>
<li>Fixed a crash bug: If the ping to the high score server went <span style="font-style: italic;">faster</span> than a single game tick the game would hang.</li>
<li>Made the <a href="http://www.space-squid.com/highscores.php?world=space-squid.com&amp;name=pacifist">date on the high score table</a> actually based on Pacific time instead of Eastern time (why isn&#8217;t it called Atlantic time?)</li>
</ul>
<div>I&#8217;m also proud to say that all my webpages are STRICT-validated thanks to Aubreys hard work on my webpage. Hooray for conforming to web standards!</div>
<div>And yes, by saying the page conforms with web standards, I&#8217;m raising my middle finger to IE 6. Want to make something of it?</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/what-to-do-space-squid-boo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MXMLC Ruins FileSizes</title>
		<link>http://www.andymoore.ca/2009/04/mxmlc-ruins-filesizes/</link>
		<comments>http://www.andymoore.ca/2009/04/mxmlc-ruins-filesizes/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 08:32:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/mxmlc-ruins-filesizes/</guid>
		<description><![CDATA[While working on Build 45 today I noticed something &#8211; that my file size for the project had almost hit 200KB. That&#8217;s a lot of KB. And considering a pretty big chunk of the population in the US is still on Dialup, it&#8217;s an unacceptably large number of KBs. It was taking 2-5 seconds to [...]]]></description>
			<content:encoded><![CDATA[<p>While working on <a href="http://www.space-squid.com/dev/45.swf">Build 45</a> today I noticed something &#8211; that my file size for the project had almost hit 200KB.</p>
<div>That&#8217;s a lot of KB. And considering a pretty big chunk of the population in the US is still on Dialup, it&#8217;s an unacceptably large number of KBs. It was taking 2-5 seconds to load on my broadband connection; I shudder to think how many people would scare away from a slower network!</div>
<div>I took a look back through the history of the game, and took a look at how the filesize grew with time.</div>
<div>
<ul>
<li>Build 1 was 2KB. This was built in Flash directly, not in the current framework I am using now.</li>
<li><a href="http://www.space-squid.com/dev/2.swf">Build 2</a> was 54KB. This was my first setup in my actual dev environment, with all the physics libraries and various plugins I needed. I call this my baseline &#8211; this is as small as my code will get. A lot of this &#8211; probably 45KB of it &#8211; is the Flex Framework.</li>
<li><a href="http://www.space-squid.com/dev/11.swf">Build 11</a> was <span style="font-style: italic;">still </span>54KB.</li>
<li><a href="http://www.space-squid.com/dev/12.swf">Build 12</a> was 90KB. You may notice very little difference between build 11 and 12; indeed, the difference is absolutely miniscule in terms of code or assets. The extra 40KB in weight is entirely from debugging statements.</li>
<li><a href="http://www.space-squid.com/dev/26.swf">Build 26</a> broke 100KB for the first time (109KB to be precise). It&#8217;s not surprising either &#8211; it&#8217;s the first build that includes graphics (albeit basic graphics).</li>
<li>As I added more and more art assets, the game ballooned to 158KB by <a href="http://www.space-squid.com/dev/38.swf">Build 38</a>. By this time the game is really starting to look like the final product, and some of the art assets are still in place in the game today.</li>
<li><a href="http://www.space-squid.com/dev/39.swf">Build 39</a> took the cake for the largest single asset size jump &#8211; hopping from 158KB to 176KB just for the new menu components.</li>
<li>Finally, <a href="http://www.space-squid.com/dev/44.swf">build 44</a> weighed in at 182KB.</li>
</ul>
<div>Build 45 was nearing 190KB when I first compiled it early this morning. That&#8217;s when I noticed it, and started trying to slim it down:</div>
<div>
<ul>
<li>I had been lazy and was importing files I didn&#8217;t need in my source code. By removing these, I slimmed my code down to 169KB &#8211; that&#8217;s 21KB saved just by commenting out a few lines!</li>
<li>I turned off debugging &#8211; Which got me 30KB back. 139KB!</li>
<li>Finally, I turned on compiler optimization, which apparantly swung me right down to 129KB &#8211; which is my latest upload to the server, and the version you are playing right now.</li>
</ul>
<div>I&#8217;m OK with having 70KB worth of art. Mentally subtracting that from my total I&#8217;m left with that oh-so-familiar 59Kb &#8211; right where I started.</div>
<div>After much Googling this evening it turns out that this is the price I pay for using the Flex SDK instead of the proper Flash IDE. The Flex development framework has a bunch of &#8220;features&#8221; it includes to help develop things in this pure-code environment wheras the proper, paid-version IDE is a bit more on-the-ball with what you actually <span style="font-style: italic;">need</span>. Up until this point I had not seen any good reason for using the Flash IDE &#8211; but now I&#8217;m wondering if it&#8217;s worth the 50KB penalty to stick with the Flex SDK and MXMLC.</div>
<div>I didn&#8217;t wonder too long, though. The answer is Yes. :) Big bloatware notepads-on-steroids is not what this industry needs! rawr!</div>
<div>There are a few other ways I can reduce filesizes &#8211; but to be honest, <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=performance_06.html">it&#8217;s beyond me</a>. I&#8217;m not even sure if I can make the suggested changes to this particular project. But let it be known, that there are mythic stories floating about the ether; proclaiming in a dream-like voice that a programmer somewhere&#8230; Somewhere far, far away&#8230; Has compiled a Flex SDK application in under 10KB.</div>
<div>I guess I have something to dream about at night while comfortably nuzzling my pillow with a smile on my face.</div>
<div>(For comparison; <a href="http://www.colinnorthway.com/">Colin Northway</a> used the Flex SDK to build <a href="http://www.fantasticcontraption.com/">Fantastic Contraption</a>, and it is 274KB &#8211; so I guess I should stop bitching. :) )</div>
<div><span style="font-weight: bold;">Edit:</span> None of the sizes quoted above include audio assets, which are dynamically streamed from the server. For the curious, I have 63KB in sound effects and 2.25MB in music.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/mxmlc-ruins-filesizes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Minor Update: Security and High Scores</title>
		<link>http://www.andymoore.ca/2009/04/minor-update-security-and-high-scores/</link>
		<comments>http://www.andymoore.ca/2009/04/minor-update-security-and-high-scores/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 03:58:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/minor-update-security-and-high-scores/</guid>
		<description><![CDATA[I did a real quick update this evening &#8211; it&#8217;s all backend stuff so I didn&#8217;t increment the build number, it&#8217;s still v45. Thanks to Ben Fox for spotting HTML exploits in the PlayerName/WorldName fields. I had been focusing so hard on SQL exploit prevention I completely forgot. :) There might be a hole in [...]]]></description>
			<content:encoded><![CDATA[<p>I did a real quick update this evening &#8211; it&#8217;s all backend stuff so I didn&#8217;t increment the build number, <a href="http://www.space-squid.com/dev/45.swf">it&#8217;s still v45</a>.</p>
<div>Thanks to Ben Fox for spotting HTML exploits in the PlayerName/WorldName fields. I had been focusing so hard on SQL exploit prevention I completely forgot. :)</div>
<div>There might be a hole in a place or two still on the site itself, but I&#8217;m fairly certain there&#8217;s no more security holes in the application.</div>
<div>I finalized <a href="http://www.space-squid.com/highscores.php">High Score display elements</a> early this afternoon and as I write this Aubrey is doing me up some CSS to make it look pretty (should be uploaded shortly). One of the biggest features I added was <a href="http://www.space-squid.com/highscores.php?world=space-squid.com&amp;name=weasel">Player Specific Stats</a>. It&#8217;s like a hockey card, except for a squid. :)</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/minor-update-security-and-high-scores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Polish Festival</title>
		<link>http://www.andymoore.ca/2009/04/polish-festival/</link>
		<comments>http://www.andymoore.ca/2009/04/polish-festival/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:58:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/polish-festival/</guid>
		<description><![CDATA[Mmm, Polish Sausages. To avoid future ambiguities, Poland should start spelling with two Ls. &#8220;Pollish People Use Polish.&#8221; Makes sense.. Poll -&#62; Pollish&#8230; I&#8217;ve been working on the big to-do list from my last post and I&#8217;ve gotten quite a bit done so far. One of the things on the list was to make some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://1.bp.blogspot.com/_zNluNJRRhjI/SfdgVXduTZI/AAAAAAAAADc/LItCSZ6LW0Y/s1600-h/kiwi_shoe_polish.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5329834604208475538" style="float: left; margin: 0 10px 10px 0; cursor: hand; width: 171px; height: 200px;" src="http://1.bp.blogspot.com/_zNluNJRRhjI/SfdgVXduTZI/AAAAAAAAADc/LItCSZ6LW0Y/s200/kiwi_shoe_polish.jpg" border="0" alt="" /></a>Mmm, Polish Sausages.</p>
<div>To avoid future ambiguities, Poland should start spelling with two Ls. &#8220;Pollish People Use Polish.&#8221; Makes sense.. Poll -&gt; Pollish&#8230;</p>
<div>I&#8217;ve been working on the big to-do list from my last post and I&#8217;ve gotten quite a bit done so far.</div>
<div>One of the things on the list was to make some new screenshots. That was a bit misleading; I actually need a 100&#215;100 pixel &#8220;thumbnail&#8221; that encapsulates what the game is for easy browsing. Most flash games have this &#8211; an icon or a logo of some sort.</div>
<div>I really hate making these kinds of things &#8211; I&#8217;d rather people just play! But visual guides are handy and they sell well. Here&#8217;s what I came up with:</div>
<div><img id="BLOGGER_PHOTO_ID_5329835329629328722" style="display: block; margin: 0px auto 10px; text-align: center; cursor: hand; width: 100px; height: 100px;" src="http://2.bp.blogspot.com/_zNluNJRRhjI/Sfdg_l3iFVI/AAAAAAAAADk/3SJfBr5JPJU/s200/thumbnail.png" border="0" alt="" /></div>
<div style="text-align: left;">Nice, simple, and to the point. Incorporates the Space Squid textual logo as well as the squid and the star, the two primary elements of the game. PLUS IT LOOKS OH SO CUTE, <span style="font-style: italic;"> AWWWWWWW</span></div>
<div style="text-align: left;">Some other things I cleaned up in this latest update, <a href="http://www.space-squid.com/dev/45.swf">build number 45</a>:</div>
<div style="text-align: left;">
<ul>
<li>Returned the main menu destruction and properly focused the game upon instanciation. I was even able to answer my own <a href="http://stackoverflow.com/questions/789771/flash-flex-sdk-as3-how-to-keep-keyboard-focus">Stack Overflow question</a> for this one.</li>
<li>Rewrote the main menu and all the instruction slides. Now it&#8217;s more uniform and coherent.</li>
<li>Reworked the &#8220;Click for More&#8221; icon.</li>
<li>Fiddled with the colors of the fishtank &#8211; I&#8217;m not sure if I like this and might change it again.</li>
<li>I played with the yellow of the boost bar for around 20 minutes but I kept settling on the yellow again. I made the yellow bit slightly thinner just to say I made progress and left it at that.</li>
<li>Made sure the squid&#8217;s cute little face is always the topmost component &#8211; no more obscuring his face with his arms. We wanna see that smile!</li>
<li>Made the first segment of his short arms a little thicker &#8211; they were narrower than the tips which made them look a little goofy.</li>
<li>Looked into the short arms &#8220;Drooping&#8221; &#8211; unfortunately I&#8217;m not going to be able to fix this by release date. I currently have buoyancy turned off for the arms &#8211; which means they just sag with gravity &#8211; but if I turn on buoyancy the swimming dynamic is completely thrown off for the rest of the squid. I&#8217;d have to rework all the weight and thrust values which will take me a long time. I figure it&#8217;s a tiny detail &#8211; might as well let this one slide.</li>
<li>Changed the hud score display colors to a base blue. I really like how it looks this way! I don&#8217;t know why I picked purple to start with&#8230;</li>
<li>Removed the border around the high score name input boxes and made them wider, and left-justified them so they don&#8217;t act silly when you&#8217;re typing away.</li>
<li>Turned off stats and rankings for &#8220;Anonymous,&#8221; and replaced them with a sign urging people to sign in. It still records Anonymous scores and ranks them on the website though.</li>
<li>Replaced the story text with game mode description text. This will be more handy, and noone will read the story anyway.</li>
<li>It came to my attention that on any computer without the &#8220;Elements&#8221; font installed, the countdown timer and score displays were using Times New Roman. That&#8217;s lame. I think I fixed that now though.</li>
<li>Made a new faded-yellow &#8220;Galactic Premonition&#8221; (preview star).</li>
<li>Made sure the EndGame boxes show up over top of everything else.</li>
</ul>
<div>I&#8217;m going to spend a chunk of the rest of the day today working on the HighScore displays on the website, so those should be looking nicer and nicer as time goes on.</div>
<div>You can <a href="http://www.space-squid.com">play Space Squid here!</a></div>
<div>I also realized that there is no real &#8220;industry&#8221; in Victoria and I don&#8217;t know enough people to throw a launch party. So here&#8217;s what it is: I&#8217;m going to the nearest pub, I&#8217;m going to eat calamari and get drunk. If anyone reading this wants to join me, <a href="mailto:andy@andymoore.ca">drop me a line</a>.</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/polish-festival/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Never Enough Cartoons about Space Squid</title>
		<link>http://www.andymoore.ca/2009/04/never-enough-cartoons-about-space-squid/</link>
		<comments>http://www.andymoore.ca/2009/04/never-enough-cartoons-about-space-squid/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:41:00 +0000</pubDate>
		<dc:creator>Andy Moore</dc:creator>
				<category><![CDATA[Space Squid]]></category>

		<guid isPermaLink="false">http://www.andymoore.ca/2009/04/never-enough-cartoons-about-space-squid/</guid>
		<description><![CDATA[This one has been floating around the internets quite a bit recently, but it well descrbies the whole space squid phenomenon: http://scienceblogs.com/pharyngula/2009/04/there_are_never_enough_cartoon.php]]></description>
			<content:encoded><![CDATA[<div>This one has been floating around the internets quite a bit recently, but it well descrbies the whole space squid phenomenon:</div>
<p><a href="http://scienceblogs.com/pharyngula/2009/04/there_are_never_enough_cartoon.php">http://scienceblogs.com/pharyngula/2009/04/there_are_never_enough_cartoon.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andymoore.ca/2009/04/never-enough-cartoons-about-space-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
