<?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"
	>

<channel>
	<title>FrozenHaddock</title>
	<atom:link href="http://frozenhaddock.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://frozenhaddock.co.uk</link>
	<description>Flash Games, Tutorials and Resources</description>
	<pubDate>Sun, 24 Aug 2008 02:30:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Going away once more&#8230;</title>
		<link>http://frozenhaddock.co.uk/2008/08/going-away-once-more/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/going-away-once-more/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 02:30:01 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[FrozenHaddock]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=138</guid>
		<description><![CDATA[I shall be back late Thursday (BST)
I&#8217;ll be answering comments until Tuesday (I&#8217;ll have net access, but no Flash &#8217;till then) and then no access at all until I return.
This time I&#8217;m going away purely to SFZero, so I&#8217;ll have some shenanigans to post up when I return.
I -might- write some content whilst I&#8217;m away, [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>I shall be back late Thursday (BST)</p>
<p>I&#8217;ll be answering comments until Tuesday (I&#8217;ll have net access, but no Flash &#8217;till then) and then no access at all until I return.</p>
<p>This time I&#8217;m going away purely to <a title="SFZero" href="http://www.sf0.org" target="_blank">SFZero</a>, so I&#8217;ll have some shenanigans to post up when I return.</p>
<p>I -might- write some content whilst I&#8217;m away, but it&#8217;s doubtful. You know how lazy I am! If anyone has anything they think is interesting and Flash related, email me at alternateaccout[AT]frozenhaddock.co.uk and I&#8217;ll glady post it up with credit and links, etc.</p>
<p>See you on Thursday!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;title=Going away once more&#8230;' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;title=Going away once more&#8230;' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;title=Going away once more&#8230;' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;title=Going away once more&#8230;' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;title=Going away once more&#8230;' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;t=Going away once more&#8230;' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Going away once more&#8230;&amp;uri=http://frozenhaddock.co.uk/2008/08/going-away-once-more/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/going-away-once-more/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/going-away-once-more/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Just a quick post to reccomend&#8230;</title>
		<link>http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:00:37 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=136</guid>
		<description><![CDATA[MrSunStudios
Now, I&#8217;m sure you all check back everyday there already, don&#8217;t you? If not, you should do!
As an example of the excellent writing, here are the first 5 compiled articles on improving your Flash game development:

When to Use Storylines in Flash Games
 34 Tips on Getting your Flash Game Sponsored
 Efficient Flash Game Development
 50 [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p><a href="http://www.mrsunstudios.com">MrSunStudios</a></p>
<p>Now, I&#8217;m sure you all check back everyday there already, don&#8217;t you? If not, you should do!</p>
<p>As an example of the excellent writing, here are the first 5 compiled articles on improving your Flash game development:</p>
<ol>
<li><a href="http://www.mrsunstudios.com/2008/07/when-to-use-storylines-in-flash-games/">When to Use Storylines in Flash Games</a></li>
<li> <a title="Go to 34 Tips on Getting your Flash Game Sponsored" rel="bookmark" href="http://www.mrsunstudios.com/2008/08/2008/07/34-tips-on-getting-your-flash-game-sponsored/">34 Tips on Getting your Flash Game Sponsored</a></li>
<li> <a title="Go to Efficient Flash Game Development" rel="bookmark" href="http://www.mrsunstudios.com/2008/08/2008/07/efficient-flash-game-development/">Efficient Flash Game Development</a></li>
<li> <a title="Go to 50 Ways to Make Us HATE Your Flash Game" rel="bookmark" href="http://www.mrsunstudios.com/2008/08/2008/07/50-ways-to-make-us-hate-your-flash-game/">50 Ways to Make Us HATE Your Flash Game</a></li>
<li> <a title="Go to Resources to Learn ActionScript for Beginners" rel="bookmark" href="http://www.mrsunstudios.com/2008/08/2008/07/resources-to-learn-actionscript-for-beginners/">Resources to Learn ActionScript for Beginners</a></li>
</ol>
<p>If that doesn&#8217;t get you reading, and it should, <a href="http://www.mrsunstudios.com/2008/08/15-tips-on-improving-your-flash-games/" target="_blank">here&#8217;s the rest of the list</a>.</p>
<p>Happy reading!</p>
<p>(Apologies, but someone who <em>was</em> going to write content, hasn&#8217;t. I figured this was better than nothing)</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;title=Just a quick post to reccomend&#8230;' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;title=Just a quick post to reccomend&#8230;' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;title=Just a quick post to reccomend&#8230;' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;title=Just a quick post to reccomend&#8230;' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;title=Just a quick post to reccomend&#8230;' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;t=Just a quick post to reccomend&#8230;' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Just a quick post to reccomend&#8230;&amp;uri=http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/just-a-quick-post-to-reccomend/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Prox: My Avoiding game.</title>
		<link>http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 11:00:55 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[FrozenHaddock]]></category>

		<category><![CDATA[Games]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=131</guid>
		<description><![CDATA[Well, whilst you&#8217;ve all been a&#8217;following our tutorials on creating an avoiding game, I&#8217;ve been hard at work developing my own&#8230;. Prox, short for Proximity. An avoiding game which is vastly different to the one created with the tutorial, and is an example of taking a tutorial and running with it, to create your own [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Well, whilst you&#8217;ve all been a&#8217;following our tutorials on <a title="Avoiding game pt.1" href="http://frozenhaddock.co.uk/2008/06/how-to-make-a-simple-avoiding-game/" target="_blank">creating</a> an <a title="Avoiding game part 2" href="http://frozenhaddock.co.uk/2008/07/building-on-the-avoiding-game-avoiding-game-pt2/" target="_blank">avoiding</a> <a title="Avoiding game pt.3" href="http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/" target="_blank">game</a>, I&#8217;ve been hard at work developing my own&#8230;. Prox, short for Proximity. An avoiding game which is vastly different to the one created with the tutorial, and is an example of taking a tutorial and running with it, to create your own game.</p>
<p>Anyway, here&#8217;s a little preview screenshot:</p>
<div id="attachment_133" class="wp-caption aligncenter" style="width: 410px"><a href="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_02-aug-18-2032.gif"><img class="size-full wp-image-133" title="Prox preview" src="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_02-aug-18-2032.gif" alt="Prox preview" width="400" height="400" /></a><p class="wp-caption-text">Prox preview</p></div>
<p>The game is all done and dusted, but it&#8217;s been sponsored, and I&#8217;m just finalising all of that. Keep your eyes peeled for it!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;title=Prox: My Avoiding game.' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;title=Prox: My Avoiding game.' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;title=Prox: My Avoiding game.' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;title=Prox: My Avoiding game.' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;title=Prox: My Avoiding game.' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;t=Prox: My Avoiding game.' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Prox: My Avoiding game.&amp;uri=http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/prox-my-avoiding-game/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Advancing the avoiding game (Avoiding game Pt.3)</title>
		<link>http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 19:18:28 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=89</guid>
		<description><![CDATA[Remember to read parts one and two first!
Welcome to part the third of this series of tutorials on creating an avoiding game, I hope all is well so far with your games (remember, I reply to comments and emails if I can!) and we&#8217;re ready to advance the game slightly more. In this segment of [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Remember to read parts <a title="Pt 1" href="http://frozenhaddock.co.uk/2008/06/how-to-make-a-simple-avoiding-game/" target="_blank">one</a> and <a title="Pt 2" href="http://frozenhaddock.co.uk/2008/07/building-on-the-avoiding-game-avoiding-game-pt2/" target="_blank">two</a> first!</p>
<p>Welcome to part the third of this series of tutorials on creating an avoiding game, I hope all is well so far with your games (remember, I reply to comments and emails if I can!) and we&#8217;re ready to advance the game slightly more. In this segment of the tutorial, I&#8217;ll show you how to control the number of enemies dynamically with a variable on the frame. Here&#8217;s what you should end up with at the end of this tutorial:</p>
<p class="style3" align="left"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/avoidinggamept3.swf" /><embed type="application/x-shockwave-flash" width="300" height="300" src="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/avoidinggamept3.swf" quality="high"></embed></object></p>
<h2>Dynamicisising (totally should be a word)</h2>
<p>So, first of all I&#8217;ll show you how to make your enemies dynamic. That is, you can control the hordes with a numerical variable, this means you can make your game progressively harder, which in turn makes your game more challenging. And a challenge is more fun, right? It also adds variety, which is good to stop your game becoming boring.</p>
<p>Now, the thing to grasp here is that the enemies will be placed on the stage with Actionscript, and therefore you do not need them onstage to begin. So, the first step is to select your enemies and delete them. Then, hit CTRL+L to open the library (If it isn&#8217;t already open). Here you need to hunt down your enemy movie clip, right click it and hit Linkage. Then check &#8216;Export for Actionscript&#8217; and type &#8216;enemy&#8217; into your identifier field.</p>
<div id="attachment_126" class="wp-caption aligncenter" style="width: 560px"><a href="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_01-aug-18-1926.gif"><img class="size-medium wp-image-126" title="Linkage Identifier" src="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_01-aug-18-1926-550x284.gif" alt="Linkage Identifier" width="550" height="284" /></a><p class="wp-caption-text">Linkage Identifier</p></div>
<p>Then, open the actions for your frame and delete them (if you have been following the tutorial to the letter, if you have added extra things in be careful what you delete) and paste these actions in:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">stop</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">clock = <span class="nu0">0</span>;</div>
</li>
<li class="li1">
<div class="de1">lives = <span class="nu0">3</span>;</div>
</li>
<li class="li1">
<div class="de1">score = <span class="nu0">0</span>;</div>
</li>
<li class="li2">
<div class="de2">enemies = <span class="nu0">4</span>;</div>
</li>
<li class="li1">
<div class="de1">enemiesonstage=<span class="nu0">0</span>;</div>
</li>
<li class="li1">
<div class="de1">timer = <span class="kw2">function</span> <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; clock += <span class="nu0">1</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw3">onEnterFrame</span>=<span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span> <span class="br0">&#40;</span>enemiesonstage&lt;enemies<span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> enemy:<span class="kw3">MovieClip</span> = <span class="kw3">attachMovie</span><span class="br0">&#40;</span><span class="st0">&quot;enemy&quot;</span>, <span class="st0">&quot;enemy&quot;</span>+enemiesonstage, <span class="kw3">_root</span>.<span class="kw3">getNextHighestDepth</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; enemiesonstage += <span class="nu0">1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; enemy.<span class="kw3">_x</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">300</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; enemy.<span class="kw3">_y</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">-50</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; enemy.<span class="me1">speed</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">7</span><span class="br0">&#41;</span><span class="nu0">+1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; enemy.<span class="kw3">onEnterFrame</span> = <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">_y</span> += <span class="kw3">this</span>.<span class="me1">speed</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw3">this</span>.<span class="me1">hit</span>.<span class="kw3">hitTest</span><span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="me1">player</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="me1">lives</span>&gt;=<span class="nu0">1</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">_x</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">300</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">_y</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">-50</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">speed</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">7</span><span class="br0">&#41;</span><span class="nu0">+1</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">_root</span>.<span class="me1">lives</span> -= <span class="nu0">1</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="me1">lives</span>&lt;=<span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">_root</span>.<span class="kw3">gotoAndStop</span><span class="br0">&#40;</span><span class="nu0">3</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">removeMovieClip</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><span class="kw3">this</span>._y&gt;=<span class="nu0">310</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">_x</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">300</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="kw3">_y</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">-50</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">this</span>.<span class="me1">speed</span> = <span class="kw3">random</span><span class="br0">&#40;</span><span class="nu0">7</span><span class="br0">&#41;</span><span class="nu0">+1</span>;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>In these actions, we&#8217;ve moved from coding on Movieclips to coding on the frame. This is much better practice, easier to see all of your code in one place, and will help you prepare for the frame/external files only strictness of AS3. In a later tutorial I&#8217;ll show you how to convert the majority of the actionscript in this tutorial to frame coding (apologies for not doing so in the first place, but it&#8217;s much easier to learn the other way). Now to explain it!</p>
<p>The variable we&#8217;ve added at the start, &#8216;enemies&#8217;, controls how many enemies are onstage. You can change this ingame (for example, using the timer to add one every 5 seconds) The &#8216;enemiesonstage&#8217; variable tells the game how many are currently onstage so it can know when to add more.</p>
<p>Then we open the onEnterFrame function, this acts as the equivalent to onClipEvent(enterFrame). The if test inside it then checks if enemiesonstage is less than enemies. If it is, it adds an enemy to the stage.</p>
<p>Now we get to the good part, the attaching of the enemies to the stage. The first part in quotemarks is the linkage name we gave it earlier, and the next part is the new instance name, in this case it&#8217;s enemy plus the current value of enemiesonstage. This ensures each enemy has a unique instance name. The last part of this line defines the depth of the movie clip, set to next highest for ease of use.</p>
<p>Now we set the enemy&#8217;s actions to be run on it&#8217;s load. By setting the attached Movieclip as the variable enemy, we can add these easily.</p>
<p>Now we have to add the enterFrame actions for the enemy, these are the same as the actions that were on it before, except I increased the speed a little (adjust to preference) and all variables that are on the movieclip must have this. before them now, as unprefixed variables reference the root timeline.</p>
<p>Test your movie and see how it works!</p>
<h2>Changing the variable ingame</h2>
<p>Now I&#8217;ll show you how to set it up so every 5 seconds your game adds an extra enemy to the stage. To do this we&#8217;re simply going to setup another timing function that runs every 5 seconds.</p>
<p>Now, go to your player&#8217;s character and open it&#8217;s actions panel. This should be where you added the function to time the game. You merely have to create a second interval that will run a function every 5 seconds.</p>
<div id="attachment_127" class="wp-caption aligncenter" style="width: 535px"><a href="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_02-aug-18-1957.gif"><img class="size-medium wp-image-127" title="New interval" src="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_02-aug-18-1957.gif" alt="New interval" width="525" height="203" /></a><p class="wp-caption-text">New interval</p></div>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">onClipEvent</span> <span class="br0">&#40;</span><span class="kw3">load</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">_root</span>.<span class="me1">timeclock</span> = <span class="kw3">setInterval</span><span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="me1">timer</span>, <span class="nu0">1000</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">_root</span>.<span class="me1">enemyclock</span> = <span class="kw3">setInterval</span><span class="br0">&#40;</span><span class="kw3">_root</span>.<span class="me1">enemytimer</span>, <span class="nu0">5000</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Now we must go back to the frame actions to add the enemytimer function. This is extremely similar to the timer function.</p>
<div id="attachment_128" class="wp-caption aligncenter" style="width: 262px"><a href="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_03-aug-18-2008.gif"><img class="size-medium wp-image-128" title="Enemytimer" src="http://frozenhaddock.co.uk/wp-content/uploads/2008/08/screenhunter_03-aug-18-2008.gif" alt="Enemytimer" width="252" height="115" /></a><p class="wp-caption-text">Enemytimer</p></div>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">enemytimer = <span class="kw2">function</span> <span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">enemies += <span class="nu0">1</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span>;</div>
</li>
</ol>
</div>
<p>Finally, we must clear the interval on gameover. So go to your gameover frame and open up it&#8217;s actions panel, where you&#8217;ll find where we cleared the timer interval last tutorial. We just have to add one in for enemyclock.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">clearInterval</span><span class="br0">&#40;</span>enemyclock<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>And that should make your enemies increase every 5 seconds, test your movie and check it out!</p>
<p>That concludes this portion of the avoiding game tutorial, click <a title="Avoiding game part 2 by FrozenHaddock.co.uk" href="http://www.frozenhaddock.co.uk/tutfiles/avoidingamept3.fla" target="_blank">here</a> to grab the source. As always, if you have any problems, requests or suggestions post them in the comments below or email me at alternateaccount[AT]frozenhaddock.co.uk</p>
<p>Thanks for reading!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;title=Advancing the avoiding game (Avoiding game Pt.3)' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;title=Advancing the avoiding game (Avoiding game Pt.3)' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;title=Advancing the avoiding game (Avoiding game Pt.3)' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;title=Advancing the avoiding game (Avoiding game Pt.3)' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;title=Advancing the avoiding game (Avoiding game Pt.3)' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;t=Advancing the avoiding game (Avoiding game Pt.3)' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Advancing the avoiding game (Avoiding game Pt.3)&amp;uri=http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/ecadvancing-the-avoiding-game-avoiding-game-pt3/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Let&#8217;s monetise!</title>
		<link>http://frozenhaddock.co.uk/2008/08/lets-monetise/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/lets-monetise/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:25:58 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=116</guid>
		<description><![CDATA[So, you think you&#8217;ve got a pretty decent game on your hands, what next? Release it and smile at rankings and comments? Or make a bit of cash out of it? I thought that might interest you&#8230;
Well, let&#8217;s have a look at ways of monetising your Flash games, and some useful links.
Sponsorship
This is very much [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>So, you think you&#8217;ve got a pretty decent game on your hands, what next? Release it and smile at rankings and comments? Or make a bit of cash out of it? I thought that might interest you&#8230;</p>
<p>Well, let&#8217;s have a look at ways of monetising your Flash games, and some useful links.</p>
<h3>Sponsorship</h3>
<p>This is very much a path to take if you want instant moneys, and be over and done with. Of course, it requires a fairly decent game, and an interested sponsor. In the past to get a sponsorship you had to email portal after portal asking if they were interested, and that can still be done, but now your life is easier! If you haven&#8217;t heard of it already (where have you been living, mars?) then go and signup for <a title="FGL" href="http://www.flashgamelicense.com" target="_blank">FlashGameLicense</a> now! A handy site designed to pair sponsor and game, without any hassle. Another handy link is the the <a title="Big ol' list of sponsors" href="http://freelanceflashgames.com/news/2008/07/28/the-big-list-of-sponsors/" target="_blank">big ol&#8217; list of sponsors from FreeLance Flash Games</a>, if you plan on sending individual emails. For more information on Sponsorships, visit <a title="FlashGameSponsorship" href="http://www.flashgamesponsorship.com/" target="_blank">FlashGameSponsorship</a>.</p>
<h3>Ingame ads</h3>
<p>Now, there are a lot of ingame ad services, but the most well known (in my opinion) would be <a title="Mochiads" href="https://www.mochiads.com/r/9c707dda8e9fee51">Mochiads</a> and <a title="GameJacket" href="http://www.gamejacket.com/">GameJacket</a>.<a href="http://psychogoldfish.newgrounds.com/news/post/112595"> Newgrounds</a> offer ads too, and there are some others which I cannot be bothered to find and link (forgive me!) because I&#8217;d recommend <a title="Mochiads" href="https://www.mochiads.com/r/9c707dda8e9fee51">Mochiads</a> straight away anyway (not having any experience in anything past the ones mentioned) This is an easy way to monetise your game if you can&#8217;t get a sponsor, and may be preferable to a sponsor if your game hits it big.</p>
<h3>Own site</h3>
<p>You could always put your game up on your own site, with google adsense, Kontera or any other website advertising scheme. You&#8217;ll need to be sure you have a lot of traffic for this one, but it may prove the most popular if your game is a hit and it&#8217;s &#8216;full version&#8217; is only available at your site. This is another way to make money from your games, by locking out users from certain features and making them pay for the full version. Currently, the game that springs to mind is <a href="http://www.fantasticcontraption.com">FantasticContraption</a>, a game which I&#8217;m sorely tempted to purchase.</p>
<h3>Selling non-exclusive liscenses</h3>
<p>Before you consider this option, which is a quick and easy way to make extra cash from a game, make sure it&#8217;s ok with your sponsor (if you have one). Again, FlashGameLiscense is a good place to look for people willing to buy these non-exclusives, and some places like <a href="http://hallpass.com/hallpassapi.html" target="_blank">Hallpass</a> are worth approaching individually to try and strike a deal.</p>
<h3>So there you have it</h3>
<p>A few ways you could monteise your Flash game and start making money for that hobby of yours!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;title=Let&#8217;s monetise!' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;title=Let&#8217;s monetise!' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;title=Let&#8217;s monetise!' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;title=Let&#8217;s monetise!' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;title=Let&#8217;s monetise!' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;t=Let&#8217;s monetise!' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Let&#8217;s monetise!&amp;uri=http://frozenhaddock.co.uk/2008/08/lets-monetise/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/lets-monetise/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/lets-monetise/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TriquiTips</title>
		<link>http://frozenhaddock.co.uk/2008/08/triquitips/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/triquitips/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 23:34:21 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=118</guid>
		<description><![CDATA[Just a quick post today, about an excellent little community started by none other than Emanuele Feronato. They&#8217;re a while range of people with varying skill levels and it&#8217;s a great place to find some help.
Go see.
NB: This post is not just because I&#8217;m now a moderator there or anything. Honest.
(really)
(Fine, don&#8217;t believe me&#8230;)
(Infact, DON&#8217;T [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Just a quick post today, about an excellent little community started by none other than <a title="Emanuele Feronato." href="http://www.emanueleferonato.com" target="_blank">Emanuele Feronato</a>. They&#8217;re a while range of people with varying skill levels and it&#8217;s a great place to find some help.</p>
<p><a title="TriquiTips" href="http://www.triquitips.com" target="_blank">Go see.</a></p>
<p>NB: This post is not just because I&#8217;m now a moderator there or anything. Honest.</p>
<p>(really)</p>
<p>(Fine, don&#8217;t believe me&#8230;)</p>
<p>(Infact, DON&#8217;T signup, DON&#8217;T get lots of help and advice!)</p>
<p>(Look at me, not caring about you not getting any help!)</p>
<p>(How&#8217;d you like THEM apples, eh?!)</p>
<p>(Yeah, I thought as much.)</p>
<p>(Yeah.)</p>
<p>(I showed you.)</p>
<p>(Now go signup.)</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;title=TriquiTips' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;title=TriquiTips' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;title=TriquiTips' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;title=TriquiTips' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;title=TriquiTips' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;t=TriquiTips' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=TriquiTips&amp;uri=http://frozenhaddock.co.uk/2008/08/triquitips/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/triquitips/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/triquitips/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sound control with Actionscript</title>
		<link>http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 11:00:47 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=112</guid>
		<description><![CDATA[<script type="text/javascript" src="http://frozenhaddock.co.uk/wp-includes/js/jquery/jquery.js"></script><script type="text/javascript" src="http://frozenhaddock.co.uk/wp-content/plugins/pb-embedflash/js/sbadapter/shadowbox-jquery.js"></script><script type="text/javascript" src="http://frozenhaddock.co.uk/wp-content/plugins/pb-embedflash/js/shadowbox.js"></script><script type="text/javascript"><!--
window.onload = function() {var options ={assetURL:'',loadingImage:'http://frozenhaddock.co.uk/wp-content/plugins/pb-embedflash/css/images/loading.gif',flvPlayer:'http://frozenhaddock.co.uk/wp-content/plugins/pb-embedflash/swf/mediaplayer.swf',animate:true,animSequence:'wh',overlayColor:'#000',overlayOpacity:0.85,overlayBgImage:'http://frozenhaddock.co.uk/wp-content/plugins/pb-embedflash/css/images/overlay-85.png',listenOverlay:true,autoplayMovies:true,showMovieControls:true,resizeDuration:0.35,fadeDuration:0.35,displayNav:true,continuous:false,displayCounter:true,counterType:'default',viewportPadding:20,handleLgImages:'resize',initialHeight:160,initialWidth:320,enableKeys:true,keysClose:['c', 'q', 27],keysPrev:['p', 37],keysNext:['n', 39],handleUnsupported:'',text: {cancel:'Cancel',loading: 'loading',close:'<span class="shortcut">C</span>lose',next:'<span class="shortcut">N</span>ext',prev:'<span class="shortcut">P</span>revious',errors:{single: 'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared: 'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either: 'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}}};Shadowbox.init(options);}
--></script>Have another oldie from Foundation-Flash, this could be useful for all of you building an avoiding game!
Hello and welcome. Today, we will be making (Please open the article to see the flash file or player.)  (speakers a necessity)
The first things you are going to need for this tutorial are the sounds, which I have [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p class="style3">Have another oldie from <a title="Foundation-Flash" href="http://www.foundation-flash.com" target="_blank">Foundation-Flash</a>, this could be useful for all of you building an avoiding game!</p>
<p class="style3">Hello and welcome. Today, we will be making <small>(Please open the article to see the flash file or player.)</small>  (speakers a necessity)</p>
<p class="style3">The first things you are going to need for this tutorial are the sounds, which I have thoughtfully uploaded. One of them is the <a href="http://www.frozenhaddock.co.uk/tutfiles/explosion_x.wav">short explosion sound</a>, and the other is the <a href="http://www.frozenhaddock.co.uk/tutfiles/background%20sound.mp3">background music</a> (I have used a different sound in the video tutorial). Thanks go to Lacrioso who has <a href="http://www.newgrounds.com/audio/view.php?id=1685294&amp;sub=82549">some excellent classical pieces</a> on Newgrounds. Once you have them, we can continue.</p>
<p class="style3">Before we can do anything, we need to import the sounds. To do this, select File &gt; Import &gt; Import to Library.Browse to one of the files ad press okay. Repeat for the next sound. You should see them appear on the library. Next you need yo lin them, and remember the names you linked them as (<a href="http://www.foundation-flash.com/video.php?f=linkage&amp;w=956&amp;h=683">see this</a> for more information)I named mine<em> explosion </em> and <em>background</em>, so they&#8217;re the names I will be using in a moment. We start with the bang! sound button (makes sure you create a button):</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">on</span><span class="br0">&#40;</span>release<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> mySound = <span class="kw2">new</span> <span class="kw3">Sound</span></div>
</li>
</ol>
</div>
<p class="style3">That means we create a new variable, in this case a sound object type variable. From now on our sound will be known as mySound. The next lines introduce us to some new functions, so underneath each I have explained how they work.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">mySound.<span class="kw3">attachSound</span><span class="br0">&#40;</span><span class="st0">&quot;explosion&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//soundVariable.attachSound(&quot;name defined in linkage&quot;);</span></div>
</li>
<li class="li1">
<div class="de1">mySound.<span class="kw3">start</span><span class="br0">&#40;</span><span class="nu0">0</span>,<span class="nu0">1</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//soundVariable.start(delay, number of times to loop)</span></div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p class="style3">The second, start() is, in this case, filled in with the default values. Hence for this one, we could have used mySound.start();. But we didn&#8217;t, because later we will want to use a different number of loops. That is for the background sound, which you want to loop 99 times (or more if need be). The background button is basically a copy of the bang button, with a couple of details changed:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">on</span><span class="br0">&#40;</span>release<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> mySound = <span class="kw2">new</span> <span class="kw3">Sound</span></div>
</li>
<li class="li1">
<div class="de1">mySound.<span class="kw3">attachSound</span><span class="br0">&#40;</span><span class="st0">&quot;background&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">mySound.<span class="kw3">start</span><span class="br0">&#40;</span><span class="nu0">0</span>,<span class="nu0">99</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p class="style3">There we go. The last part to this tutorial is, in effect, a temporary mute button, that stops all sounds currently playing. The code is quite simple:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">on</span><span class="br0">&#40;</span>release<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">stopAllSounds</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p class="style3">That is the most simple, effective code for getting some peace, but there are other ways, which we may explore in further tutorials. You can also watch the video version of this tutorial at Foundation-Flash.com</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;title=Sound control with Actionscript' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;title=Sound control with Actionscript' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;title=Sound control with Actionscript' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;title=Sound control with Actionscript' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;title=Sound control with Actionscript' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;t=Sound control with Actionscript' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Sound control with Actionscript&amp;uri=http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/sound-control-with-actionscript/feed/</wfw:commentRss>
<enclosure url="http://www.frozenhaddock.co.uk/tutfiles/explosion_x.wav" length="4230" type="audio/x-wav" />
<enclosure url="http://www.frozenhaddock.co.uk/tutfiles/background%20sound.mp3" length="798218" type="audio/mpeg" />
		</item>
		<item>
		<title>Flash tweening: Shape and Motion</title>
		<link>http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 05:26:57 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=110</guid>
		<description><![CDATA[Yep, another oldie for the newer developer. Learn how to use Flash's shape and motion tweening ability.

In this tutorial you will learn you to use flash's tweening techniques to create
smooth animation. There are two types of tweens, shape and motion tweening.
]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Yep, another oldie for the newer developer. Learn how to use Flash&#8217;s shape and motion tweening ability.</p>
<p align="left"><strong>FrozenHaddock Tutorials: Tweening </strong></p>
<p class="style3" align="left">In this tutorial you will learn you to use flash&#8217;s tweening techniques to create<br />
smooth animation. There are two types of tweens, shape and motion tweening.</p>
<p class="style3" align="left">First of all there are a few rules you&#8217;ll need to learn before you start tweening.<br />
First of all, you can only shape tween shapes, and motion tween movie clips.<br />
Secondly, everything on a shape tween layer is tweened, so keep things on<br />
several layers. Only one movie clip is allowed in one motion tween, for multiple<br />
motion tweens you need more than one layer.</p>
<p class="style10" align="left"><a id="shape" name="shape"></a>Shape Tweening</p>
<p class="style3" align="left">Right, lets start with the simpler of the tweens, the shape tween. This is mostly<br />
considered crude for advanced animation, but can produce a quick and easy<br />
effect when needed.</p>
<p class="style3" align="left">To start off you&#8217;ll need to draw something to shape tween.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_01%20Jul.%2008%2017.45.jpg" alt="smilyface" width="109" height="90" /></p>
<p class="style3" align="left">For the sake of this tutorial, I have drawn this face. Now, you&#8217;ll need to insert<br />
a new keyframe further along the timeline.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_02%20Jul.%2008%2017.45.jpg" alt="newkeyframe" width="509" height="352" /></p>
<p class="style3" align="left">Now on this frame, change the posistion and/or colours of your shape.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_03%20Jul.%2008%2017.46.jpg" alt="changedcolours" width="334" height="201" /></p>
<p class="style3" align="left">Now you need to select all the frames involved in the tween, open the properties<br />
bar and change the tween box to shape.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_04%20Jul.%2008%2017.46.jpg" alt="selecttheframes" width="387" height="631" /></p>
<p class="style3" align="left">Your frames should now look like this.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_05%20Jul.%2008%2017.46.jpg" alt="timelineshape" width="353" height="71" /></p>
<p class="style3" align="left">And your shape should now be smoothly changing colour, if you changed the<br />
posistion too, then it will move. However for smooth movement, a motion tween<br />
or motion guide are recommended.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_06%20Jul.%2008%2017.47.jpg" alt="shapetween1" width="374" height="498" /><br />
<img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_07%20Jul.%2008%2017.47.jpg" alt="shapefinished" width="397" height="254" /></p>
<p class="style3" align="left">There, a nice, quick and easy to make effect for use on basic animation projects.<br />
Now lets move onto Motion tweens.</p>
<p class="style10" align="left"><a id="motion" name="motion"></a>Motion Tweening</p>
<p class="style3" align="left">Motion tweening is much more advanced than shape tweening, and has a lot<br />
more rules associated with it. However, these are useful, as there is much<br />
more you can do with one of these tweens.</p>
<p class="style3" align="left">Firstly, again, you will need to draw the thing to tween. I have used the same<br />
face as in the shape tweening tut.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_08%20Jul.%2008%2017.47.jpg" alt="motiontween" width="93" height="88" /></p>
<p class="style3" align="left">This time you will need to convert this shape into a movie clip. To do this, select<br />
the shape, and hit F8. Make sure you select Movie Clip under the behaviour.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_09%20Jul.%2008%2017.47.jpg" alt="convert to movie clip" width="492" height="224" /></p>
<p class="style3" align="left">Now it is converted, It should show a blue square around it when selected.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_10%20Jul.%2008%2017.48.jpg" alt="converted" width="109" height="95" /></p>
<p class="style3" align="left">Now, as in the shape tween, insert a keyframe further along the timeline. Here<br />
I have inserted it on 20.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_11%20Jul.%2008%2017.48.jpg" alt="keyframe further along" width="521" height="352" /></p>
<p class="style3" align="left">On this new Keyframe, you need to move your movie clip to another posistion.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_12%20Jul.%2008%2017.48.jpg" alt="movement" width="477" height="337" /></p>
<p class="style3" align="left">Now, select your frames, right click, and select create motion tween.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_13%20Jul.%2008%2017.48.jpg" alt="createmotiontween" width="512" height="351" /></p>
<p class="style3" align="left">Your timeline should now look like this.</p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_14%20Jul.%2008%2017.48.jpg" alt="timelinemotion" width="355" height="100" /></p>
<p class="style3" align="left"><img src="http://www.frozenhaddock.co.uk/tutorials/tweening/images/ScreenHunter_15%20Jul.%2008%2017.49.jpg" alt="motiontween" width="503" height="603" /></p>
<p class="style3" align="left">You should now have a nice clean movement. Note, we did this with movement,<br />
but you can use things like rotation, alpha, size, tint and flash 8+ filters. These<br />
are very useful.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;title=Flash tweening: Shape and Motion' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;title=Flash tweening: Shape and Motion' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;title=Flash tweening: Shape and Motion' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;title=Flash tweening: Shape and Motion' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;title=Flash tweening: Shape and Motion' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;t=Flash tweening: Shape and Motion' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Flash tweening: Shape and Motion&amp;uri=http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/flash-tweening-shape-and-motion/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding polish to games pt2</title>
		<link>http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/</link>
		<comments>http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 04:34:34 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Games]]></category>

		<category><![CDATA[add]]></category>

		<category><![CDATA[adding]]></category>

		<category><![CDATA[FrozenHaddock]]></category>

		<category><![CDATA[game]]></category>

		<category><![CDATA[polish]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=106</guid>
		<description><![CDATA[So, the last one was good an&#8217; fun, so let&#8217;s have another crack at adding some polish to your games. Remember, polish can make a good game, great, and a lame game, not too bad. So it&#8217;s worth doing y&#8217;know!
Navigation
Fancy pants navigation systems are shiny. You know it&#8217;s true. So instead of a bog-standard button [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>So, the last one was good an&#8217; fun, so let&#8217;s have another crack at adding some polish to your games. Remember, polish can make a good game, great, and a lame game, not too bad. So it&#8217;s worth doing y&#8217;know!</p>
<h2>Navigation</h2>
<p>Fancy pants navigation systems are shiny. You know it&#8217;s true. So instead of a bog-standard button menu, go nuts! Hunt out some fancy menus, and get designing! Try experimenting. Menus, are the first impression players will get (minus preloader, if it&#8217;s a custom one) so try to make it count.</p>
<p>Here&#8217;s a nice page to get you started with <a title="Animated buttons" href="http://www.genericwebaddress.com/articles-flash/animated-movie-clip-buttons-tutorial" target="_blank">animated buttons</a>, and here is a cool <a title="Swing in Menu" href="http://www.webwasp.co.uk/tutorials/b04-menu-swing/index.php" target="_blank">swing-in menu</a>, just some examples of what <em>you</em> could be doing with your navigation ingame!</p>
<h2>Sounds and Music</h2>
<p>Sounds and music add a lot to your games! Be it a simple background loop, or a piece of professionally made music, your game just <em>feels</em> better. Here&#8217;s a nice tutorial on <a title="Attaching sound" href="http://forums.flashgods.org/sound-objects-as2-t86.html">attaching sound</a> using AS2, and you can find various <a title="Sound effects" href="http://www.flashkit.com/soundfx/" target="_blank">sound effects</a> and <a title="Loops" href="http://www.flashkit.com/loops/" target="_blank">loops</a> over at FlashKit.</p>
<p>Another useful reference is <a title="Making your loops, loop." href="http://www.flashgamelicense.com/view_thread.php?thread_id=1658&amp;last_read_post_id=9170" target="_blank">this tutorial</a> (Requires FGL account with at least one game uploaded) by Porter, on making your loops, loop right.</p>
<h2>Add a mute button!!</h2>
<p>And other various options for us to set and fiddle about with! We like the options, even if we rarely use them (we use a few a lot, but y&#8217;know, options are fun!). This includes things like a quality toggle, Music/SFX toggle and perhaps some specialised graphics options. Being able to set our own controls is handy too, but not particularly nessecary. The way to implement these in your games will vary depending per case, but a general mute button could go something like this:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">on</span><span class="br0">&#40;</span>release<span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">if</span><span class="br0">&#40;</span>soundon==<span class="nu0">1</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">stopAllSounds</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">soundon==<span class="nu0">0</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">//code to attach your music</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>With soundon=1; somewhere on your first frame. You don&#8217;t have to do it this way, you could use a toggle key, or anything. It&#8217;s up to you, just remember, we like choices!</p>
<h2>Filter Effects</h2>
<p>If you don&#8217;t have a natural artistic ability, or the abiliy/desire to hire a professional artist, try adding some filter effects (Flash 8+) for a nice and easy way to add some graphical flair to your game. Just remember, too many filters will slow your game down, and may annoy players. Just, don&#8217;t go overboard!</p>
<p>Here&#8217;s a nice tutorial on <a title="Using Filters" href="http://www.webwasp.co.uk/tutorials/037/index.php" target="_blank">using filters</a>, here&#8217;s a downloadable resource of <a title="Text-Effects" href="http://weblog.motion-graphics.org/archives/2005/09/flash_8_filters_1.html" target="_blank">text effects</a> and here&#8217;s a handy resource on <a title="Applying filters using Actionscript" href="http://www.peachpit.com/guides/content.aspx?g=flash&amp;seqNum=341" target="_blank">applying filters using Actionscript</a>.</p>
<h2>Remember the list to avoid?</h2>
<p>Well here&#8217;s <a title="Awesome list!" href="http://www.mrsunstudios.com/2008/08/50-ways-to-make-us-love-your-flash-game/">a list to print out, pin to the wall and make continued references to!</a></p>
<p>(I edited into the last post, but it&#8217;s important y&#8217;see!)</p>
<p>Well, that concludes the second adding polish post, as always if you have any tips or tricks that you&#8217;d like to share, comment below and I&#8217;ll start compiling a part 3!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;title=Adding polish to games pt2' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;title=Adding polish to games pt2' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;title=Adding polish to games pt2' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;title=Adding polish to games pt2' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;title=Adding polish to games pt2' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;t=Adding polish to games pt2' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Adding polish to games pt2&amp;uri=http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/08/adding-polish-to-games-pt2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to create a Simple Maze game (Preview)</title>
		<link>http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/</link>
		<comments>http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 17:02:51 +0000</pubDate>
		<dc:creator>Tazzydevil XIII</dc:creator>
		
		<category><![CDATA[Engines]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Game Concepts]]></category>

		<guid isPermaLink="false">http://frozenhaddock.co.uk/?p=93</guid>
		<description><![CDATA[So yeah, I&#8217;m being lazy. I know, I know. I&#8217;m partway through writing Avoiding Game pt3, so there! I am doing something! Just&#8230; not much. So here&#8217;s a quick engine for you to play around with while I write up a tutorial to go alongside it. If you have anything you&#8217;d like to add, comment [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>So yeah, I&#8217;m being lazy. I know, I know. I&#8217;m partway through writing Avoiding Game pt3, so there! I am doing <em>something!</em> Just&#8230; not much. So here&#8217;s a quick engine for you to play around with while I write up a tutorial to go alongside it. If you have anything you&#8217;d like to add, comment and I&#8217;ll see what I can do.</p>
<p><small>(Please open the article to see the flash file or player.)</small></code></p>
<p><a href="http://frozenhaddock.co.uk/wp-content/uploads/2008/07/simplemazegame.fla">And clicky here to grab the source.</a></p>
<p>Have a play and see what you can come up with, and keep poking me to write the tutorial. You know I&#8217;ll forget!</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Bookmark and Share</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;title=How to create a Simple Maze game (Preview)' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us] ' /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;title=How to create a Simple Maze game (Preview)' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg] ' /></a> <a href='http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;title=How to create a Simple Maze game (Preview)' title='Save to Google Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/google.png' style='width:16px; height:16px;' alt='[Google] ' /></a> <a href='http://www.stumbleupon.com/submit?url=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;title=How to create a Simple Maze game (Preview)' title='Stumble It!' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png' style='width:16px; height:16px;' alt='[StumbleUpon] ' /></a> <a href='https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;url=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;title=How to create a Simple Maze game (Preview)' title='Save to Windows Live' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/windowslive.png' style='width:16px; height:16px;' alt='[Windows Live] ' /></a> <a href='http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;u=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;t=How to create a Simple Maze game (Preview)' title='Save to Yahoo! Bookmarks' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/yahoo.png' style='width:16px; height:16px;' alt='[Yahoo!] ' /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=How to create a Simple Maze game (Preview)&amp;uri=http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://frozenhaddock.co.uk/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email] ' /></a>  <a title='See more bookmark and sharing options...' href='http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/#bookmarkify' rel='nofollow'><small>More&nbsp;&raquo;</small></a></div><div class='brand'><small><a href='http://www.bookmarkify.com/'>Powered by Bookmarkify&trade;</a></small></div></div></div>]]></content:encoded>
			<wfw:commentRss>http://frozenhaddock.co.uk/2008/07/how-to-create-a-simple-maze-game-preview/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
