<?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>Technical Art for Games &#187; Games</title>
	<atom:link href="http://adammechtley.com/category/games/feed/" rel="self" type="application/rss+xml" />
	<link>http://adammechtley.com</link>
	<description>Tips, Tutorials, and Tools - by Adam Mechtley</description>
	<lastBuildDate>Wed, 14 Jul 2010 02:27:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Biped Editor for Unity 3.0</title>
		<link>http://adammechtley.com/2010/07/biped-editor-for-unity-3-0/</link>
		<comments>http://adammechtley.com/2010/07/biped-editor-for-unity-3-0/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 02:27:33 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[3D Animation]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[touch KO]]></category>

		<guid isPermaLink="false">http://adammechtley.com/?p=814</guid>
		<description><![CDATA[I&#8217;ve been really head-down for awhile with work, the latest of which has involved some pretty substantial refactoring of Touch KO for a big update this summer (finally!). Since I&#8217;ve been working in Unity 3.0, I thought I&#8217;d share a short clip of a tool I developed during the refactoring process. It&#8217;s a biped component [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been really head-down for awhile with work, the latest of which has involved some pretty substantial refactoring of Touch KO for a big update this summer (finally!). Since I&#8217;ve been working in Unity 3.0, I thought I&#8217;d share a short clip of a tool I developed during the refactoring process. It&#8217;s a biped component along with an editor for interactively adjusting collision shapes and sizes as well as joint limits. The component also has functionality to perform an automatic mass distribution based on human values, as well as interfaces for entering and exiting ragdoll. If I manage to get caught up on things after the update I&#8217;ll probably share the code on here eventually, but as anyone who follows the site may have guessed it&#8217;s been really busy lately O_o.</p>
<p><strong>Note:</strong> for best viewing, I recommend turning the resolution on the video up to 1080p and watching full-screen, since that&#8217;s my native resolution and it will be easier to read some of the buttons.</p>
<p><object  width="640" height="385"><param name="movie" value="http://www.youtube.com/v/V5SBiCb1EYc&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/V5SBiCb1EYc&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://adammechtley.com/2010/07/biped-editor-for-unity-3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Plug-in Coming Soon: AM_Ribbon</title>
		<link>http://adammechtley.com/2010/02/new-plug-in-coming-soon-am_ribbon/</link>
		<comments>http://adammechtley.com/2010/02/new-plug-in-coming-soon-am_ribbon/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:54:58 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[General Interest]]></category>
		<category><![CDATA[Maya Python]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Marian]]></category>
		<category><![CDATA[Maya]]></category>
		<category><![CDATA[Node]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://adammechtley.com/?p=613</guid>
		<description><![CDATA[Things have been unusually hectic so far this year, and with GDC on the horizon it&#8217;s not looking to be much clearer for awhile. However, that doesn&#8217;t mean I haven&#8217;t found a way to make all of my different obligations overlap in some ways! I&#8217;ve been working a little bit as a consultant over the [...]]]></description>
			<content:encoded><![CDATA[<p>Things have been unusually hectic so far this year, and with GDC on the horizon it&#8217;s not looking to be much clearer for awhile. However, that doesn&#8217;t mean I haven&#8217;t found a way to make all of my different obligations overlap in some ways! I&#8217;ve been working a little bit as a consultant over the last few months to help out <a title="Indie game developer Infinite Ammo, creators of Marian" href="http://infiniteammo.ca/">Infinite Ammo</a> with an upcoming title: Marian.</p>
<p>During the course of my work on the project, I developed a new Python plug-in for Maya to help out with hair modeling. I will hopefully have a chance to deploy a new version of my free Python package soon that will include it, but in the meantime I thought I might share this video that Alec <a title="Making hair for Infinite Ammo's Marian: Adam's AM_Ribbon Maya Python plug-in for modeling hair from NURBS curves" href="http://infiniteammo.ca/blog/marian-mondays-maya-hair/">posted up on the IA website</a> where I show what the plug-in does. Hopefully some other folks out there will find it useful too!</p>
<p><object class ="video" width="425" height="344"><param name="movie" value="http://www.youtube.com/v/RzjsUQ3hrcs&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RzjsUQ3hrcs&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://adammechtley.com/2010/02/new-plug-in-coming-soon-am_ribbon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up your PYTHONPATH environment variable globally on OSX</title>
		<link>http://adammechtley.com/2009/10/setting-up-your-pythonpath-environment-variable-globally-on-osx/</link>
		<comments>http://adammechtley.com/2009/10/setting-up-your-pythonpath-environment-variable-globally-on-osx/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 18:29:00 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[General Interest]]></category>
		<category><![CDATA[Maya Python]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Maya]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.adammechtley.com/?p=459</guid>
		<description><![CDATA[Here&#8217;s another time-saver for OSX users. Don&#8217;t use environment.plist for global environment variables! When you want to add locations to your Python path, you have a couple of different options. Ryan talked about this in greater detail on his site, so I won&#8217;t go into the details for all of these. If you want to [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another time-saver for OSX users. Don&#8217;t use <a href="http://developer.apple.com/mac/library/qa/qa2001/qa1067.html">environment.plist</a> for global environment variables!<br />
<span id="more-459"></span><br />
When you want to add locations to your Python path, you have a couple of different options. Ryan talked about this in <a title="Importing modules and changing your Python path for Maya" href="http://www.rtrowbridge.com/blog/2008/11/27/maya-python-import-scripts/">greater detail</a> on his site, so I won&#8217;t go into the details for all of these. If you want to permanently add locations to your path, you have three general alternatives:</p>
<ol>
<li>Use sys.path.append() in your userSetup.py file</li>
<li>Set the value for PYTHONPATH in your maya.env file</li>
<li>Set the value for PYTHONPATH at the system level</li>
</ol>
<p><a href="http://download.autodesk.com/us/maya/2010help/index.html?url=Python_Python_in_Maya.htm,topicNumber=d0e181290"><br />
Autodesk&#8217;s documentation</a> can help you figure out the first two methods reasonably well, and they work fine for most situations. However, if you have locations you want to use with Maya as well as other interpreters, the third option may be helpful. While doing this on Windows is relatively easy, it is a little painful on Mac OSX.</p>
<p>Most Google searching will send you to some variation on <a title="The bad way to set up an environment variable on OSX" href="http://www.astro.washington.edu/users/rowen/AquaEnvVar.html">this technique</a>, whereby you create an environment.plist file containing the value for your PYTHONPATH variable and place it in a folder ~/.MacOSX. Maybe this will work for you, but maybe it won&#8217;t. It didn&#8217;t work for me. What&#8217;s the problem?</p>
<p>Apparently, when you start an application from Spotlight as opposed to Finder, it has a different parent process—one that does not use the environment.plist file. I have gotten used to using Spotlight to start all of my applications and to perform the majority of my menu operations because it saves me huge amounts of time while working (and I don&#8217;t want to have to remember where stuff is). Fortunately, there is a fix that will ensure your environment variables will be properly set in all contexts. I suggest you <a title="How to set up a global environment variable in OSX the right way" href="http://www.digitaledgesw.com/node/31">read about the details</a> if you are interested, but if you just want to work then use the following solution:</p>
<ol>
<li>If you do not have a launchd.conf file in /etc then create one</li>
<li>Edit launchd.conf to contain a line like this: <code>setenv PYTHONPATH /Users/Shared/Autodesk/maya/scripts</code></li>
<li>Reboot</li>
</ol>
<p>You can now confirm that this has worked by opening Terminal from Spotlight and entering the <code>set</code> command.</p>
]]></content:encoded>
			<wfw:commentRss>http://adammechtley.com/2009/10/setting-up-your-pythonpath-environment-variable-globally-on-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Touch KO is out!</title>
		<link>http://adammechtley.com/2009/07/touch-ko-is-out/</link>
		<comments>http://adammechtley.com/2009/07/touch-ko-is-out/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 16:54:43 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[touch KO]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.adammechtley.com/?p=446</guid>
		<description><![CDATA[I&#8217;m out of town right now, so have to be pretty brief, but I wanted to say that Touch KO is finally out now! You can pick it up in the App Store for a special launch sale price of $2.99! Perfect for blowing off some steam if you&#8217;re waiting around somewhere.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m out of town right now, so have to be pretty brief, but I wanted to say that Touch KO is finally out now! You can <a title = "Touch KO - Boxing Game for iPhone and iPod Touch" href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=309518895&#038;mt=8">pick it up in the App Store</a> for a special launch sale price of $2.99! Perfect for blowing off some steam if you&#8217;re waiting around somewhere.</p>
<p><a title = "Touch KO - Boxing Game for iPhone and iPod Touch" href = "http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=309518895&#038;mt=8"><img class = "screenshot" alt = "Touch KO screenshot" src = "http://adammechtley.com/images/portfolio/tko_screen4.jpg" / ></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adammechtley.com/2009/07/touch-ko-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maya Python &#8211; The Book</title>
		<link>http://adammechtley.com/2009/07/maya-python-the-book/</link>
		<comments>http://adammechtley.com/2009/07/maya-python-the-book/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 21:57:47 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[General Interest]]></category>
		<category><![CDATA[Maya Python]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Crane Wars]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[touch KO]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.adammechtley.com/?p=435</guid>
		<description><![CDATA[Well we have finally wrapped up development on Touch KO! The last few weeks have been hectic as we had some last-minute requirements sort of indirectly imposed on us by Apple, but everything is wrapped up and sent off to Chillingo. One of my next projects is a book on the Maya Python API for [...]]]></description>
			<content:encoded><![CDATA[<p>Well we have finally wrapped up development on Touch KO! The last few weeks have been hectic as we had some last-minute requirements sort of indirectly imposed on us by Apple, but everything is wrapped up and sent off to Chillingo.</p>
<p>One of my next projects is a book on the Maya Python API for Morgan Kaufmann (publisher of David Gould&#8217;s Complete Maya Programming texts). <a title="Ryan Trowbridge's blog about Maya Python" href="http://rtrowbridge.com/blog">Ryan Trowbridge</a> and I will be working on this together over the next year, so it is sure to be fun and exciting. We have a pretty comprehensive plan for what the book will cover, but please do feel free to contact either of us if there are specific things you would like to see!</p>
<p>In other news, <a href="http://blurst.com/crane-wars/play" title="Play Crane Wars free on blurst.com!">Crane Wars</a>, the newest <a title="Play free quirky web games at blurst.com!" href="http://blurst.com">Blurst</a> game, was released a couple weeks ago. Among other things, I focused primarily on the characters in it. I did <a title="Facial rigs in Crane Wars" href="../../../2009/05/crane-wars/">a post awhile ago that showed the facial rigs</a> I created for them. Go play it now!</p>
<p><a href="http://blurst.com/crane-wars/play" title="Play Crane Wars free on blurst.com!"><img class="screenshot" src="http://adammechtley.com/images/portfolio/cw_logo.jpg" alt="Crane Wars logo"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://adammechtley.com/2009/07/maya-python-the-book/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
