<?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>Ensemble Online</title>
	<atom:link href="http://playensemble.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://playensemble.com</link>
	<description>MMORTS - A social strategy game</description>
	<lastBuildDate>Fri, 26 Aug 2011 01:08:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Alpha 2 And lots of news!</title>
		<link>http://playensemble.com/2011/06/alpha-2-and-lots-of-news/</link>
		<comments>http://playensemble.com/2011/06/alpha-2-and-lots-of-news/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 03:54:59 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://playensemble.com/?p=180</guid>
		<description><![CDATA[Phew, it&#8217;s been an exciting few months for us. We won People&#8217;s Choice at 59DaysOfCode 2011! You can check out pictures from the event here. We&#8217;ve launched a Facebook Fan Page and a Twitter account, so go like us and follow us! We published the first volume of our backstory and canon The Legend of [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<div id="attachment_186" class="wp-caption aligncenter" style="width: 522px"><a href="http://playensemble.com/wp-content/uploads/2011/06/DSC00793.jpg"><img class="size-large wp-image-186  colorbox-180" title="59DaysOfCode 3 Screens of Ensemble win" src="http://playensemble.com/wp-content/uploads/2011/06/DSC00793-1024x681.jpg" alt="Our beautiful 3, 70&quot; LED booth" width="512" height="340" /></a><p class="wp-caption-text">Ensemble Online at 59DaysOfCode</p></div>
</div>
<div>Phew, it&#8217;s been an exciting few months for us.</div>
<p></p>
<div id="_mcePaste">We won People&#8217;s Choice at <a href="http://www.59daysofcode.com" target="_blank">59DaysOfCode 2011</a>! You can check out pictures from the event <a href=" http://www.facebook.com/media/set/?set=a.176852945707223.44520.172727849453066" target="_blank">here</a>.</div>
<p></p>
<div id="_mcePaste">We&#8217;ve launched a <a href="http://www.facebook.com/pages/Ensemble-Online/172727849453066" target="_blank">Facebook Fan Page</a> and a <a href="http://www.twitter.com/ensembleonline" target="_blank">Twitter</a> account, so go like us and follow us!</div>
<p></p>
<div id="_mcePaste">We published the first volume of our backstory and canon <a href="http://www.blurb.com/my/book/detail/2241706" target="_blank">The Legend of Cidona</a> and it&#8217;s on sale now! Support us and go grab a copy, only <a href="http://www.blurb.com/my/book/detail/2241706" target="_blank">$9.95 in softcover</a>!</div>
<p></p>
<div>
<div>We&#8217;re wrangling up more testers for our upcoming Alpha II launch (June 9th). Our launch has many surprises in store not the least of which is new leaderboards! The top people on the leaderboards each month will be given real life prizes such as Ensemble swag, in-game prizes, various electronics, gift cards, and more! Invite your friends to <a href="http://playensemble.com/sign-up" target="_blank">sign up</a> before it&#8217;s too late.</div>
<p></p>
<div>If you haven&#8217;t been keeping up with us, you better start now! The excitement has only just begun.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://playensemble.com/2011/06/alpha-2-and-lots-of-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Site Launch</title>
		<link>http://playensemble.com/2011/01/new-site-launch/</link>
		<comments>http://playensemble.com/2011/01/new-site-launch/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 07:41:16 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://playensemble.com/?p=162</guid>
		<description><![CDATA[As we prepare to launch a massive patch, we took some time to revamp the site.  Have a look around and let us know if you spot something weird. Watch this space for some news announcing our Alpha II release. Details on the way.]]></description>
			<content:encoded><![CDATA[<p>As we prepare to launch a massive patch, we took some time to revamp the site.  Have a look around and let us know if you spot something weird.</p>
<p>Watch this space for some news announcing our Alpha II release. Details on the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://playensemble.com/2011/01/new-site-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error #1009: Cannot access a property or method of a null object reference</title>
		<link>http://playensemble.com/2011/01/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/</link>
		<comments>http://playensemble.com/2011/01/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 03:08:05 +0000</pubDate>
		<dc:creator>Ian</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://playensemble.com/?p=133</guid>
		<description><![CDATA[Writing the latest patch for Ensemble I came across an obscure issue in Flex. I have to preface by saying that I hate Actionscript’s lack of support for multiple inheritance – and I should preface that by saying that I love Actionscript. In theory it makes sense: everything just extends something else that extends something [...]]]></description>
			<content:encoded><![CDATA[<p>Writing the latest patch for <a title="Be an alpha teter" href="http://playensemble.com/sign-up/">Ensemble</a> I came across an obscure issue in Flex.</p>
<p>I have to preface by saying that I hate Actionscript’s lack of support for multiple inheritance – and I should preface that by saying that I love Actionscript. In theory it makes sense: everything just extends something else that extends something else; it’s the way the world works. Except that in some cases we have things which can be any permutation of other things. For example Tom could be a Lawyer, Doctor, Mechanic, Pastry Chef, or any combination of those and without multiple inheritance there’s no good way to model that. Sure, we could make Lawyer extend Doctor, which extends Mechanic, which extends Pastry Chef and we could utilize only the properties and methods we need for Tom, but that’s not really intuitive since Doctors aren’t necessarily Lawyers.</p>
<p>I say all that to give some background on how I came across this Flex issue and to segue into how I begrudgingly worked around the lack of multiple inheritance.</p>
<p>In Ensemble, everything on the map is a Map Sprite and Map Sprites can be any combination of the following: resource (something that yields wood, stone, etc.), structure (something that can be constructed by a builder), builder (something that can construct a structure), unit (something that can attack or be attacked), character (something that can move). In the database, this works simply enough: each of those types has a table, and a Map Sprite just links to whichever of those tables it utilizes, leaving the rest null. On the client this poses a problem as illustrated in the Tom example. To solve this I simply created overlays for unit, structure, etc. that hold all the methods and properties for each of those Map Sprite types (as well as the necessary UIs). I don’t like it, but it works fine and it cleanly separates the code.</p>
<p>Now here’s where the flex issue comes in.</p>
<p>Whereas before the HP UI would bind to map.hero.hp (the [Bindable] hp property on the [Bindable] hero Map Sprite referenced through map), now it binds to map.hero.unit.hp (where unit is the hero Map Sprite’s unit overlay). I forgot to declare the unit overlay with the [Bindable] meta-tag and here was Flex’s result:</p>
<p style="font-family:'courier new';">
TypeError: Error #1009: Cannot access a property or method of a null object reference. at _EnsembleWatcherSetupUtil/setup() at Ensemble/initialize()[C:\path_omitted\Ensemble.mxml:0] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\SystemManager.as:2127] at mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\SystemManager.as:3396] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\SystemManager.as:3219] at mx.managers::SystemManager/docFrameListener()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\SystemManager.as:3065]
</p>
<p>Absolutely no reference to what line the problem was on or what method actually had the error. With all the other changes I had been making for the latest patch, this was a needle in a hay stack.</p>
<p>After a little over a day of desperate Googling and in a moment taken straight out of <span style="text-decoration: underline;">House, M.D.</span>, <a title="irm's blog" href="http://blog.irmsgeekwork.com">irms</a> asked me what changes were made and I immediately knew it had to be with the overlays. Toying around with it for a few minutes I noticed<strong> the [Bindable] meta-tag was missing</strong> and, sure enough, adding it relieved me of that hideous error.</p>
]]></content:encoded>
			<wfw:commentRss>http://playensemble.com/2011/01/error-1009-cannot-access-a-property-or-method-of-a-null-object-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  playensemble.com/feed/ ) in 2.21802 seconds, on Feb 22nd, 2012 at 7:58 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 22nd, 2012 at 8:58 pm UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  playensemble.com/feed/ ) in 0.00040 seconds, on Feb 22nd, 2012 at 8:18 pm UTC. -->
