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

<channel>
	<title>Hazel McKendrick &#187; Javascript</title>
	<atom:link href="http://hazelmckendrick.com/journal/tag/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://hazelmckendrick.com</link>
	<description>Programming and Games Technology Portfolio</description>
	<lastBuildDate>Mon, 20 Jun 2011 17:44:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Unity Is Free</title>
		<link>http://hazelmckendrick.com/journal/unity-is-free</link>
		<comments>http://hazelmckendrick.com/journal/unity-is-free#comments</comments>
		<pubDate>Mon, 02 Nov 2009 23:53:51 +0000</pubDate>
		<dc:creator>Hazel</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Games Engines]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Rotation]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://hazelmckendrick.com/?p=1662</guid>
		<description><![CDATA[Having heard that the Unity game engine is now being offered for free, I figured I would be a fool not to take advantage and give it a go. As such, I spent a little time working through tutorials, playing with various features and starting a small game project. I figured as a quick introduction [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hazelmckendrick.com/wp-content/uploads/2009/11/ss2.jpg"><img src="http://hazelmckendrick.com/wp-content/uploads/2009/11/ss2-300x187.jpg" alt="ss1" title="ss1" width="300" height="187" class="alignright size-medium wp-image-1668" /></a>Having heard that the <a href="http://unity3d.com/">Unity game engine</a> is now being offered for free, I figured I would be a fool not to take advantage and give it a go.  As such, I spent a little time working through tutorials, playing with various features and starting a small game project.</p>
<p>I figured as a quick introduction I would work on a clone of <a href="http://hazelmckendrick.com/demos/flash-game-rotation">Rotation</a>, an Asteroids/Duo/Space Invaders sort of game which I created in Flash a couple of years ago.  </p>
<p>Overall things went (slightly surprisingly) very smoothly.  Initially I had to cling the <a href="http://unity3d.com/support/documentation/ScriptReference/index.html">script reference</a> but once I had a better idea of the functionality available, everything started to come together.  I don&#8217;t have much experience with comprehensive game engines like this, but Unity certainly seemed to provide far fewer &#8220;Why on earth was it designed like <i>that</i>?&#8221; moments than I&#8217;ve experienced in the past; it also took far less time to get a general overview of in the first place.  I can already see how this tool could be useful for quick gameplay mock-ups as well as complete, commercial products. <span id="more-1662"></span></p>
<p>So do I wish Unity had been a possibility when we worked on <a href="http://hazelmckendrick.com/demos/prototype-game-some-assembly-required">Some Assembly Required</a> last year?  I&#8217;m not sure.  In some ways, I think it perhaps makes things too easy when it comes to games programming as a learning experience.  Sure, there are a lot of great features and we almost certainly could have created a more complete game in the short time we had available, but at the same time we wouldn&#8217;t have learned about using and integrating 3rd party libraries, structuring the application overall or converting and importing troublesome assets.  </p>
<p>That&#8217;s also a reason I&#8217;m hesitant to keep working on this project &#8211; I&#8217;m not sure I&#8217;m getting as much from it as I could by tackling something more technical or in a different language.  We&#8217;ll see what time permits though, as working on a game to completion is obviously a challenging exercise in itself and it seems possible that having the engine there would allow me to focus on difficult problems while the other stuff is taken care of.</p>
<p>Since I&#8217;m not terribly sure this project will make it any further though (I do have an honours project to take care of, amongst other things), here&#8217;s the little segment I&#8217;ve completed so far:</p>
<ul>
<li>You&#8217;ll need the <a href="http://unity3d.com/webplayer/">Unity Web Player</a>.</li>
<li>Use left and right arrows to rotate your ships.</li>
<li>Use space to shoot the cubes (asteroids. Probably thrown through space by bugs we&#8217;re at war with on some distant planet)</li>
</ul>
<p><object id="UnityObject" classid="clsid:444785F1-DE89-4295-863A-D46C3A781394" width="675" height="450" codebase="http://webplayer.unity3d.com/download_webplayer/UnityWebPlayer.cab#version=2,0,0,0"><param name="src" value="http://hazelmckendrick.com/wp-content/uploads/2009/10/rotation.unity3d" /><embed id="UnityEmbed" src="http://hazelmckendrick.com/wp-content/uploads/2009/10/rotation.unity3d" width="675" height="450" type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" /><br />
</object></p>
<p>Anyway, if you&#8217;ve given Unity a try leave a comment below and let me know your experiences!</p>
]]></content:encoded>
			<wfw:commentRss>http://hazelmckendrick.com/journal/unity-is-free/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

