﻿<?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>Ray&#039;s Pointless Software</title>
	<atom:link href="http://www.raybrierly.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raybrierly.com</link>
	<description></description>
	<lastBuildDate>Sun, 04 Nov 2012 02:08:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>NGUI dynamic table contents</title>
		<link>http://www.raybrierly.com/2012/10/30/ngui-dynamic-table-contents/</link>
		<comments>http://www.raybrierly.com/2012/10/30/ngui-dynamic-table-contents/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 23:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[NGUI]]></category>
		<category><![CDATA[UITable]]></category>
		<category><![CDATA[Unity 3d]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=81</guid>
		<description><![CDATA[If you&#8217;re looking to have dynamic tables in your UI and you&#8217;re using NGUI for Unity3d, here&#8217;s how I&#8217;ve been able to do it: In this example I have a table that contains a data driven list of available levels for a level select screen. Create a UITable within your panel, and set the columns/padding/etc. [...]]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re looking to have dynamic tables in your UI and you&#8217;re using NGUI for Unity3d, here&#8217;s how I&#8217;ve been able to do it:</p>
<p>In this example I have a table that contains a data driven list of available levels for a level select screen.</p>
<p>Create a UITable within your panel, and set the columns/padding/etc. Create a prefab to represent one of the items in your UI, and set it to a member variable of your UI script.</p>
<pre>public GameObject AvailableLevelPrefab;</pre>
<p>In the code that populates the table, create a reference to the table GameObject, loop over the items that you want to include in the table, and instantiate a prefab for each level.</p>
<pre>//table game object
var levelsPanel = GameObject.Find("LevelsTable");
foreach(var level in levelsForPlanet){
 var levelUIFragment = Instantiate(AvailableLevelPrefab, levelsPanel.transform.position, levelsPanel.transform.rotation) as GameObject;

//change the level name according to how you want the table items sorted.
 levelUIFragment.name = level.SceneName;

//parent the table item to the table game object
 levelUIFragment.transform.parent = levelsPanel.transform;
 //parenting the item will change its scale. Change it back to whatever it was before
 levelUIFragment.transform.localScale = Vector3.one;
//once the table item exists, you can alter the UI elements so that they match the item. 
//in this case, I'm changing the property of a button so that when clicked, it will bring the player to the correct level
var buttonGameObject = levelUIFragment.transform.Find("Button");
 var button = buttonGameObject.GetComponent&lt;SelectLevelButton&gt;();
 button.PlanetName = level.SceneName;
 }

//once everything is instantiated, call the reposition method in the levels panel
 levelsPanel.GetComponent&lt;UITable&gt;().Reposition();</pre>
<p>I&#8217;ve used this method a few times, and it seems to work pretty well. Anyone out there have any other methods for creating data-driven UI?</p>
<p>Edit: Cody just commented with an easier way to add the item to the table. Most everything stays the same, but instead of instantiating the prefab, parenting, and changing the scale, NGUI has a helper method that does all of that for you. This is how it would look:</p>
<pre>var levelUIFragment = NGUITools.AddChild(levelsPanel, AvailableLevelPrefab);</pre>
<p>Thanks for the tip Cody!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/10/30/ngui-dynamic-table-contents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Awesome review for Embiggen Plus</title>
		<link>http://www.raybrierly.com/2012/10/27/awesome-review-for-embiggen-plus/</link>
		<comments>http://www.raybrierly.com/2012/10/27/awesome-review-for-embiggen-plus/#comments</comments>
		<pubDate>Sat, 27 Oct 2012 01:57:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Embiggen]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=79</guid>
		<description><![CDATA[Android user Ade just posted a great review with yet another use case for Embiggen Plus: &#8220;Was at a gig by my favourite artist, used this to show him a message, he read it and gave me a shout out. My life is complete. Amazing app. Thank you.&#8221;]]></description>
				<content:encoded><![CDATA[<p>Android user Ade just posted a great review with yet another use case for <a href="https://play.google.com/store/apps/details?id=com.briercan.embiggenplus">Embiggen Plus</a>:</p>
<blockquote><p>&#8220;Was at a gig by my favourite artist, used this to show him a message, he read it and gave me a shout out. My life is complete. Amazing app. Thank you.&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/10/27/awesome-review-for-embiggen-plus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cluster Missile</title>
		<link>http://www.raybrierly.com/2012/10/17/cluster-missile/</link>
		<comments>http://www.raybrierly.com/2012/10/17/cluster-missile/#comments</comments>
		<pubDate>Wed, 17 Oct 2012 01:02:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cluster Missile]]></category>
		<category><![CDATA[Scrap Rocket]]></category>
		<category><![CDATA[Unity 3d]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=77</guid>
		<description><![CDATA[One of the in-game weapons I want to have for the player is some sort of cluster missile &#8211; basically, you fire one projectile, and it explodes and creates a couple more projectiles, which explode, and so on. I&#8217;m trying to document how I do this, so here goes: I created a simple projectile in [...]]]></description>
				<content:encoded><![CDATA[<p>One of the in-game weapons I want to have for the player is some sort of cluster missile &#8211; basically, you fire one projectile, and it explodes and creates a couple more projectiles, which explode, and so on. I&#8217;m trying to document how I do this, so here goes:</p>
<p>I created a simple projectile in blender that sorta looks like a missile (it&#8217;s really just a cylinder with the center vert pulled out of one of the ends. I imported the model and created an empty game object to contain the model. This way, it&#8217;s easy to transform the model and attach custom scripts to it.</p>
<ul>
<li>ClusterMissileEmpty
<ul>
<li>ClusterMissileModel</li>
</ul>
</li>
</ul>
<p>The empty object has the actual script attached to it. You can find it here: <a href="http://pastebin.com/yZpRyJkq">http://pastebin.com/yZpRyJkq</a></p>
<p>Basically, each missile spawns copies of itself and rotates the copies. I&#8217;ll probably add some sort of explosion effect, and change the model so that it doesn&#8217;t look so terrible.</p>
<p>Here&#8217;s what it looks like:</p>
<p><iframe width="500" height="375" src="http://www.youtube.com/embed/-pWoQ-SCJZs?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/10/17/cluster-missile/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scrap Rocket (working title)</title>
		<link>http://www.raybrierly.com/2012/10/16/scrap-rocket-working-title/</link>
		<comments>http://www.raybrierly.com/2012/10/16/scrap-rocket-working-title/#comments</comments>
		<pubDate>Tue, 16 Oct 2012 00:47:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Scrap Rocket]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=73</guid>
		<description><![CDATA[A couple of months ago, I started working on a new game using Unity3d. It&#8217;s a little late in the process, but I figure I should start documenting the process of making the game &#8211; hopefully I&#8217;ll be able to look back on it and see the progress I&#8217;ve made on the game. So here&#8217;s [...]]]></description>
				<content:encoded><![CDATA[<p>A couple of months ago, I started working on a new game using Unity3d. It&#8217;s a little late in the process, but I figure I should start documenting the process of making the game &#8211; hopefully I&#8217;ll be able to look back on it and see the progress I&#8217;ve made on the game.</p>
<p>So here&#8217;s what I&#8217;ve made so far:</p>
<ul>
<li>A working spacepod which can be controlled on a touchscreen</li>
<li>The start of a couple of levels</li>
<li>A few enemies with basic AI</li>
<li>A title/level select screen which is missing a bunch of functionality,  but I think it looks fairly decent.</li>
<li>The main game mechanic &#8211; which is the ability for the spacepod to tow scrap back to the start of the level</li>
<li>An equipment selection mechanic</li>
<li>A few different weapons</li>
<li>A shield for the spacepod</li>
</ul>
<p>I&#8217;m probably forgetting some stuff, but there will be more posts to come. Here are a few initial screenshots:</p>
<p><a href="http://www.raybrierly.com/wp-content/uploads/2012/10/TitleScreen.png"><img class="alignnone size-medium wp-image-74" title="Scrap Rocket Title Screen" src="http://www.raybrierly.com/wp-content/uploads/2012/10/TitleScreen-300x172.png" alt="Scrap Rocket Title Screen" width="300" height="172" /></a></p>
<p><a href="http://www.raybrierly.com/wp-content/uploads/2012/10/Level01.png"><img class="alignnone size-medium wp-image-75" title="Level 1" src="http://www.raybrierly.com/wp-content/uploads/2012/10/Level01-300x173.png" alt="Level 1" width="300" height="173" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/10/16/scrap-rocket-working-title/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unity spiral effect</title>
		<link>http://www.raybrierly.com/2012/09/29/unity-spiral-effect/</link>
		<comments>http://www.raybrierly.com/2012/09/29/unity-spiral-effect/#comments</comments>
		<pubDate>Sat, 29 Sep 2012 22:53:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Particle]]></category>
		<category><![CDATA[Spiral]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=70</guid>
		<description><![CDATA[I just found a pretty cool spiral effect for unity &#8211; just hook it up to some legacy particle emitters and it works great: http://wiki.unity3d.com/index.php?title=Particle_Spiral_Effect One note, make sure you un-check the Emit setting in the emitter, otherwise it&#8217;ll use the default emission setting]]></description>
				<content:encoded><![CDATA[<p>I just found a pretty cool spiral effect for unity &#8211; just hook it up to some legacy particle emitters and it works great: <a href="http://wiki.unity3d.com/index.php?title=Particle_Spiral_Effect">http://wiki.unity3d.com/index.php?title=Particle_Spiral_Effect</a></p>
<p>One note, make sure you un-check the Emit setting in the emitter, otherwise it&#8217;ll use the default emission setting</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/09/29/unity-spiral-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embiggen with Tasker</title>
		<link>http://www.raybrierly.com/2012/09/18/embiggen-with-tasker/</link>
		<comments>http://www.raybrierly.com/2012/09/18/embiggen-with-tasker/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 00:00:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=67</guid>
		<description><![CDATA[Embiggen user Tim just asked me if there was a way to use Tasker with Embiggen, and it turns out there is. Lets say we wanted to have the contents of a text message show up in Embiggen when you get a text message. Here&#8217;s what you do: Create a profile that listens for an [...]]]></description>
				<content:encoded><![CDATA[<p>Embiggen user Tim just asked me if there was a way to use <a href="https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&amp;feature=nav_result#?t=W251bGwsMSwyLDNd">Tasker</a> with <a href="https://play.google.com/store/apps/details?id=com.briercan.embiggen&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5icmllcmNhbi5lbWJpZ2dlbiJd">Embiggen</a>, and it turns out there is. Lets say we wanted to have the contents of a text message show up in Embiggen when you get a text message. Here&#8217;s what you do:</p>
<ol>
<li>Create a profile that listens for an incoming text message (New profile -&gt; Event -&gt; Phone -&gt; Received Text)</li>
<li>Create a new Send Intent task with the following settings:</li>
</ol>
<p><strong>Extra:</strong><br />
Text:%SMSRB</p>
<p><strong>Package:</strong><br />
com.briercan.embiggen<br />
(com.briercan.embiggenplus if you&#8217;re using <a href="https://play.google.com/store/apps/details?id=com.briercan.embiggenplus&amp;feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLmJyaWVyY2FuLmVtYmlnZ2VucGx1cyJd">Embiggen Plus</a>)</p>
<p><strong>Class:</strong><br />
com.briercan.embiggen.BigWordsActivity<br />
(com.briercan.embiggenplus.BigWordsActivity if you&#8217;re using <a href="https://play.google.com/store/apps/details?id=com.briercan.embiggenplus&amp;feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLmJyaWVyY2FuLmVtYmlnZ2VucGx1cyJd">Embiggen Plus</a>)</p>
<p>It should look something like this:</p>
<p><a href="http://www.raybrierly.com/wp-content/uploads/2012/09/android_tasker_setup.png"><img class="alignnone size-medium wp-image-68" title="android_tasker_setup" src="http://www.raybrierly.com/wp-content/uploads/2012/09/android_tasker_setup-187x300.png" alt="" width="187" height="300" /></a></p>
<p>If you want to show different text for the app, just use a different variable in the Extras field instead of %SMSRB. For example, if you want the name of the person who texted you, put the following in the Extras field:</p>
<p>Text:%SMSRF</p>
<p>I hope this helps! Post a comment if you have any questions or if you have a good idea for how to use Tasker with Embiggen!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/09/18/embiggen-with-tasker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New embiggen updates</title>
		<link>http://www.raybrierly.com/2012/04/14/new-embiggen-updates/</link>
		<comments>http://www.raybrierly.com/2012/04/14/new-embiggen-updates/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 13:10:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=65</guid>
		<description><![CDATA[Version 1.5.1: Keyboard now shows when clicking back from the embiggened text screen (thanks for the idea Duncan!) New animations in Embiggen Plus! &#160;]]></description>
				<content:encoded><![CDATA[<p>Version 1.5.1:</p>
<ul>
<li>Keyboard now shows when clicking back from the embiggened text screen (thanks for the idea Duncan!)</li>
<li>New animations in <a href="https://play.google.com/store/apps/details?id=com.briercan.embiggenplus&amp;hl=en">Embiggen Plus</a>!</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/04/14/new-embiggen-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OverLand V 0.1.5</title>
		<link>http://www.raybrierly.com/2012/03/06/overland-v-0-1-5/</link>
		<comments>http://www.raybrierly.com/2012/03/06/overland-v-0-1-5/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 03:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=63</guid>
		<description><![CDATA[Throw attack animation tower projectiles]]></description>
				<content:encoded><![CDATA[<ul>
<li>Throw attack animation</li>
<li>tower projectiles</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/03/06/overland-v-0-1-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overland v 0.1.4</title>
		<link>http://www.raybrierly.com/2012/03/03/overland-v-0-1-4/</link>
		<comments>http://www.raybrierly.com/2012/03/03/overland-v-0-1-4/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 14:59:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Change Log]]></category>
		<category><![CDATA[Overland]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=62</guid>
		<description><![CDATA[&#160; Stat based attacks Armor actually protects you! Run game in landscape mode (switching back and forth is still an issue) Removed status bar in gameplay window Bouncy Balls move faster Fixed quest list screen Adjusted experience/levels]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<ul>
<li>Stat based attacks</li>
<li>Armor actually protects you!</li>
<li>Run game in landscape mode (switching back and forth is still an issue)</li>
<li>Removed status bar in gameplay window</li>
<li>Bouncy Balls move faster</li>
<li>Fixed quest list screen</li>
<li>Adjusted experience/levels</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/03/03/overland-v-0-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dry-clean only shirts</title>
		<link>http://www.raybrierly.com/2012/03/01/61/</link>
		<comments>http://www.raybrierly.com/2012/03/01/61/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 00:13:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.raybrierly.com/?p=61</guid>
		<description><![CDATA[The late comedian Mitch Hedberg once said: My shirt is dry-clean only, which means that it is dirty. This is one of his many funny one-liners, but it has significance when making software. If it&#8217;s a pain to take a shirt to a dry cleaners, you&#8217;re not likely to clean the shirt at all. The same goes [...]]]></description>
				<content:encoded><![CDATA[<p>The late comedian Mitch Hedberg once said:</p>
<blockquote><p>My shirt is dry-clean only, which means that it is dirty.</p></blockquote>
<p>This is one of his many funny one-liners, but it has significance when making software. If it&#8217;s a pain to take a shirt to a dry cleaners, you&#8217;re not likely to clean the shirt at all. The same goes for unit testing, making reliable backups, having a branching strategy, etc. Sometimes the tools you&#8217;re using make it hard to follow these best practices, so they don&#8217;t get done.</p>
<p>If you find yourself saying things like: &#8220;Branching, oh no, we use VSS, merging is a nightmare!&#8221; or &#8220;I can&#8217;t unit test, our code has so many dependencies&#8221;, maybe it&#8217;s time to start looking into fixing the reasons why you can&#8217;t branch or unit test. Maybe switch to git, or a recent version of TFS if you can. Set up some dependency injection so that your code is easier to test. Sometimes it&#8217;s not easy to make these types of changes, but it&#8217;s usually worth it.</p>
<p>What are some other &#8220;Dry-clean only shirts&#8221; in the software world, and how can you fix them?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raybrierly.com/2012/03/01/61/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
