<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Rocket 5 Studios</title>
	
	<link>http://www.rocket5studios.com</link>
	<description>indie games for iPhone and iPad</description>
	<lastBuildDate>Thu, 03 May 2012 21:01:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rocket5studios" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="rocket5studios" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">rocket5studios</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Check out Cathy’s article “Animating Four-Legged Beasts” on Gamasutra!</title>
		<link>http://www.rocket5studios.com/tutorials/check-out-cathys-article-animating-four-legged-beasts-on-gamasutra/</link>
		<comments>http://www.rocket5studios.com/tutorials/check-out-cathys-article-animating-four-legged-beasts-on-gamasutra/#comments</comments>
		<pubDate>Thu, 03 May 2012 20:20:05 +0000</pubDate>
		<dc:creator>Cathy</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1338</guid>
		<description><![CDATA[Hi Rocket 5 Friends!  This is Cathy, Rocket 5 Studios&#8217; Art Director, and this is my first Rocket 5 blog post! For those of you interested in animation, please check out my article that was published today in Gamasutra:  Animating Four-Legged Beasts! I&#8217;ve used these notes to teach beast movement to both students and team [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1344" title="monkey icon" src="http://www.rocket5studios.com/wp-content/uploads/2012/05/monkey1.png" alt="" width="150" height="150" />Hi Rocket 5 Friends!  This is Cathy, Rocket 5 Studios&#8217; Art Director, and this is my first Rocket 5 blog post!</p>
<p>For those of you interested in animation, please check out my article that was published today in Gamasutra:  <a title="Animating Four-Legged Beasts" href="http://www.gamasutra.com/view/feature/169673/animating_fourlegged_beasts.php">Animating Four-Legged Beasts</a>!</p>
<p>I&#8217;ve used these notes to teach beast movement to both students and team members.  This article covers the walk cycle.  Check back here for more posts on animating the trot, the canter and the gallop cycles!</p>
<p>The adorable monkey demoing the walk is none-other than the star of one of our up-coming games.  Rocket 5 would like to thank the talents of Roger Liu and <a title="Shaun Budhram" href="http://www.pachelo.com/private">Shaun Budhram</a> for the creation of my sweet monkey-bot, with additional kudos going out to David Huynh for his 11th hour help on Jet-Skate Jo-Jo.</p>
<div id="attachment_1340" class="wp-caption alignnone" style="width: 531px"><a title="Animating Four-Legged Beasts" href="http://www.gamasutra.com/view/feature/169673/animating_fourlegged_beasts.php"><img class="size-full wp-image-1340" title="A quick guide to animating animals. " src="http://www.rocket5studios.com/wp-content/uploads/2012/05/quickGuide.jpg" alt="" width="521" height="288" /></a><p class="wp-caption-text">A quick guide to animating animals.</p></div>
<p>There are a lot of free rigs floating around out there on the internet for animators to practice on.  Our friend, the multi-talented <a title="Paul Capon" href="http://paulcapon.wordpress.com/">Paul Capon</a>,  animated a great run animation that is referenced in the <a title="Animating Four-Legged Beasts" href="http://www.gamasutra.com/view/feature/169673/animating_fourlegged_beasts.php">Gamasutra article</a>.  He used the <a title="Nico" href="http://www.creativecrash.com/maya/downloads/character-rigs/c/nico">Nico</a> rig. <a title="Rhett rig" href="http://www.creativecrash.com/maya/downloads/character-rigs/c/rhett-the-clydesdale">Rhett</a> the Clydesdale is also pretty easy to use.</p>
<p>So get animating people! Love your craft! And as <a title="Don Bluth animation" href="http://donbluthanimation.com/">Don Bluth</a> once said to me: &#8220;use reference&#8221;.</p>
<p>~Cathy</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;count=horizontal&amp;text=Check%20out%20Cathy%26%238217%3Bs%20article%20%26%238220%3BAnimating%20Four-Legged%20Beasts%26%238221%3B%20on%20Gamasutra%21" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;count=horizontal&amp;text=Check%20out%20Cathy%26%238217%3Bs%20article%20%26%238220%3BAnimating%20Four-Legged%20Beasts%26%238221%3B%20on%20Gamasutra%21" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fcheck-out-cathys-article-animating-four-legged-beasts-on-gamasutra%2F&amp;title=Check%20out%20Cathy%26%238217%3Bs%20article%20%26%238220%3BAnimating%20Four-Legged%20Beasts%26%238221%3B%20on%20Gamasutra%21" id="wpa2a_2"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/tutorials/check-out-cathys-article-animating-four-legged-beasts-on-gamasutra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ambient Occlusion Test In Unity3D Plus Win A Free Unity Book</title>
		<link>http://www.rocket5studios.com/unity3d/ambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book/</link>
		<comments>http://www.rocket5studios.com/unity3d/ambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 20:26:01 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[iDevBlogADay]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1306</guid>
		<description><![CDATA[For this post we have teamed up with Packt Publishing who is giving away copies of their best-selling Unity books to 6 lucky winners. Check out the details at the end of this post to find out how to enter. UPDATE: The book contest is now CLOSED and winners have been selected.  Winners will be [...]]]></description>
			<content:encoded><![CDATA[<p>For this post we have teamed up with Packt Publishing who is giving away copies of their best-selling Unity books to 6 lucky winners.  Check out the details at the end of this post to find out how to enter. <em><strong>UPDATE</strong>: The book contest is now CLOSED and winners have been selected.  Winners will be notified via email sometime in the next few days.  Thanks for playing!</em></p>
<p>We&#8217;re currently working out the art style for our next iOS game and so I thought this would be a good chance to try out ambient occlusion as a way to bring some interesting lighting into the levels.  Since I had never worked with AO before, my first step was to do a test render on a scene in Maya as a proof of concept and as a way to get a better understanding of how AO works.  I ran across <a href="http://youtu.be/8rKSQ9eu4NI" title="Ambient occlusion tutorial on youtube" target="_blank">this tutorial</a> on Youtube which does a good job of explaining AO and shows how to tune the options to get a nice render in Maya. Note that I didn&#8217;t place any lights in either of the test renders, all of the lighting is created entirely with ambient occlusion.</p>
<p>Here&#8217;s what my test scene looks like rendered in Maya (click to see a larger image):<br />
<a href="http://www.rocket5studios.com/wp-content/uploads/2012/02/AO_Maya_lg.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2012/02/AO_Maya_sm.png" alt="Ambient Occlusion Maya test render" title="Ambient Occlusion Maya test render" width="536" height="402" class="alignnone size-full wp-image-1309" /></a></p>
<p>The next step was to try reproduce those results in Unity.  Thanks to the Beast Lightmapping tools which include settings for ambient occlusion, the process was pretty simple and generated lighting that is pretty close to the Maya render.  Here&#8217;s the same scene with AO lighting information baked out in Unity (click for a larger image):</p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2012/02/AO_Unity_lg.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2012/02/AO_Unity_sm.png" alt="Ambient Occlusion Unity test render" title="Ambient Occlusion Unity test render" width="536" height="358" class="alignnone size-full wp-image-1313" /></a></p>
<p>One difference that you may have noticed between the 2 scenes is that I removed the foreground wall from the Unity scene because it was causing the background to be darker than the background in the Maya render &#8211; this probably has something to do with how AO is calculated on interior spaces in Unity, something I&#8217;ll need to investigate further.</p>
<p>This blog post is part of <a href="http://idevblogaday.com/" title="Visit iDevBlogADay">iDevBlogADay</a>, a collection of indie developers writing about their development experiences.</p>
<h3>How to Enter For Your Chance To Win A Free Unity Book:</h3>
<p>Packt Publishing is giving away copies of their best-selling Unity books to 6 lucky winners! All you need to do is head on over to Packt Publishing and read the descriptions for both the <a href="http://www.packtpub.com/unity-3-x-game-development-essentials-with-c-and-javascript-will-goldstone/book" title="Unity 3.x Game Development Essentials" target="_blank">Unity 3.x Game Development Essentials</a> book and the <a href="http://www.packtpub.com/unity-3d-essentials-for-ios-games/book" title="Unity iOS Essentials" target="_blank">Unity iOS Game Essentials</a> book (you can also download a sample chapter).  Then come back here and drop a line via the comments below to let us know what interests you the most about these books. It’s that simple!</p>
<p><a href="http://www.packtpub.com/unity-3-x-game-development-essentials-with-c-and-javascript-will-goldstone/book" title="Unity 3.x Game Development Essentials" target="_blank"><img src="http://www.rocket5studios.com/wp-content/uploads/2012/02/Unity3.x_Game_Dev_Essentials.png" alt="Unity3.x Game Development Essentials" title="Unity3.x Game Development Essentials" width="268" height="331" class="alignnone size-full wp-image-1327" /></a> <a href="http://www.packtpub.com/unity-3d-essentials-for-ios-games/book" title="Unity iOS Essentials" target="_blank"><img src="http://www.rocket5studios.com/wp-content/uploads/2012/02/Unity_iOS_Essentials.png" alt="Unity iOS Essentials" title="Unity iOS Essentials" width="263" height="331" class="alignnone size-full wp-image-1329" /></a></p>
<h3>Contest Deadline:</h3>
<p>The contest will close on February 15th 2012 PT. Winners will be contacted by email, so be sure to use your real email address when you comment! <em><strong>UPDATE:</strong> The book contest is now CLOSED and winners have been selected.  Winners will be notified via email sometime in the next few days.  Thanks for playing!</em></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;count=horizontal&amp;text=Ambient%20Occlusion%20Test%20In%20Unity3D%20Plus%20Win%20A%20Free%20Unity%20Book" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;count=horizontal&amp;text=Ambient%20Occlusion%20Test%20In%20Unity3D%20Plus%20Win%20A%20Free%20Unity%20Book" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Funity3d%2Fambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book%2F&amp;title=Ambient%20Occlusion%20Test%20In%20Unity3D%20Plus%20Win%20A%20Free%20Unity%20Book" id="wpa2a_4"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/unity3d/ambient-occlusion-test-in-unity3d-plus-win-a-free-unity-book/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Make A 2D Game With Unity3D Using Only Free Tools: Beginning Enemy AI With A* Pathfinding</title>
		<link>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding/</link>
		<comments>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 16:48:03 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[iDevBlogADay]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1266</guid>
		<description><![CDATA[In This installment of our 2D tutorial series, we will be adding enemy AI to our Lode Runner clone using A* Pathfinding. This post has been guest written by Adrian Seeto of Fun Mob Games who was also kind enough to write the AI scripts that are a huge part of bringing the game to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/2dGamePt5_icon.png" alt="Make a 2d game in unity3d part 5" title="Make a 2d game in unity3d part 5" width="150" height="150" class="alignleft size-full wp-image-1267" />In This installment of our 2D tutorial series, we will be adding enemy AI to our Lode Runner clone using A* Pathfinding.  This post has been guest written by <a href="http://www.twitter.com/funmobgames" title ="FunMobGames on Twitter">Adrian Seeto</a> of <a href="http://FunMobGames.com" title="Visit FunMobGames.com">Fun Mob Games</a> who was also kind enough to write the AI scripts that are a huge part of bringing the game to life.</p>
<p>Adding the enemy AI required changes to many of the scripts that we added in the previous tutorials.  You can download the complete project <a href="http://www.rocket5studios.com/files/Rocket5_2DGame_part5.zip" title="Download Rocket5_2DGame_part5.zip">here</a> or you can follow the steps below to update your existing project.  I recommend following along with the tutorial as there&#8217;s tons of great information on implementing the AI with A*.  You can also play the game as it will be at the end of this tutorial <a href="http://www.rocket5studios.com/2dgametutorial/Rocket52DGamePart5.html" title="Playable version of our Lode Runner clone as it is at the end of Tutorial 5">here</a>.</p>
<h3>Installing the A* Package</h3>
<ol>
<li>Import the free version of <a href="http://www.arongranberg.com/unity/a-pathfinding/download/" title="Download the A* Pathfinding Project">Aron Granberg’s A* Pathfinding Project</a> into Unity3d</li>
<li>Create an empty GameObject and rename it <strong>A*</strong>. Make sure it&#8217;s positioned at <em>0,0,0</em></li>
<li>Drag the <em>/AstarPathfindingProject/Core/AstarPath.cs</em> file onto the <em>A*</em> GameObject</li>
<li>Click on the <em>A*</em> GameObject and disable the “<em>Allow Javascript</em>” option</li>
</ol>
<h3>Importing game C# scripts</h3>
<p>Many of the scripts have been modified since <a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-4/" title="Make A 2D Game With Unity3D Using Only Free Tools Part 4">Part 4</a> of this series, so you&#8217;ll need to update them.  If you&#8217;ve made changes to your own scripts then you&#8217;ll need to merge your changes into these new scripts.</p>
<ol>
<li>Copy these scripts into your <em>Assets/Scripts/</em> folder:</li>
<ol>
<li>Player.cs (updated)</li>
<li>PlayerAnims.cs (updated)</li>
<li>xa.cs (updated)</li>
<li>ChangeBehaviorGUI.cs (new)</li>
<li>Character.cs (new)</li>
<li>Enemy.cs (new)</li>
</ol>
<li>Copy this script into your <em>AstarPathfindingProject/Editor/GraphEditors</em> folder:</li>
<ol>
<li>MyGridGeneratorEditor.cs</li>
</ol>
<li>And finally copy this script into your <em>AstarPathfindingProject/Generators</em> folder:</li>
<ol>
<li>MyGridGraph.cs</li>
</ol>
</ol>
<h3>Configure The xa.cs Script</h3>
<p>Create a new Layer by going to <em>Edit &#8211;> Project Settings &#8211;> Tags</em> and then enter &#8220;<strong>Enemy</strong>&#8221; in one of the empty User Layer slots.</p>
<ol>
<li>Select the <em>Global/Scripts/xa</em> GameObject</li>
<li>Set <strong>Ground Mask</strong> field to “<strong>Ground</strong>”</li>
<li>Set <strong>Ladder</strong> and <strong>Rope Mask</strong> field to “<strong>NoDraw</strong>”</li>
<li>Set <strong>Enemy Mask</strong> field to “<strong>Enemy</strong>”</li>
</ol>
<h3>Miscellaneous Project Changes</h3>
<p>Note that some of these may be unnecessary or redundant depending on how your project is currently setup.</p>
<ol>
<li>Expand the <strong>Global</strong> game object in the Hierarchy and then select the &#8220;<strong>border bottom</strong>&#8221; and &#8220;<strong>border top</strong>&#8221; GameObjects and set their layer to <strong>Ground</strong>.  This is so enemies can stand on it if/when we dig a trap above the bottom border and our enemies fall into it they won’t fall continue through the border into the great abyss.</li>
<li>Select the <strong>player</strong> object in the Hierarchy and then change its Tag to “<strong>Player</strong>”</li>
<li>Select the <em>OT/View</em> object in the Hierarchy and uncheck &#8220;<strong>Always Pixel Perfect</strong>&#8220;. Note I&#8217;m not sure why Adrian turns off pixel perfect, feel free experiment on your own.</li>
</ol>
<h3>Configure A* Pathfinding For Our Level</h3>
<p>A* is a graph traversal algorithm widely used in computer science, and commonly used in games for path finding.  A full discussion of A* is beyond the scope of this tutorial, but there is some terminology you should be aware of.  A <em>graph</em> consists of <em>nodes</em> and the network of <em>connections</em> between them.  Once A* has been provided with a graph, you can query it to find the shortest path from one node to another.  A* will return a path way list of all the nodes that you must travel along to get from your start node to your end node, in the shortest path possible.  </p>
<p>More accurately, the path returned is the “least cost” path, because nodes have a specified penalty cost for traveling along it.  A* will attempt to create a path which incurs the least cost.  The unit of a penalty is up to the application developer.  For example, in an isometric RTS game the terrain tiles would be nodes, with 8 connections per node (except for the boundary tiles).  We could have the penalty cost units be related to the time it takes to travel on it.   A swampy area might therefore have very high penalties on the nodes in it, while the grass land nodes surrounding the swamp have smaller penalties.  A computer-controlled tank which wants to get from one side of the swamp to the other may then plot a course around the swamp if it costs less, even though it is physically further (i.e. more tiles must be travelled, but the total travel duration is less) . Of course, it is up to us as the game developer to implement all the code to actually slow the tank down if/when it travels over swamps, A* is only the pathfinder.</p>
<p>We don’t make use of penalties in this game because traveling along ropes, ladders, the ground, and falling is all done at the same speed.  If gravity in our game was a useful non-lethal force (i.e. falling is faster than climbing and just as safe) then we can set node penalties so that A* would return a path where jumping off a platform would be a preferable shortcut to climbing down the ladder. If your game enforces lethal falls from great heights, then you would need additional logic.</p>
<p>A game could have multiple graphs, for use by the various units (ships have different travel behavior to an infantry man for example).  For this tutorial, we only need to create one graph.  In the graph one node will be created for every tile in a 2d grid-like layout.  Each node may have up to 4 connections (up, down, left, right).  Aron’s A* Project includes several different path graph generators, such as GridGraph, ListGraph, and NavMeshGraph.  The GridGraph is a suitable starting point for our game.</p>
<p>The node connections generated by the base GridGraph are always bidirectional (if it creates a connection from from node1 to node2 then it will also create a connection from node2 to node1) which is not necessarily what we want.  Bidirectional paths are fine for ladders, ropes, and the ground because you can go up and down a ladder, and both left-to-right and right-to-left on rope and ground.  The problem arises when you want to include fall lanes. A fall lane is a term I’ve made up for a vertical one-way path that you can only travel on by falling.  Fall lanes exist under the ropes (you can let go of a rope and fall) and off of cliff edges (you can run off a cliff and fall down to a lower platform).  Once on a fall-lane you can’t travel in any direction but down until you’ve hit bottom.  This is a uni-directional connection so the nodes on a fall lane only have one connection each: a connection to the node directly below it.  Other nodes in the level will have between 2 and 4 connections each.  </p>
<p>We could use the base GridGraph and not bother about having any fall lanes, it would just mean that our AI would not plan any paths that involve letting go of ropes or running off platforms.  In this scenario you could still have your AI let go of ropes in a “reactionary” manner i.e. if it’s already on the rope and see a player below it, it could let go.  You would do this will “special case” code in your enemy AI loop.  However, its important to understand this is different from forward planning a route which takes into account the ability to jump off ropes.  In order to that kind of path planning with A*, you need to provide that information in the graph, via the fall lane concept.  </p>
<p>I’ve created a new generator class called “<em>MyGridGraph</em>” which inherits from GridGraph and overrides the Scan() and IsValidConnection() functions.  Our new MyGridGraph class implements the fall lanes idea so let’s add it the scene.</p>
<ol>
<li>Select the <strong>A*</strong> GameObject</li>
<li>Click the <em>Graphs -> Add Graph</em> button</li>
<ol>
<li>Add a new “<strong>My Grid Graph</strong>”</li>
<li><strong>Width</strong>: <em>26</em> (these dimensions match our level)</li>
<li><strong>Depth</strong>: <em>20</em></li>
<li><strong>Node Size</strong>: <em>1</em></li>
<li><strong>Aspect Ratio</strong>: <em>1</em></li>
<li><strong>Center</strong>: <em>0, 0.3, 0.01</em> (y is 0.3 so that our nodes are centered in the middle of each tile (which we already previously aligned at 0.3), the z is 0.01 because the integer coordinates used for Aron’s A* node positions have a fixed precision of 0.01 and anything smaller than that would cause troubles.)</li>
<li><strong>Rotation</strong>: <em>-90, 0, 0</em> (rotate x because our grid is for a side-on view rather than the expected top-down view)</li>
<li>Disable <strong>Cut Corners</strong> checkbox</li>
<li><strong>Connections</strong>: <em>Six</em> (we only need 4 connections per node up/down/left/right, but we don’t have that option)</li>
<li>Disable <strong>Collision testing</strong> checkbox</li>
<li>Disable <strong>Height testing</strong> checkbox</li>
<li><strong>Level Layers</strong>: <strong>Ground</strong> and <strong>NoDraw</strong></li>
<li>Scroll to the bottom and enable the <strong>Show Graphs</strong> checkbox then hit <strong>Scan</strong></li>
</ol>
</ol>
<p>If it worked right you should now see the A* graph layout in your game/scene window (enable Gizmos) similar to the following image (click to see a larger version). </p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2012/01/2dGamePt5_pathfinding.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/2dGamePt5_pathfinding_sm.png" alt="2dGamePt5 pathfinding" title="2dGamePt5 pathfinding" width="536" height="402" class="alignnone size-full wp-image-1280" /></a></p>
<p>The red squares represent nodes that the AI can <em>not</em> travel on.  All the bricks should have a red node centered on them.  Much of the black “air” tiles should also have a red square gizmo.  The tiles without the red gizmos are the nodes the AI can travel on.  The blue line represents the connections between nodes. You should therefore see that the AI can travel along the surface of ground tiles, along ropes, and up and down ladders.  You should also see the vertical fall lanes under ropes and over the edge of a platform.  If you are very perceptive you will see that the blue lines come in 2 thicknesses.  A thick line means that the connection is bidirectional (the line gizmo was rendered twice, once each way, making it thicker).  A thin line represents a unidirectional connection.</p>
<h3>Making Enemies</h3>
<p>Our enemies and the player classes both derive from the Character class which implements the movement code.  In this way we can ensure that the enemies and player move with the same constraints to help prevent giving either an unfair advantage, and just general time-saving and efficiency.  The character class does have a movement speed variable, so we can give the enemies different movement speeds than the player, if desired.</p>
<p>Below we create 2 enemy game objects.  I’ve just reused the player sprite for them, and I’ve given each one a different tint so I can tell them apart (helpful during the development stage). If you create your own different enemy sprite go ahead and use it.</p>
<ol>
<li>Create an empty GameObject called <strong>Enemies</strong> to use as an organizational holder.</li>
<li>Clone the <strong>player</strong> GameObject in the hierarchy and rename it to <em>enemy-1</em>.</li>
<li>Drag the <strong>enemy-1</strong> to child it under your <strong>Enemies</strong> GameObject.</li>
<li>Drag the <em>/AstarPathfindingProject/Core/Seeker.cs</em> script onto your <strong>enemy-1</strong>.  The script’s defaults are fine.  Go ahead and break enemy-1’s connection to the player prefab when prompted.  The Seeker provides the enemy with the ability to use A* path finding.  It has gizmos which paint green lines representing the found path.</li>
<li>Expand the <strong>enemy-1</strong> GameObject to see it’s children.</li>
<li>Delete the “<strong>shoot parent</strong>” child.</li>
<li>Add an empty GameObject child under <strong>enemy-1</strong> named “<strong>path target</strong>”.  Local Position 0,0,0 Local Scale 1,1,1. This will be a transform that the enemy script will move around to place on the desired target for our path finding AI.  Useful during debugging to see what it is targeting.</li>
<li>Duplicate “<strong>path target</strong>” and rename to “<strong>tile bounds</strong>”.  Add a box collider to it, set to <strong>Trigger</strong> and centered at <em>0,0,1</em> and scale <em>1,1,1</em>.  This is so that when we trap an enemy we can walk smoothly on top of it’s head as if it was ground.</li>
<li>Select the <em>enemy-1</em> game object and set its <strong>Layer</strong> to <strong>Enemy</strong> and apply to children.  Set its <strong>Tag</strong> to <strong>Enemy</strong> (leave children untagged).</li>
<li>Expand the enemy-1 Player script component.  Drag the <em>/Scripts/Enemy.cs</em> script onto the <strong>Player Script</strong> field to replace it with the Enemy script.</li>
<li>The Enemy script has 3 slots that need to be filled: <strong>Player</strong> and <strong>Player Tr</strong> (drag the player gameobject to those slots), and <strong>Target</strong> (drag the path target gameobject to this slot).</li>
<li>Expand the <strong>enemy-1 OTAnimatingSprite</strong> script.  Set the <strong>Material Reference</strong> slot to “<strong>tint</strong>”.  Set the <strong>Tint Color</strong> to <em>red</em> (or your preference) to visually differentiate it from the player.</li>
<li>Clone <strong>enemy-1</strong> as <strong>enemy-2</strong> and give it a green tint. (You may have to redo the Red tint on the other enemy due to an OT quirk).</li>
<li>Drag the enemies to suitable spawn points in the scene.</li>
<li>Optional: Select the <strong>Enemies</strong> root GameObject.  Drag the <em>ChangeBehaviors.cs</em> script onto it.  Set the Enemies array size to 2, and drag enemy-1 and enemy-2 into the slots.  This script will allow you to modify an enemy’s behavior on-the-fly via GUI between a “plain A* to Player” and a “Lode Runner-esque” behavior.  The A* to Player behavior simply follows the shortest path toward the player’s exact position.  The Lode Runner-esque behavior still uses A* but also tries to reimplement some of the reactionary quirks of the original game, especially with regards to ladder use.  See the Enemy.cs file for details.  You can disable/remove the ChangeBehaviors.cs script when you are done testing it out.</li>
</ol>
<h3>Conclusion</h3>
<p>While the enemy AI is not a completely faithful recreation of the original, it is hoped that it will provide you with enough of an idea on how you can use and implement A* path finding in your own creations.  </p>
<p>The AI scripts and this tutorial were contributed by Adrian Seeto of Fun Mob Games, creators of <a href="http://itunes.apple.com/app/pocket-bmx/id432832444?mt=8&#038;uo=4" title="Pocket BMX on the App Store">Pocket BMX</a> game for iOS, a free-roaming 2D bike tricking game with physics.  You can check them out at <a href="http://FunMobGames.com" title="Visit FunMobGames.com">FunMobGames.com</a> or on twitter <a href="http://www.twitter.com/funmobgames" title ="FunMobGames on Twitter">@FunMobGames</a>.</p>
<p>If you have any questions about the tutorial, please let us know in the comments below. Your support helps to keep these tutorial coming so be sure to follow us on <a href="http://www.twitter.com/rocket5studios" title="Rocket 5 Studios on Twitter">Twitter</a> and <a href="http://www.facebook.com/rocket5studios" title="Rocket 5 Studios on Facebook">Facebook</a>. This blog post is part of <a href="http://idevblogaday.com/" title="Visit iDevBlogADay">iDevBlogADay</a>, a collection of indie developers writing about their development experiences.</p>
<h3>More Tutorials In This Series</h3>
<p><a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-in-unity3d-using-only-free-tools-part-1/" title="Make A 2D Game in Unity3D Using Only Free Tools Part 1">Make A 2D Game in Unity3D Using Only Free Tools Part 1</a><br />
<a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-2/" title="Make A 2D Game with Unity3D Using Only Free Tools Part 2">Make A 2D Game with Unity3D Using Only Free Tools Part 2</a><br />
<a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-3/" title="Make A 2D Game With Unity3D Using Only Free Tools Part 3">Make A 2D Game With Unity3D Using Only Free Tools Part 3</a><br />
<a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-4/" title="Make A 2D Game With Unity3D Using Only Free Tools Part 4">Make A 2D Game With Unity3D Using Only Free Tools Part 4</a></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;count=horizontal&amp;text=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%3A%20Beginning%20Enemy%20AI%20With%20A%2A%20Pathfinding" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;count=horizontal&amp;text=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%3A%20Beginning%20Enemy%20AI%20With%20A%2A%20Pathfinding" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding%2F&amp;title=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%3A%20Beginning%20Enemy%20AI%20With%20A%2A%20Pathfinding" id="wpa2a_6"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-beginning-enemy-ai-with-a-pathfinding/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Rocket 5′s Unity3D “Flash in a Flash” Contest Entry: Jet-Skate Jo-Jo</title>
		<link>http://www.rocket5studios.com/game-jams/rocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo/</link>
		<comments>http://www.rocket5studios.com/game-jams/rocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 00:22:49 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[Game Jams]]></category>
		<category><![CDATA[Unity3D]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1241</guid>
		<description><![CDATA[Hi everyone, this is just a quick update to tell you about our new circus themed web game called &#8220;Jet-Skate Jo-Jo&#8221; which you can play right here on our website. The game came about because over the holidays, Unity3D hosted a game creation contest titled &#8220;Flash in a Flash&#8221; where developers could submit a Flash [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/Jet-Skate-Monkey-Logo_150.png" alt="Jet-Skate Jo-Jo logo" title="Jet-Skate Jo-Jo logo" width="150" height="144" class="alignleft size-full wp-image-1252" />Hi everyone, this is just a quick update to tell you about our new circus themed web game called &#8220;Jet-Skate Jo-Jo&#8221; which you can <a href="http://www.rocket5studios.com/jetskatejojo/" title="Play Jet-Skate Jo-Jo">play right here on our website</a>.  </p>
<p>The game came about because over the holidays, Unity3D hosted a game creation contest titled &#8220;Flash in a Flash&#8221; where developers could submit a Flash game using the new Flash exporter in the <a href="http://unity3d.com/unity/preview/" title="Unity3D 3.5 Developer Preview">Unity3D 3.5 Developer Preview</a>.  With a $20k first prize and a bunch of really good 2nd and 3rd place prizes, Cathy and I decided to dive head first into the competition.  </p>
<p>For our submission we wanted to make a new game from scratch that would take advantage of as many of the great features that Unity3D brings to Flash web game publishing as possible like physics, real time lighting and of course a 3D character and environment.  Since the schedule was super tight, we knew we had to make a game that was small enough to finish in a short amount of time while still being visually impressive and fun. The contest time ran from December 22nd and ended on January 5th which of course conflicted with all kinds of holiday plans. In the end were able to spend about 9 days working on the game.  We submitted the game at 2:30 AM Eastern time on January 5th which gave us about 30 minutes of padding before the contest submission deadline!  We ended up having to cut a few things from the game like sound, high scores and there are a few little bugs that I wish we could have fixed, but overall we made a really great little game in a super short amount of time that we&#8217;re all really happy with.</p>
<p>A quick shout out to our team: Cathy Feraday Miller did all of the character animations, designed the logo and contributed to much of the game design.  <a href="http://twitter.com/bakewell_cherry" title="Paul Capon on Twitter">Paul Capon</a> did all of the level and prop modeling and texturing, monkey textures and the skate model.  David Huynh rigged and weighted the monkey character which was originally modeled and rigged by Shaun Budhram and Roger Liu.  Tim Miller did the programming, game and level design and the UI design and art.</p>
<p><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/jetskatejojo_ss3_sm2.png" alt="Jet-Skate Jo-Jo Screenshot" title="Jet-Skate Jo-Jo Screenshot" width="536" height="402" class="alignnone size-full wp-image-1253" /></p>
<p><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/jetskatejojo_ss1_sm2.png" alt="Jet-Skate Jo-Jo Screenshot" title="Jet-Skate Jo-Jo Screenshot" width="536" height="402" class="alignnone size-full wp-image-1256" /></p>
<p><img src="http://www.rocket5studios.com/wp-content/uploads/2012/01/jetskatejojo_ss2_sm2.png" alt="Jet-Skate Jo-Jo Screenshot" title="Jet-Skate Jo-Jo Screenshot" width="536" height="402" class="alignnone size-full wp-image-1257" /></p>
<p><a href="http://www.rocket5studios.com/jetskatejojo/" title="Play Jet-Skate Jo-Jo">Play Jet-Skate Jo-Jo here</a> and be sure to let us know what you think of the game in the comments. And as always be sure to follow us on <a href="http://www.facebook.com/rocket5studios/" title="Rocket 5 Studios on Facebook">Facebook</a> and <a href="http://www.twitter.com/rocket5studios/" title="Rocket 5 Studios on Twitter">Twitter</a> to keep up to date on all the latest news from Rocket 5.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;count=horizontal&amp;text=Rocket%205%26%238242%3Bs%20Unity3D%20%26%238220%3BFlash%20in%20a%20Flash%26%238221%3B%20Contest%20Entry%3A%20Jet-Skate%20Jo-Jo" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;count=horizontal&amp;text=Rocket%205%26%238242%3Bs%20Unity3D%20%26%238220%3BFlash%20in%20a%20Flash%26%238221%3B%20Contest%20Entry%3A%20Jet-Skate%20Jo-Jo" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Frocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo%2F&amp;title=Rocket%205%26%238242%3Bs%20Unity3D%20%26%238220%3BFlash%20in%20a%20Flash%26%238221%3B%20Contest%20Entry%3A%20Jet-Skate%20Jo-Jo" id="wpa2a_8"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/game-jams/rocket-5s-unity3d-flash-in-a-flash-contest-entry-jet-skate-jo-jo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Holidays</title>
		<link>http://www.rocket5studios.com/dev-diary/happy-holidays/</link>
		<comments>http://www.rocket5studios.com/dev-diary/happy-holidays/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 18:21:30 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Dev Diary]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1192</guid>
		<description><![CDATA[Happy holidays, everyone and here&#8217;s looking forward to a great 2012! Thank you to all of our friends and partners for making 2011 such a great year! If you haven&#8217;t had a chance to play our holiday themed web game yet, be sure to check it out! Click to play A Very Angry Christmas! Sincerely, [...]]]></description>
			<content:encoded><![CDATA[<p>Happy holidays, everyone and here&#8217;s looking forward to a great 2012! Thank you to all of our friends and partners for making 2011 such a great year!  </p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/12/Rocket5_holiday_card_2011.jpg"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/12/Rocket5_holiday_card_2011.jpg" alt="Rocket 5 holiday card 2011" title="Rocket 5 holiday card 2011" width="536" height="392" class="alignnone size-full wp-image-1193" /></a></p>
<p>If you haven&#8217;t had a chance to play our holiday themed web game yet, be sure to check it out!  Click to play <a href="http://www.rocket5studios.com/angryxmas" target="_blank" title="Play A Very Angry Christmas">A Very Angry Christmas!</a></p>
<p>Sincerely,<br />
Tim and Cathy and Rocket</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;count=horizontal&amp;text=Happy%20Holidays" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;count=horizontal&amp;text=Happy%20Holidays" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fhappy-holidays%2F&amp;title=Happy%20Holidays" id="wpa2a_10"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/dev-diary/happy-holidays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Carnage, Game Jam Style!</title>
		<link>http://www.rocket5studios.com/game-jams/christmas-carnage-game-jam-style/</link>
		<comments>http://www.rocket5studios.com/game-jams/christmas-carnage-game-jam-style/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 03:57:13 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[Game Jams]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[iDevBlogADay]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1171</guid>
		<description><![CDATA[This past weekend we took part in the 10th installment of the Game Prototype Challenge, a monthly game jam billed as &#8220;a spur of the moment motivator for making games&#8221;. Not that we need any motivation since we&#8217;re always working on games here. But what we like about jams is that they get us to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rocket5studios.com/wp-content/uploads/2011/12/angry_christmas_icon.png" alt="" title="A Very Angry Christmas Icon" width="150" height="150" class="alignleft size-full wp-image-1173" />This past weekend we took part in the 10th installment of the <a href="http://gameprototypechallenge.com/" title="Game Prototype Challenge">Game Prototype Challenge</a>, a monthly game jam billed as &#8220;a spur of the moment motivator for making games&#8221;. Not that we need any motivation since we&#8217;re always working on games here.  But what we like about jams is that they get us to think about games differently since they usually involve including some kind of theme (&#8220;dreams&#8221; and &#8220;collectibles&#8221; for this jam) and they always have a very short deadline which gets us to try new things quickly without worrying about making the code necessarily clean or efficient.</p>
<p>Rocket 5 participated in GPC v.2 earlier this year with our game <a href="http://www.rocket5studios.com/snowball-jones/snowball-jones-and-the-game-prototype-challenge/" title="Snowball Jones Blog Post">Snowball Jones</a> <a href="http://www.rocket5studios.com/snowballjones/" title="Play Snowball Jones and the Last Crusade">And The Last Crusade</a>, which I co-developed with Kevin Feraday.</p>
<p>This time around our Art Director (AKA my wife Cathy) and I took a stab at the challenge with a holiday themed, tongue-in-cheek spoof of the wildly popular game Angry Birds.  In our game, titled A Very Angry Christmas, you control the hero from our upcoming game XS Force as he steps up to defend our hungry friends the pigs from those incessant birds.  For us the game actually serves two purposes:  for the Prototype Challenge, and as an interactive holiday card that we&#8217;ll send around to all our friends and business partners.</p>
<p><a href="http://www.rocket5studios.com/angryxmas/" title="Play A Very Angry Christmas" target="_blank"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/12/A_Very_Angry_Christmas_title_screen.png" alt="A Very Angry Christmas" title="Play A Very Angry Christmas" width="536" height="357" class="alignnone size-full wp-image-1176" /></a></p>
<p>This was Cathy&#8217;s first time participating in a game jam and this was my third time.  We used Unity3D to make the game and we used pre-existing gameplay code from XS Force for the player controls.  We revised the input from touch screen to keyboard and mouse so that the game could be played in a web browser (and it works great on the iPhone too, using our existing touch controls).  I also relied on several excellent Unity plugins including:  <a href="http://itween.pixelplacement.com/index.php" title="iTween">iTween</a> for various text and effect animations, <a href="http://www.unikronsoftware.com/2dtoolkit/" title="2D Toolkit">2D Toolkit</a> for the animated sprites and <a href="http://ragespline.com/" title="RageSpline">RageSpline</a> for the level background, which, next to iTween, is easily the best Unity plugin I&#8217;ve ever used.  Cathy did all of the character art and animations in Flash which were exported as .png&#8217;s and then added as sprites to Unity using 2D Toolkit.</p>
<p>If you happen to live in the Toronto area, you can play our games at the <a href="https://www.facebook.com/events/119775714803718/" title="More info on Facebook">#GPC Arcade: Year-One Roundup</a> presented by the <a href="https://www.facebook.com/groups/205500202826431/" title="Toronto Skillswap on Facebook">Toronto Skillswap</a> community at George Brown College on Friday December 16th. And if you&#8217;re not going to be there, you can <a href="http://www.rocket5studios.com/angryxmas/" title="Play A Very Angry Christmas" target="_blank">play A Very Angry Christmas right here on our website</a>!</p>
<p>Thanks for stopping by and please let us know in the comments if you have any thoughts on the game, and especially if you find any bugs <img src='http://www.rocket5studios.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . This blog post is part of <a href="http://idevblogaday.com/" title="iDevBlogADay">iDevBlogADay</a>, a collection of indie developers writing about their development experiences.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;count=horizontal&amp;text=Christmas%20Carnage%2C%20Game%20Jam%20Style%21" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;count=horizontal&amp;text=Christmas%20Carnage%2C%20Game%20Jam%20Style%21" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Fgame-jams%2Fchristmas-carnage-game-jam-style%2F&amp;title=Christmas%20Carnage%2C%20Game%20Jam%20Style%21" id="wpa2a_12"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/game-jams/christmas-carnage-game-jam-style/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XS Force Art and Level Progress</title>
		<link>http://www.rocket5studios.com/dev-diary/xs-force-art-and-level-progress/</link>
		<comments>http://www.rocket5studios.com/dev-diary/xs-force-art-and-level-progress/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 05:10:24 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Dev Diary]]></category>
		<category><![CDATA[XS FORCE]]></category>
		<category><![CDATA[iDevBlogADay]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1143</guid>
		<description><![CDATA[I&#8217;m taking a break this week from writing tutorials to show a bit of early XS Force level art. I say early because we&#8217;re still tuning the look &#8211; we&#8217;re heading for something that&#8217;s more stylized, less angular &#8211; but I thought it would be cool to show what we have at this point since [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m taking a break this week from writing tutorials to show a bit of early XS Force level art.  I say <em>early</em> because we&#8217;re still tuning the look &#8211; we&#8217;re heading for something that&#8217;s more stylized, less angular &#8211; but I thought it would be cool to show what we have at this point since it has been a while since we posted an XS Force development update.</p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-early-look-lg.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-early-look-sm.png" alt="" title="XS_Force early look" width="536" height="486" class="alignnone size-full wp-image-1145" /></a></p>
<p>A few days ago I started looking for a new way to build the game&#8217;s levels in Unity.  I had been building levels from individual sprite tiles, each with their own collision that I made using <a href="http://www.unikronsoftware.com/2dtoolkit/" title="2D Toolkit">2D Toolkit</a>&#8216;s polygon collision editor.  This actually works pretty well for building 2d sprite-based levels, but I wanted to be able to create more freeform/organic levels.  </p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-sprite-lg.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-sprite-sm.png" alt="" title="XS_Force-sprite-sm" width="536" height="479" class="alignnone size-full wp-image-1152" /></a></p>
<p>A quick search of the Unity Asset Store revealed a plugin called <a href="http://ragespline.com/" title="RageSpline">RageSpline</a>.  Turns out that RageSpline is great for quickly building vector graphics right inside Unity and also makes it easy to add face accurate collisions to the objects so you can lay down level art and collision at the same time.</p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-ragespline-lg.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/XS_Force-ragespline-sm.png" alt="" title="XS_Force-ragespline-sm" width="536" height="474" class="alignnone size-full wp-image-1156" /></a></p>
<p>That&#8217;s all for now.  This blog post is part of <a href="http://idevblogaday.com/" title="iDevBlogADay">iDevBlogADay</a>, a collection of indie developers writing about their development experiences.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;count=horizontal&amp;text=XS%20Force%20Art%20and%20Level%20Progress" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;count=horizontal&amp;text=XS%20Force%20Art%20and%20Level%20Progress" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Fdev-diary%2Fxs-force-art-and-level-progress%2F&amp;title=XS%20Force%20Art%20and%20Level%20Progress" id="wpa2a_14"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/dev-diary/xs-force-art-and-level-progress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make A 2D Game With Unity3D Using Only Free Tools Part 4</title>
		<link>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-4/</link>
		<comments>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-4/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:26:14 +0000</pubDate>
		<dc:creator>Tim Miller</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[iDevBlogADay]]></category>

		<guid isPermaLink="false">http://www.rocket5studios.com/?p=1102</guid>
		<description><![CDATA[This is part 4 of our tutorial series on making a 2D game in Unity3D with freely available tools and plugins. Part 1 introduced you to the tools we&#8217;re using, in Part 2 we built our first level and in Part 3 we hooked up the control scripts and setup the ladders and ropes so [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/make_a_2d_game_part4_150.png" alt="Make A 2D Game In Unity3d Part 4" title="Make A 2D Game In Unity3d Part 4" width="150" height="150" class="alignleft size-full wp-image-1104" />This is part 4 of our tutorial series on making a 2D game in Unity3D with freely available tools and plugins.  <a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-in-unity3d-using-only-free-tools-part-1/" title="Make A 2D Game in Unity3D Using Only Free Tools Part 1">Part 1</a> introduced you to the tools we&#8217;re using, in <a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-2/" title="Make A 2D Game with Unity3D Using Only Free Tools Part 2">Part 2</a> we built our first level and in <a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-3/" title="Make A 2D Game With Unity3D Using Only Free Tools Part 3">Part 3</a> we hooked up the control scripts and setup the ladders and ropes so that the player can navigate levels.  In this article we&#8217;re going to create a pickup item, hook up the scoring system and add the interface text which reports score, lives and level.</p>
<p>Hopefully you already went through part 2 and part 3 of the series, if you haven&#8217;t already you might want to go back and do them now so everything in this part will make sense.  </p>
<p>If you’d rather skip ahead, you can <a href="http://www.rocket5studios.com/files/Rocket5_2DGame_blogPt3a.zip" title ="download the project up to this point">download the project up to this point</a>. You can also <a href="http://www.rocket5studios.com/2dgametutorial/Rocket52DGamePart4.html" title="Play the web version of part 4">click here to play the game</a> as it will be at the end of Part 4.</p>
<h3>Adding The Scoring and Pickup Scripts</h3>
<p>The game is working great so far &#8211; the player can move, climb ladders and shimmy across ropes. Now we&#8217;re going to add a &#8220;gold chest&#8221; pickup item and an interface to track scoring, player lives and the current level.</p>
<ul>
<li><a href="http://www.rocket5studios.com/files/Rocket5_2DGame_Scripts_pt4.zip" title="Download Rocket5_2DGame_Scripts_pt4.zip">Download scoring and pickup scripts</a> and unzip the file somewhere on your hard drive.</li>
<li>Copy <em>Scoring.cs</em> and <em>Pickup.cs</em> from the extracted .zip file and paste them into your project&#8217;s <em>Assets/Scripts</em> folder.</li>
</ul>
<h4>Modifications To Existing Scripts:</h4>
<p>You&#8217;re going to need to make a few changes to the scripts from part 3 so that these new scripts will work.</p>
<ul>
<li>Open <em>xa.cs</em> script and then uncomment the first line in the Class:</li>
</ul>
<pre class="brush:csharp">
public static Scoring sc;
</pre>
<ul>
<li>In the Start function, uncomment this line:</li>
</ul>
<pre class="brush:csharp">
sc = (Scoring)(this.gameObject.GetComponent("Scoring"));
</pre>
<ul>
<li>Open <em>Player.cs</em>, find the OnTriggerEnter function (line 256) and then uncomment the following code block:</li>
</ul>
<pre class="brush:csharp">
if (other.gameObject.CompareTag("Pickup"))
{
	if (other.GetComponent&lt;Pickup>())
	{
		other.GetComponent&lt;Pickup>().PickMeUp();
		xa.sc.Pickup();
	}
}
</pre>
<h3>Making The Pickup Sprite</h3>
<p>You might remember from part 2, that you already added the <em>pickup.png</em> to the <em>level</em> sprite atlas and then created a <em>level</em> container object that points to the sprite atlas so we don&#8217;t need to do any additional Container setup to create the pickup.</p>
<ul>
<li>Drag &#038; drop the Sprite object from <em>Orthello –> Objects –> Sprites</em> into the Hierarchy or Scene which will create a new object named something like “Sprite (id=-3700)“. Rename that object to “<em>pickup</em>“.</li>
<li>Drag the level object that we created in part 2 from <em>OT –> Containers</em> and drop it on to the <strong>Sprite Container</strong> slot in the Inspector.</li>
</ul>
<p>Your sprite will appear but it looks like the brick sprite that we made before, that’s because the brick is the first texture on the Sprite Atlases index. </p>
<ul>
<li>Click and hold your mouse over the word “<strong>Frame Index</strong>” in the inspector (with the pickup object selected) and then drag the mouse to the right to scroll through the textures on the sprite atlas. The pickup texture is at index <strong>16</strong> so set it to that. The sprite should now look like a a white rectangle with a red box in the center and a black background.</li>
</ul>
<h4>Adjusting The Collision:</h4>
<p>The sprite is a square, but we only want the object to be picked up only when the player touches the white part of the pickup.</p>
<ul>
<li>Check the <strong>Collidable</strong> checkbox to add collision to the object.</li>
<li>Open up the drop down list next to <strong>Physics</strong> and then select <strong>Custom</strong>.</li>
<li>Under <strong>Box Collider</strong>, set the <strong>Center Y</strong> to <em>-0.15</em>, <strong>Size X</strong> to <em>0.8</em> and <strong>Size Y</strong> to <em>0.5</em>.  Leave <strong>Size Z</strong> set to <em>0.4</em>.</li>
</ul>
<h4>Setting The Tag:</h4>
<p>We need to tag the pickup so that the player will trigger it when touched.</p>
<ul>
<li>Create a new tag by going to <em>Edit &#8211;> Project Settings &#8211;> Tags</em></li>
<li>Add a new <strong>Tag</strong> in the Tags list (probably in Element 3 if you&#8217;ve been following the series) named &#8220;<em>Pickup</em>&#8221; (without the quotes).  <em>It&#8217;s important that the name is correct since Player.cs looks for this exact name.</em></li>
<li>Select the pickup object in the Hierarchy, then click on the drop down list next to <strong>Tags</strong> at the top of the Inspector and then select <strong>Pickup</strong>.</li>
</ul>
<h4>Add The Script and Make It A Prefab</h4>
<p>Now we just need to add the <em>Pickup.cs</em> script to the sprite so that it will get &#8220;picked up&#8221; when the player touches it and we also need to turn it into a prefab so that it&#8217;s easy to place in all your levels.</p>
<ul>
<li>Drag the <em>Pickup.cs</em> script from the Project Scripts folder and drop it on to the <strong>pickup</strong> sprite in the Hierarchy.</li>
<li>Drag the <em>pickup</em> object from the Hierarchy into the <em>Prefabs</em> folder in the Project tab to create prefab from the object.</li>
</ul>
<p>The pickup is designed so that you can snap the bottom edge (the black part) of the sprite to the top edge of a brick sprite the white part of the powerup will be the correct height from the top of the brick. Duplicate your new pickup prefab a few times and place it around you level.</p>
<p>If you followed all of the steps so far, your pickup should look like this:<br />
<a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-pickup.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-pickup.png" alt="2dGamePt4 pickup" title="2dGamePt4 pickup" width="536" height="536" class="alignnone size-full wp-image-1117" /></a></p>
<h3>Add The Interface Text</h3>
<p>At this point if you place the pickup in your level so that the player can pick it up, the sprite will disappear correctly as if he picked it up, but you&#8217;ll get some errors in the console because the Scoring script isn&#8217;t in the scene yet and we don&#8217;t have any UI to report the score.  So let&#8217;s fix that.</p>
<ul>
<li>First add the <em>Scoring.cs</em> script to the scene: Drag <em>Scoring.cs</em> from your Project&#8217;s Scripts folder and drop it on to the <strong>Scripts</strong> object in the Hierarchy.  If you select the <strong>Scripts</strong> object, you&#8217;ll see that the <strong>Scoring</strong> script has a bunch of slots for text objects that we need to add &#8211; but first we need to create the text objects.</li>
<li>Download the <a href="http://www.rocket5studios.com/files/G7_Silkworm.zip" title="Download G7_Silkworm.zip">G7 Silkworm font</a> and unzip the file somewhere on your computer.  This font isn&#8217;t exactly the same as the one used in the original Lode Runner game, but it&#8217;s pretty close.  If there&#8217;s another font you&#8217;d rather use, go for it.  And if you find a font that&#8217;s closer to the Lode Runner font, please let me know in the comments.</li>
<li>Create a new folder in your <em>Assets</em> folder named <em>Fonts</em>, locate the <em>silkworm.TTF</em> font on your hard drive and then copy it into the <em>Assets/Fonts</em> folder.</li>
<li>In Unity, select the <em>silkworm</em> font in your Project&#8217;s Fonts folder and then in the Inspector set the <strong>Font Size</strong> to <em>26</em>.</li>
</ul>
<h4>Adding The Score Text:</h4>
<ul>
<li>Drag the <em>silkworm</em> font from the <strong>Fonts</strong> folder in the Project panel and drop it into the Hierarchy.  This will automatically create a new <strong>GUI Text</strong> object in the Hierarchy using the <em>silkworm</em> font.</li>
<li>Rename the object to &#8220;<em>Score Label</em>&#8220;</li>
<li>In the <strong>Text</strong> field under GUIText in the Inspector, type &#8220;<em>SCORE</em>&#8221; in all caps without the quotes.  The Silkworm font only has uppercase letters so don&#8217;t try to use lowercase letters.</li>
<li>When you add a font to the scene, the X and Y position are automatically set to X 0.5 and Y 0.5, but we&#8217;re going to set the position of our fonts using the Pixel Offset so reset the <strong>X</strong> and <strong>Y Position</strong> to <em>0</em>.</li>
<li>Change <strong>Pixel Offset X</strong> to <em>16</em> and <strong>Pixel Offset Y</strong> to <em>592</em>.  This should position the <em>SCORE</em> text to the upper left hand corner of the Game view (note you won&#8217;t see the text in the Scene view so look at the Game view to help position the text).</li>
</ul>
<p>We also want to keep the scene nicely organized and make it a little easier to hook up the interface objects to the Scoring script later on.  You&#8217;re going to make the Score Label object a child of the Scripts object and then you&#8217;ll duplicate each of the other text objects from this one in order to save a few of the setup steps.</p>
<ul>
<li>Select the <em>Score Label</em> object in the Hierarchy and then drag and drop it onto the <em>Scripts</em> object in the Hierarchy so that it becomes a child of the Scripts object.</li>
<li>Expand the little arrow next to the <em>Scripts</em> object, select <em>Score Label</em> object and then duplicate it.</li>
<li>Rename the new text object to &#8220;<em>Score Value</em>&#8220;.</li>
<li>Change the <strong>Text</strong> to <em>0000000</em> (7 zeroes).</li>
<li>Change the <strong>Pixel Offset X</strong> to <em>150</em> and leave the <strong>Y</strong> set to <em>592</em>.</li>
</ul>
<h4>Adding The Lives Text:</h4>
<ul>
<li>Select either the Score Label or the Score Value text object and duplicate it.</li>
<li>Rename the new text object to &#8220;<em>Lives Label</em>&#8220;</li>
<li>Change the Text to <em>LIVES</em>.</li>
<li>Change the <strong>Pixel Offset X</strong> to <em>348</em> and leave <strong>Y</strong> set to <em>592</em>.</li>
<li>Duplicate <em>Lives Label</em> object and rename it to &#8220;<em>Lives Value</em>&#8220;.</li>
<li>Change the <strong>Text</strong> to <em>000</em> (3 zeroes).</li>
<li>Change the <strong>Pixel Offset X</strong> to <em>480</em> and leave <strong>Y</strong> set to <em>592</em>.</li>
</ul>
<h4>Adding The Level Text:</h4>
<ul>
<li>Select one of the other text objects you already created and duplicate it.</li>
<li>Rename the new text object to &#8220;<em>Level Label</em>&#8220;</li>
<li>Change the <strong>Text</strong> to <em>LEVEL</em>.</li>
<li>Change the <strong>Pixel Offset X</strong> to <em>576</em> and leave <strong>Y</strong> set to <em>592</em>.</li>
<li>Duplicate <em>Level Label</em> and rename the new object to &#8220;<em>Level Value</em>&#8220;</li>
<li>Change the <strong>Text</strong> to <em>000</em> (3 zeroes).</li>
<li>Change the <strong>Pixel Offset X</strong> to <em>710</em> and leave <strong>Y</strong> set to <em>592</em>.</li>
</ul>
<h4>Hooking Up The Scripts:</h4>
<p>Now we need to connect the interface text objects to the Scoring script.</p>
<ul>
<li>Select the <em>Scripts</em> object in the Hierarchy.  Under the Scoring script in the Inspector, you&#8217;ll see slots for each of the GUIText objects we just created.</li>
<li>Select each of the text objects from the Hierarchy and drag and drop them into the corresponding slot on the Scoring script.  For example, drag <em>Level Label</em> and drop it on to the <em>Level Label Text</em> field.</li>
</ul>
<p>Once all of the text objects are connected to the <em>Scoring</em> script, press <strong>Play</strong> in Unity.  You should see the SCORE, LIVES and LEVEL text turn to a red color that matches the border color and the number of lives should change to 005 and the level number should change to 001.  </p>
<p>Now if you run the character over a pickup object in the game, the Score should increase by 250.</p>
<h3>Make The Top Border</h3>
<p>To help keep the interface text separate from the gameplay area, we&#8217;re going to add a thin border just under the interface text.</p>
<ul>
<li>Create a new cube by going to <em>Game Object &#8211;> Create Other &#8211;> Cube</em></li>
<li>Rename the object to &#8220;<em>border top</em>&#8220;.</li>
<li>Set the <strong>Transform Position X</strong> to <em>0</em>, <strong>Y </strong>to <em>8.7</em> and <strong>Z</strong> to <em>1</em>.</li>
<li>Set the <strong>Scale X</strong> to <em>26</em>, <strong>Y</strong> to <em>0.2</em> and <strong>Z</strong> to <em>1</em>.</li>
<li>Find the <em>border</em> material in the Materials folder and then drag and drop it on to the <em>border top</em> object.  We created the border material in a previous article.</li>
</ul>
<p>If you followed all of the steps above, then your Hierarchy and Inspector (with the Scripts object selected) should look the following:</p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-scoringtext1.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-scoringtext1.png" alt="2dGamePt4 Scoring Text" title="2dGamePt4 Scoring Text" width="502" height="362" class="alignnone size-full wp-image-1125" /></a></p>
<h3>Creating The GLOBAL Prefab</h3>
<p>Next we want to do some things to keep the scene nicely organized and also to make it easy to add the key components to any new levels that you create.  We&#8217;re going to create a GLOBAL prefab that contains the Main Camera, the Scripts (which includes the interface text objects) and the top and bottom borders.</p>
<ul>
<li>Create an empty game object by boing to <em>Object &#8211;> Create Empty</em>, zero out the transforms so that it&#8217;s at 0,0,0 on the X,Y,Z and then rename the object to &#8220;<em>GLOBAL</em>&#8220;.</li>
<li>Select the <em>Main Camera</em> in the Hierarchy and then drag and drop it onto the <em>GLOBAL</em> object so that the Main Camera becomes a child of GLOBAL.</li>
<li>Select the <em>Scripts</em> object in the Hierarchy and drag and drop it onto the <em>GLOBAL</em> object.</li>
<li>Select the <em>border bottom</em> and <em>border top</em> objects (make sure they&#8217;re not already a child of some other game object first) and drag and drop them onto the <em>GLOBAL</em> object.</li>
</ul>
<p>That&#8217;s everything we need for the GLOBAL object, so now let&#8217;s turn it into a prefab that can be easily added to other levels and updated later if we need to make changes.</p>
<ul>
</li>
<p>Select the <em>GLOBAL</em> object in the Hierarchy and then drag and drop it onto the <strong>Prefabs</strong> folder in the Project panel.</li>
<h3>Creating The Player Prefab</h3>
<p>In Part 3 of the series, I forgot to create a prefab from our player character, so let&#8217;s do that now if you haven&#8217;t already.</p>
<ul>
<li>Select the <em>player</em> object in the Hierarchy and zero his Transform position X to 0, Y to 0 and leave the Z position set to -1.  This step is optional, I just like to have my game objects centered when I initially create a prefab.</li>
</ul>
<p>If you&#8217;ve followed all of the steps so far, then your Project and scene Hierarchy should look like the following image:<br />
<a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-globalprefab.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-globalprefab.png" alt="2dGamePt4 Global Prefab" title="2dGamePt4 Global Prefab" width="412" height="320" class="alignnone size-full wp-image-1126" /></a></p>
<h3>Conclusion</h3>
<p>We&#8217;re getting a lot closer to having a complete game.  Over the course of the next few tutorials I hope to add enemy AI (still working on a good solution for them), breakable bricks, a front end interface, an exit ladder (for exiting levels), some kind of manager for keeping track of your current level and a few other things like a game over screen.  Let me know in the comments if there are other things you&#8217;d like to see covered.</p>
<p>If you followed all of the steps so far, then your game should look something like this image (click to see a larger version):</p>
<p><a href="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-gameview.png"><img src="http://www.rocket5studios.com/wp-content/uploads/2011/11/2dGamePt4-gameview-sm.png" alt="2dGamePt4 Game Shot" title="2dGamePt4 Game Shot" width="536" height="433" class="alignnone size-full wp-image-1129" /></a></p>
<p>You can <a href="http://www.rocket5studios.com/files/Rocket5_2DGame_blogPt4.zip" title="Download Rocket5_2DGame_blogPt4.zip">download the project up to this point</a> and you can <a href="http://www.rocket5studios.com/2dgametutorial/Rocket52DGamePart4.html" title="Play the web version">play the web version of the project here</a>.</p>
<p>If you like this post, please be sure to say hi in the comments and follow me on <a href="http://www.twitter.com/rocket5studios" title="Rocket 5 on Twitter">Twitter</a> and <a href="http://www.facebook.com/rocket5studios" title="Rocket 5 on Facebook">Facebook</a>. Your support helps to keep these tutorial coming. This blog post is part of <a href="http://idevblogaday.com/" title="iDevBlogADay">iDevBlogADay</a>, a collection of indie developers writing about their development experiences.</p>
<h3>More Tutorials In This Series</h3>
<p><a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-in-unity3d-using-only-free-tools-part-1/" title="Make A 2D Game in Unity3D Using Only Free Tools Part 1">Make A 2D Game in Unity3D Using Only Free Tools Part 1</a><br />
<a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-2/" title="Make A 2D Game with Unity3D Using Only Free Tools Part 2">Make A 2D Game with Unity3D Using Only Free Tools Part 2</a><br />
<a href="http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-3/" title="Make A 2D Game With Unity3D Using Only Free Tools Part 3">Make A 2D Game With Unity3D Using Only Free Tools Part 3</a></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;count=horizontal&amp;text=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%20Part%204" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;counturl=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;count=horizontal&amp;text=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%20Part%204" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.rocket5studios.com%2Ftutorials%2Fmake-a-2d-game-with-unity3d-using-only-free-tools-part-4%2F&amp;title=Make%20A%202D%20Game%20With%20Unity3D%20Using%20Only%20Free%20Tools%20Part%204" id="wpa2a_16"><img src="http://www.rocket5studios.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.rocket5studios.com/tutorials/make-a-2d-game-with-unity3d-using-only-free-tools-part-4/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

