<?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>8bitmonster</title>
	<atom:link href="http://8bitmonster.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://8bitmonster.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 05 Dec 2010 21:57:54 +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>Neon Race</title>
		<link>http://8bitmonster.co.uk/2010/12/05/neon-race/</link>
		<comments>http://8bitmonster.co.uk/2010/12/05/neon-race/#comments</comments>
		<pubDate>Sun, 05 Dec 2010 21:57:54 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Flash Games]]></category>
		<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=64</guid>
		<description><![CDATA[Here&#8217;s something you don&#8217;t see often &#8211; a 3D racer Flash game.   Hands up who owned one of the following: Out Run, Chase HQ, Super Hang On or even Super Monaco GP Rally?  Exactly.  So, you&#8217;ll be pleased to hear that they&#8217;re exactly the kind of vibe conjured up by LongAnimals&#8217; excellent effort. It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s something you don&#8217;t see often &#8211; a 3D racer Flash game.   Hands up who owned one of the following: Out Run, Chase HQ, Super Hang On or even Super Monaco GP Rally?  Exactly.  So, you&#8217;ll be pleased to hear that they&#8217;re exactly the kind of vibe conjured up by LongAnimals&#8217; excellent effort.</p>
<p>It&#8217;s a simple, no- nonsense racer with time limits to beat and minor upgrades to be had.  No grind necessary here &#8211; about 20 minutes will see you suitably kitted out with enough bolt-ons to unlock all the levels and whizz around in a glowing white-hot supercar.  Just how they used to be.  The smoothly-executed vector graphics give a credible illusion of speed, even more so when your turbo-glow effect is applied and you plunge headlong into the void with a breathtaking turn of speed.  It&#8217;s like the jerky 16-bit days of yore, but with ramped-up graphics balancing out an unfortunate lack of <a href="http://www.youtube.com/watch?v=yxcVk6ygHVE">hummable tunes</a>.</p>
<p>A twist on a bygone era but that deserves to keep you busy tomorrow lunchtime.</p>
<p><a href="http://www.kongregate.com/games/LongAnimals/neon-race">Neon Race on Kongregate</a></p>
<p><a href="http://8bitmonster.co.uk/wp-content/uploads/2010/12/neon-racer.jpg"><img class="aligncenter size-full wp-image-65" title="neon-racer" src="http://8bitmonster.co.uk/wp-content/uploads/2010/12/neon-racer.jpg" alt="" width="550" height="413" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2010/12/05/neon-race/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colour My Dreams</title>
		<link>http://8bitmonster.co.uk/2010/11/22/colour-my-dreams/</link>
		<comments>http://8bitmonster.co.uk/2010/11/22/colour-my-dreams/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 22:38:46 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Flash Games]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Indie Gaming]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=57</guid>
		<description><![CDATA[It&#8217;s perhaps surprising how there&#8217;s so many Flash games that deal with the idea of melancholy and loneliness.  Given the number of highly-saturated tower-defence and match-threes around, they&#8217;re just not really the things that spring to mind.  But exist they do, and here&#8217;s one that I enjoyed recently, Colour My Dreams. CMD is a the [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s perhaps surprising how there&#8217;s so many Flash games that deal with the idea of melancholy and loneliness.  Given the number of highly-saturated tower-defence and match-threes around, they&#8217;re just not really the things that spring to mind.  But exist they do, and here&#8217;s one that I enjoyed recently, <a href="http://armorgames.com/play/4844/colour-my-dreams"><em>Colour My Dreams</em></a>.</p>
<p><a href="http://8bitmonster.co.uk/wp-content/uploads/2010/11/colour-my-dreams.png"><img class="aligncenter size-full wp-image-58" title="colour-my-dreams" src="http://8bitmonster.co.uk/wp-content/uploads/2010/11/colour-my-dreams.png" alt="" width="550" height="400" /></a></p>
<p><em>CMD</em> is a the third hand-drawn explore-&#8217;em-up in a series from SilverStitch, continuing from <a href="http://armorgames.com/play/4790/colour-my-heart"><em>Colour My Heart</em></a> and <a href="http://armorgames.com/play/4726/colour-my-world"><em>Colour My World</em></a>, and their theme of love bringing about colour into a drab, monochrome world.  The artwork has opened out from the earlier games, settling into a detailed, hand-drawn style slightly reminiscent of Mateusz Skutnik&#8217;s <em><a href="http://www.pastelportal.com/stories/dmt/">Daymare Town</a> </em>series<em>. </em>Playing at least <em>Colour My World </em>first is recommended, as there is a general lack of instruction which I found made gameplay initially unfathomable.  (This is despite having played <em>CMW</em> many moons ago, which did give the player a better idea of what was required.)</p>
<p>The emphasis seems to be on taking in the small world, although there are a couple of puzzles which drive the narrative forward.  I didn&#8217;t feel these were as well signposted as they could have been, but they represent a change from the earlier games&#8217; more linear progression.  The story is less subtle this time around, though, and the puzzle payoffs consequently are satisfying enough.   Overall, the game is quite short and I wouldn&#8217;t expect you to require a second cup of tea &#8211; an ideal play for an autumn evening.</p>
<p>This isn&#8217;t actually my favourite in the <em>Colour My&#8230;</em> series &#8211; but more about that nearer Christmas.</p>
<p><a href="http://armorgames.com/play/4844/colour-my-dreams">Colour My Dreams</a> on Armor Games.</p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2010/11/22/colour-my-dreams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Small Worlds</title>
		<link>http://8bitmonster.co.uk/2009/10/25/small-worlds/</link>
		<comments>http://8bitmonster.co.uk/2009/10/25/small-worlds/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 17:11:01 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Flash Games]]></category>
		<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=51</guid>
		<description><![CDATA[Jay Is Games are having a Casual Gameplay competition based on the word &#8220;Explore&#8221;, and one of the entries is the really rather magical Small Worlds. The exploratory theme is addressed brilliantly with a twist on the Strider-style &#8220;room-reveal&#8221; platforming that I&#8217;ve never seen before, but I don&#8217;t really want to spoil the wonderful idea, [...]]]></description>
			<content:encoded><![CDATA[<p>Jay Is Games are having a Casual Gameplay competition based on the word &#8220;Explore&#8221;, and one of the entries is the <a href="http://jayisgames.com/cgdc6/?gameID=9">really rather magical Small Worlds</a>.</p>
<p>The exploratory theme is addressed brilliantly with a twist on the Strider-style &#8220;room-reveal&#8221; platforming that I&#8217;ve never seen before, but I don&#8217;t really want to spoil the wonderful idea, so I&#8217;ll tempt instead  with a screenshot of 1/3 of the way through one of the later levels.  The graphics and music are an excellent and consistent fit, and despite some people complaining of control problems, I&#8217;ve had none.</p>
<p><a href="http://jayisgames.com/cgdc6/?gameID=9">Go play.</a></p>
<p><img class="aligncenter size-full wp-image-52" title="SmallWorlds" src="http://8bitmonster.co.uk/wp-content/uploads/2009/10/SmallWorlds.jpg" alt="SmallWorlds" width="595" height="531" /></p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2009/10/25/small-worlds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Necktie</title>
		<link>http://8bitmonster.co.uk/2009/10/05/the-necktie/</link>
		<comments>http://8bitmonster.co.uk/2009/10/05/the-necktie/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 21:43:31 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Indie Gaming]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=47</guid>
		<description><![CDATA[The Necktie is an interesting one.  Stylistically it&#8217;s excellent &#8211; the limited palette conveys an urgent atmosphere and the geometric lighting and shading is an atmospheric touch.  Gameplay is a mixed bag &#8211; the movement is extremely slippery a la Jumpman &#8212; strange for a game that&#8217;s about accurate shooting and not spatial challenges.  There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://goldenfish.robosquid.com/games/the_necktie/">The Necktie</a> is an interesting one.  Stylistically it&#8217;s excellent &#8211; the limited palette conveys an urgent atmosphere and the geometric lighting and shading is an atmospheric touch.  Gameplay is a mixed bag &#8211; the movement is extremely slippery a la <a href="http://runhello.com">Jumpman</a> &#8212; strange for a game that&#8217;s about accurate shooting and not spatial challenges.  There&#8217;s not much difficulty there either &#8211; the floaty physics enable you to run past most enemies to the exit first time.</p>
<p><img class="aligncenter size-full wp-image-48" title="thenecktie" src="http://8bitmonster.co.uk/wp-content/uploads/2009/10/thenecktie.png" alt="thenecktie" width="511" height="376" /></p>
<p>One to watch, though &#8211; it looks striking, and remains work-in-progress &#8211; the <a href="http://forums.tigsource.com/index.php?topic=8103.0">author says they&#8217;ll be &#8220;fixing up&#8221; some stuff soon</a>.</p>
<p><span style="color: #888888;">Via the all-knowing <a href="http://forums.tigsource.com">TIGSource forums</a>.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2009/10/05/the-necktie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finwick</title>
		<link>http://8bitmonster.co.uk/2009/10/03/finwick/</link>
		<comments>http://8bitmonster.co.uk/2009/10/03/finwick/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 21:25:08 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Flash Games]]></category>
		<category><![CDATA[Indie Gaming]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=43</guid>
		<description><![CDATA[I do like a good platform game, and every so often a clutch turn up now and then. One of the current run is Finwick by Small Green Hill. Now, I&#8217;ll be upfront and say that the story plods a little, the platforming isn&#8217;t overly original &#8211; your usual rolling rocks, switches and buttons are [...]]]></description>
			<content:encoded><![CDATA[<p>I do like a good platform game, and every so often a clutch turn up now and then.  One of the current run is <a href="http://www.smallgreenhill.com/games/finwick/">Finwick</a> by <a href="http://www.smallgreenhill.com/">Small Green Hill</a>.</p>
<p><img class="alignnone size-full wp-image-44" title="finwick" src="http://8bitmonster.co.uk/wp-content/uploads/2009/10/finwick.jpg" alt="finwick" width="600" height="250" /></p>
<p>Now, I&#8217;ll be upfront and say that the story plods a little, the platforming isn&#8217;t overly original &#8211; your usual rolling rocks, switches and buttons are all in residence.  The tutorial seems overlong for a seasoned platformist like me and the puzzles aren&#8217;t at all complex.</p>
<p>But.  It is <em>gorgeous</em>.</p>
<p>If someone took a faint memory of <a href="http://amanita-design.net/samorost-1/">Samorost</a> as a starting point, and polished it up to a gleaming shine.  These are without doubt some of the best graphics I&#8217;ve seen in a Flash game to date.  It&#8217;s a beautiful world full of one-off touches, such as little characters going out about their daily business, and one-shot graphic effects that betrays this game as an obvious labour of love.  Fantastic stuff.</p>
<p>The first 26 levels are free, and another 50-odd are available for a reasonable price.  Recommended, especially to those who are a lot newer to the genre than I.</p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2009/10/03/finwick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Text Metrics</title>
		<link>http://8bitmonster.co.uk/2009/08/06/flash-text-metrics/</link>
		<comments>http://8bitmonster.co.uk/2009/08/06/flash-text-metrics/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 23:33:19 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Code]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=27</guid>
		<description><![CDATA[Might seem like an odd thing to start off a blog with, but hey &#8211; you&#8217;ve got to start somewhere. I&#8217;m no Flash rockstar, but this seemed like a pretty common usecase and had been bugging me for a while.  I needed to measure the size of some text before rendering it to the stage, [...]]]></description>
			<content:encoded><![CDATA[<p>Might seem like an odd thing to start off a blog with, but hey &#8211; you&#8217;ve got to start somewhere.  I&#8217;m no Flash rockstar, but this seemed like a pretty common usecase and had been bugging me for a while.  I needed to measure the size of some text before rendering it to the stage, in AS2.  There&#8217;s me thinking that using
<pre>TextFormat.getTextExtent()</pre>
<p> would give me a reliable figure.</p>
<p>It seems like a reasonable method of solving the problem: Measure the text, then do whatever you need with the result (fit your text to a box, for example.)  Unfortunately, it doesn&#8217;t really pan out.  The values returned in the Object you get back differ between Flash Player version, platform and browser.  Great!  Apparently some Mac player versions return the value in twips, and not pixels, too.</p>
<p>The strangest variation I found was that the same platform, browser and player gave different values depending on whether the font was installed or not, even though the font was embedded.  I&#8217;m guessing it&#8217;s possible that Flash could be using the metrics in the installed font if available, which are correct, whereas the embedded ones are somehow wrong.  A theory that I have no hope of proving, but a theory nonetheless.  (I&#8217;ve had similar problems with sIFR before.)</p>
<p>The result wasn&#8217;t quite as bad as just using</p>
<pre>Math.random()</pre>
<p>instead, but it&#8217;s getting that way.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="actionscript"><span style="color: #808080; font-style: italic;">// Returns values incorrect by ~10% varying</span>
<span style="color: #808080; font-style: italic;">// between platform and browser</span>
aTextField.<span style="color: #0066CC;">getTextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">getTextExtent</span>.<span style="color: #0066CC;">width</span>;</pre></td></tr></table></div>

<p>At this point I was considering refactoring the project to use AS3, which has a</p>
<pre>getTextLineMetrics()</pre>
<p>method which I hoped would fix everything.  But that would require a fair amount of hassle, so I tried autosizing the TextField and measuring that.  It didn&#8217;t want to know, and soundly ignored any kind of sizing I tried to set.  Cheers.  However, I finally discovered non-obvious textWidth and textHeight properties of the textField, which seem to give the right values.  So the steps are to measure some text are:</p>
<ol>
<li>Create an invisible text field (or use an existing one) with the appropriate textFormat</li>
<li>Set the text in the field to the phrase to measure</li>
<li>Use textWidth and textHeight to get the dimensions you need</li>
</ol>
<p>And finally, some (untested) AS2 code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="actionscript"><span style="color: #808080; font-style: italic;">// Assumes textField with instance name 'field' on the stage</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> field:<span style="color: #0066CC;">TextField</span>;
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">textFormat</span>:<span style="color: #0066CC;">TextFormat</span>;
<span style="color: #0066CC;">textFormat</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Verdana&quot;</span>, <span style="color: #cc66cc;">16</span>, 0xffffff<span style="color: #66cc66;">&#41;</span>;
&nbsp;
field.<span style="color: #0066CC;">setTextFormat</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">textFormat</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
field.<span style="color: #006600;">setText</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;I am the ruler of measuring text&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Width of text is: &quot;</span> + field.<span style="color: #0066CC;">textWidth</span> + <span style="color: #ff0000;">&quot;, and height is: &quot;</span>  
+ field.<span style="color: #0066CC;">textHeight</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>You get the idea.  Until next time&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2009/08/06/flash-text-metrics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>0 OK, 0:1</title>
		<link>http://8bitmonster.co.uk/2009/05/06/0-ok-01/</link>
		<comments>http://8bitmonster.co.uk/2009/05/06/0-ok-01/#comments</comments>
		<pubDate>Wed, 06 May 2009 20:04:16 +0000</pubDate>
		<dc:creator>8bitmonster</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://8bitmonster.co.uk/?p=24</guid>
		<description><![CDATA[Welcome to the home of 8bitmonster.  Now:]]></description>
			<content:encoded><![CDATA[<p>Welcome to the home of 8bitmonster.  Now:</p>
<p style="text-align: center;"><img class="size-full wp-image-23 aligncenter" title="gotoyourroom" src="http://8bitmonster.co.uk/wp-content/uploads/2009/05/gotoyourroom.png" alt="gotoyourroom" width="500" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://8bitmonster.co.uk/2009/05/06/0-ok-01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
