<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Flax Project</title>
	
	<link>http://flax.ie</link>
	<description>Programming Passion</description>
	<lastBuildDate>Mon, 31 Oct 2011 18:40:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Flaxproject" /><feedburner:info uri="flaxproject" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>WP7 Game “Astro Bacon”</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/6Ml7Q0dk1mU/</link>
		<comments>http://flax.ie/wp7-game-astro-bacon/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 14:01:14 +0000</pubDate>
		<dc:creator>Keith Cully</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Games Development]]></category>
		<category><![CDATA[News & Announcements]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Computer Games Development]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[Mango]]></category>
		<category><![CDATA[Mobile Games]]></category>
		<category><![CDATA[Moblie Device Development]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2592</guid>
		<description><![CDATA[Ever wanted to fling asteroids at space pigs? Well, thanks to Astro Bacon, now you can! &#160; Hi all, I&#8217;m back and I&#8217;ve got a shiny new game to announce. Astro Bacon is a side-scrolling space shooter for windows phone 7 which I have been working on since the end of Summer. The game is [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to fling asteroids at space pigs? Well, thanks to Astro Bacon, now you can!</p>
<p>&nbsp;</p>
<p>Hi all, I&#8217;m back and I&#8217;ve got a shiny new game to announce. Astro Bacon is a side-scrolling space shooter for windows phone 7 which I have been working on since the end of Summer. The game is now available from the marketplace at: <a href="http://windowsphone.com/s?appid=33b0ffdb-1c79-4732-879c-0ff1a5223191">http://windowsphone.com/s?appid=33b0ffdb-1c79-4732-879c-0ff1a5223191</a> for €0.99. Or if you don&#8217;t mind an annoying ad banner in your way you can get it free here: <a href="http://windowsphone.com/s?appid=f761a51e-6083-4d61-a458-7a3ce93c4e0c">http://windowsphone.com/s?appid=f761a51e-6083-4d61-a458-7a3ce93c4e0c</a> (The ad really does limit screen space though).</p>
<p><span id="more-2592"></span></p>
<p><strong>Story:</strong></p>
<p>In a bid to feed the world’s ever increasing appetite for pork, some science boffins decided to breed genetically modified pigs in space. Unfortunately, the pigs figured out how to use weapons and escaped. They are now taking direct orders from the &#8220;Mother Sow&#8221; who is hell bent on destroying earth. Now, it’s up to you to defend the earth against the space pig menace. Pilot a nearby satellite and use its grabber to hurl asteroids at space pigs in this side scrolling action game.</p>
<p>&nbsp;</p>

<a href='http://flax.ie/wp7-game-astro-bacon/home-screen/' title='Home Screen'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/Home-Screen-155x93.png" class="attachment-thumbnail" alt="Astro Bacon Home Screen" title="Home Screen" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/gameplaynormal5/' title='Gameplay Screen 5 Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/GameplayNormal5-155x93.png" class="attachment-thumbnail" alt="Gameplay Screen" title="Gameplay Screen 5 Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/gameplaynormal4/' title='Gameplay Screen 4 Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/GameplayNormal4-155x93.png" class="attachment-thumbnail" alt="Gameplay Screen" title="Gameplay Screen 4 Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/upgradesscreen/' title='Upgrades Screen Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/UpgradesScreen-155x93.png" class="attachment-thumbnail" alt="Upgrades Screen" title="Upgrades Screen Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/gameplaynormal3/' title='Gameplay Screen 3 Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/GameplayNormal3-155x93.png" class="attachment-thumbnail" alt="Gameplay Screen" title="Gameplay Screen 3 Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/gameplaynormal2/' title='Gameplay Screen 2 Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/GameplayNormal2-155x93.png" class="attachment-thumbnail" alt="Gameplay Screen" title="Gameplay Screen 2 Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/gameplaynormal1/' title='Gameplay Screen 1 Astro Bacon'><img width="155" height="93" src="http://flax.ie/wp-content/uploads/2011/10/GameplayNormal1-155x93.png" class="attachment-thumbnail" alt="Gameplay Screen" title="Gameplay Screen 1 Astro Bacon" /></a>
<a href='http://flax.ie/wp7-game-astro-bacon/background/' title='Astro Bacon Tile WP7'><img width="114" height="115" src="http://flax.ie/wp-content/uploads/2011/10/Background-114x115.png" class="attachment-thumbnail" alt="Astro Bacon" title="Astro Bacon Tile WP7" /></a>

<p>&nbsp;</p>
<p><strong>Video:</strong>  <a href="http://www.youtube.com/watch?v=D7VU0xZ9R2M">Astro Bacon</a></p>
<p>&nbsp;</p>
<p><strong>Game Features:</strong></p>
<ul>
<li>Multiple space pig and asteroid types.</li>
<li>Upgradable grabbers and armour.</li>
<li>OpenXLive (Achievements and High Score tables).</li>
<li>Particle effects.</li>
<li>Simple and open control system.</li>
<li>25 levels and 3 difficulty settings.</li>
<li>English, German, French and Spanish language support.</li>
</ul>
<p>&nbsp;</p>
<p><strong>Credits:</strong></p>
<p>Design, programming and artwork &#8211; Keith Cully.</p>
<p>Localization &#8211; Helen Malone.</p>
<p>Sound Effects &#8211; Public Domain. (Editing by Keith Cully).</p>
<p>Music &#8211; Dan-O. (<span>Free Royalty Free Music by <a title="DanoSongs.com" href="http://www.danosongs.com/">DanoSongs.com</a>)</span>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/6Ml7Q0dk1mU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/wp7-game-astro-bacon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://flax.ie/wp7-game-astro-bacon/</feedburner:origLink></item>
		<item>
		<title>My Internship at FluidUI</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/txyfXiljIfo/</link>
		<comments>http://flax.ie/my-internship-at-fluidui/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 16:43:47 +0000</pubDate>
		<dc:creator>James Kelly</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[News & Announcements]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2544</guid>
		<description><![CDATA[At the start of this Summer I attended the Dublin Web Summit with Ciarán and Carl. It was there that I met the startup company FluidUI, made up of Dave Kearney  and Ian Hannigan. Luckily for me, they were looking for someone to take some work to speed up the development of their product. I [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>At the start of this Summer I attended the Dublin Web Summit with Ciarán and Carl. It was there that I met the startup company FluidUI, made up of Dave Kearney  and Ian Hannigan. Luckily for me, they were looking for someone to take some work to speed up the development of their product. I took up their offer and got a summer internship out of it.</p>
</div>
<p><span id="more-2544"></span></p>
<div><img class="aligncenter" src="http://flax.ie/wp-content/uploads/2011/09/fluidLoading-e1314998145750.png" alt="" width="319" height="142" /></div>
<div>FluidUI is a mobile prototyping tool built with HTML5. The product uses the canvas tag to dynamically create a mobile application quickly and easily. Pages are created by double clicking on the canvas, and each page is then editable by clicking on a page to zoom in revealing a library full of widgets. Each widget is made of a canvas, a textarea and a div. The canvas contains the widget image, on top of which is a div element containing text. This text is editable through the textarea element which can be edited by being click on. The div element is then hidden and when the user is finished, the div returns, containing the new text and hiding the textarea.</div>
<div>The dragging and dropping events are handled through jQuery UI.</div>
<div><img class="alignleft" src="http://flax.ie/wp-content/uploads/2011/09/Fluid-Page.jpg" alt="" width="191" height="121" /><img src="http://flax.ie/wp-content/uploads/2011/09/drag.jpg" alt="" width="238" height="119" /></div>
<div>
<p>The library allows the user to drag elements around, as well as allowing resizable objects. The droppable trigger event is used to create widgets when dragged from the library and dropped on the Linking to pages through widgets creates a click event, moving to the linked page when clicked, which then shows up in the preview creating the dynamic effect. The second form of linking is a template link which creates a copy of itself as a template to a page it’s linked to.</p>
<p><img src="http://flax.ie/wp-content/uploads/2011/09/preveiw.jpg" alt="" width="294" height="146" /></p>
<p>I have been working with jQuery and JavaScript for the the most part of the project creating basic animations and bug fixing. I got my first experience with PHP, creating a basic image upload for Safari as it did not support the drag and drop of images from desktop to browser. The application uses webkit features to style much of the app, using transformations and rotations, along with simple things like corner rounding and gradient. A good example of the use of rotation and transformation is the linking arrow or the template arrow, which is draw on a canvas that’s then rotated. This cuts down on the size of the canvas as well as the amount of times it needs to be redrawn.</p>
<p><img src="http://flax.ie/wp-content/uploads/2011/09/link.jpg" alt="" width="242" height="144" /><img style="border-style: initial;border-color: initial" src="http://flax.ie/wp-content/uploads/2011/09/Temp.jpg" alt="" width="172" height="127" /></p>
<p>&nbsp;</p>
<p>These pages are currently saved using a JSON string of all the page information stored in local storage. This will reload your project whenever you leave and return to the page. Each widget created is also stored this way. FluidUI runs on Chrome and Safari and on most mobile web browsers. The work I have done with Dave and Ian has been very interesting. They&#8217;re doing really awesome and interesting things with HTML5. If you want to know more about FluidUI, visit their <a href="http://www.fluidui.com">website</a> or <a href="http://twitter.com/#!/FluidUI_Team">follow the team on Twitter</a>.</p>
</div>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/txyfXiljIfo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/my-internship-at-fluidui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://flax.ie/my-internship-at-fluidui/</feedburner:origLink></item>
		<item>
		<title>Catch up with the Flax Project – Busy times!</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/c1ingos7YTA/</link>
		<comments>http://flax.ie/catch-up-with-the-flax-project-busy-times/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 13:35:16 +0000</pubDate>
		<dc:creator>Ciarán McCann</dc:creator>
				<category><![CDATA[Flax Game Engine]]></category>
		<category><![CDATA[News & Announcements]]></category>
		<category><![CDATA[Carlow IT]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Ireland]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2539</guid>
		<description><![CDATA[Hey everyone, so it&#8217;s been nearly 5 weeks since we last posted. It&#8217;s been a crazy 5 weeks and it&#8217;s not over just yet. Unfortunately we have neglected to post on the site. So here is a catch up on what myself and Carl have been up to over the last few weeks. What have we [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone, so it&#8217;s been nearly 5 weeks since we last posted. It&#8217;s been a crazy 5 weeks and it&#8217;s not over just yet. Unfortunately we have neglected to post on the site. So here is a catch up on what myself and Carl have been up to over the last few weeks.<span id="more-2539"></span></p>
<h2>What have we been up to?</h2>
<h4 style="padding-left: 30px;">GameOn Conference 2011</h4>
<p style="padding-left: 30px;">Myself and Carl attended the <a title="GameOn 2011" href="http://www.eurosis.org/cms/?q=node/1720">GameOn Conference</a> in NUIG on the 22nd of August. Although the conference was quite small, the quality of the papers submitted and presented was very good, with some interesting papers on AI in gaming and concurrency. The paper on concurrent scripting was submitted by one of our lectures<a href="http://www.itcarlow.ie/researchers/research/joseph-kehoe.htm"> Joseph Kehoe </a>. Joe is currently undertaking doctoral research into concurrent programming language design, with particular relevance to games development under Professor Joseph Morris of DCU. Overall, it was well worth taking the day off work and the drive to Galway, and I&#8217;d like to thank Philippe Geril the event coordinator for having us.</p>
<h4 style="padding-left: 30px;">Coder Dojo</h4>
<p style="padding-left: 30px;">A few Saturdays back myself and Carl went up to the first Dublin Coder Dojo to lend a hand and give a quick talk and Q&amp;A on game development. It was really great to see so many young kids there, and even more so to see parents making the effort to bring their kids, some of whom had traveled across the country to attend. Though I suppose its a sign of the times, the parents of the young generation now see that technology is the growing economy not only here in Ireland, but around the world. Software development and general technology related jobs are popping up all over the county every day so it only makes sense. It&#8217;s great to see initiatives like Coder Dojo happening!</p>
<h4 style="padding-left: 30px;">Ericsson</h4>
<p style="padding-left: 30px;">Myself and Carl finished at Ericsson 2 weeks ago, and now the Flax Project HQ is back in Carlow, since college started back yesterday. It was a great experience to work in the largest software house in Ireland, we gained some great insight into corporate software development and R&amp;D. We&#8217;re glad to get back to game development focused work and college in general, though.</p>
<h4 style="padding-left: 30px;">iPhone App</h4>
<p style="padding-left: 30px;">So, for those of you who follow myself and Carl on Twitter you will have probably pieced together by now that we&#8217;re working on an iPhone app, for a commercial social media company based in Dublin. Right now this iPhone app is consuming most of our time, and has priority over all other projects because this one helps pay the bills.</p>
<h4 style="padding-left: 30px;">Portfolio</h4>
<p style="padding-left: 30px;">For those of you who follow the blog regularly will know that both myself and Carl are actively searching for 6 month internships in the games industry this year, starting from around March 2012. (So any spare minute I get I have been working on my game development portfolio website which you can check at <a title="Ciarán McCann" href="http://www.ciaranmccann.me" target="_blank">ciaranmccann.me)</a></p>
<h2>Where is Flax Engine 0.3?</h2>
<p>Flax 0.3 is currently  been shelved for the moment, due to busy schedules and massive work load from other projects/events that we are involved in and now college work.  So unfortunately 0.3 won&#8217;t see the light of day this year.</p>
<p>&nbsp;</p>
<p>So that&#8217;s it for another &#8220;Catch up with the Flax Project,&#8221; as always do please follow us on Twitter <a title="Flax Project Twitter" href="http://bit.ly/p9ya3A" target="_blank">@FlaxProject</a> to keep track of what we are working on. We&#8217;d love to hear from you too, so drop us a line!</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/c1ingos7YTA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/catch-up-with-the-flax-project-busy-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://flax.ie/catch-up-with-the-flax-project-busy-times/</feedburner:origLink></item>
		<item>
		<title>WP7 Game Development : A Beginners Guide (XML Specified Content)</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/EuBU2NWsvTg/</link>
		<comments>http://flax.ie/wp7-game-development-a-beginners-guide-xml-specified-content/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 15:17:05 +0000</pubDate>
		<dc:creator>Keith Cully</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Games Development]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[C Sharp]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Computer Games Development]]></category>
		<category><![CDATA[Content Importing]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Mobile Games]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XNA]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2419</guid>
		<description><![CDATA[Hello again. I am here today to talk about setting up objects in XNA using data read from .XML files. There are a number of ways to achieve this. One of the most popular is to use the built in XML serializer. I will be talking about this in one of my next articles. Today [...]]]></description>
			<content:encoded><![CDATA[<p>Hello again. I am here today to talk about setting up objects in XNA using data read from .XML files. There are a number of ways to achieve this. One of the most popular is to use the built in XML serializer. I will be talking about this in one of my next articles. Today I am going to show you how to use the Content Pipeline to load object properties from an XML file.<br />
<span id="more-2419"></span><br />
&nbsp;</p>
<p>When using this method all your XML files are converted into .xnb format and compiled into the project. This allows for more efficient loading and hides the data from tampering. If you have a lot of data that does not need to be altered by the application this is a very efficient way of loading it. For my last game I used this method to load all the level layouts and the hints which would appear between levels. For my new game I am using it to define particle effects. This cuts down on the use of polymorphism which leads to further efficiency.</p>
<p>&nbsp;</p>
<p>Anyway, for this to work, all the properties of the class which you are loading to must be public and must all be given default values. They must also have the same names as the elements in the XML file. I&#8217;m fairly certain there is a way of using shorter element names in the XML file by putting something like [XmlElement(ElementName="name")] above the class property you want specified by the element &#8220;name&#8221;. This would be useful in shrinking large file sizes.</p>
<p>&nbsp;</p>
<p>The process of using the content pipeline for loading XML files in a Windows Phone 7 project may seem complicated at first but it is not once you have done it. It requires the addition of two new projects to your solution. One Windows project for the Content Pipeline to read from and one WP7 project for your application to read from. These will actually be copies of each other and will share the same files.</p>
<p>&nbsp;</p>
<p>The process of setting up your custom content is as follows:</p>
<p>&nbsp;</p>
<p><strong>Step 1: Add a  project to your solution:</strong></p>
<p>&nbsp;</p>
<div id="attachment_2422" class="wp-caption aligncenter" style="width: 310px"><a class="lightbox" title="Step 1 Select Add New Project" href="http://flax.ie/?attachment_id=2422"><img class="size-medium wp-image-2422" src="http://flax.ie/wp-content/uploads/2011/07/Step-1-Select-Add-New-Project-300x198.png" alt="Step 1" width="300" height="198" /></a><p class="wp-caption-text">Step 1</p></div>
<p>&nbsp;</p>
<p>Right click on your solution in solution explorer and select Add-&gt;New Project&#8230;</p>
<p>&nbsp;</p>
<p><strong>Step 2: Create a Windows Game Library project:</strong></p>
<p>&nbsp;</p>
<div id="attachment_2423" class="wp-caption aligncenter" style="width: 310px"><a class="lightbox" title="Step 2 Windows Project Creation" href="http://flax.ie/?attachment_id=2423"><img class="size-medium wp-image-2423" src="http://flax.ie/wp-content/uploads/2011/07/Step-2-Windows-Project-Creation-300x85.png" alt="Step 2" width="300" height="85" /></a><p class="wp-caption-text">Step 2</p></div>
<p>&nbsp;</p>
<p>Select Windows Game Library from the list. Name it &#8220;CustomContent(Windows)&#8221; or something useful like that. Replace the automatically generated &#8220;Class1.cs&#8221; class with your class or change the namespace to match the rest of your solution and use it.</p>
<p>&nbsp;</p>
<p><strong>Step 3: Create a copy of the Windows project for the phone.</strong></p>
<p>&nbsp;</p>
<div id="attachment_2424" class="wp-caption aligncenter" style="width: 310px"><a class="lightbox" title="Step 3 Create WP7 Copy" href="http://flax.ie/?attachment_id=2424"><img class="size-medium wp-image-2424" src="http://flax.ie/wp-content/uploads/2011/07/Step-3-Create-WP7-Copy-300x141.png" alt="Step 3" width="300" height="141" /></a><p class="wp-caption-text">Step 3</p></div>
<p>&nbsp;</p>
<p>Right-click on the Windows Library project you have just created and select &#8220;Create Copy of Project for Windows Phone&#8221;. Change the name of the project created to something useful like &#8220;CustomContent(WP7)&#8221;. If you try to open a class contained within both of these projects from each project you will notice it is a shared file. This is what you want. I would advise working on any shared classes from within the WP7 project as I have encountered issues of this project not building when making changes from the Windows project.</p>
<p>&nbsp;</p>
<p><strong>Step 4: Adding the necessary references to these projects:</strong></p>
<p>&nbsp;</p>
<div id="attachment_2425" class="wp-caption aligncenter" style="width: 310px"><a class="lightbox" title="Step 4 Adding Refrences" href="http://flax.ie/?attachment_id=2425"><img class="size-medium wp-image-2425" src="http://flax.ie/wp-content/uploads/2011/07/Step-4-Adding-Refrences-300x162.png" alt="Step 4" width="300" height="162" /></a><p class="wp-caption-text">Step 4</p></div>
<p>&nbsp;</p>
<p>In the Solution Explorer, right-click on the references folder within your <strong>main project</strong> and select &#8220;Add reference&#8230;&#8221;. From here select the &#8220;Projects&#8221; tab and select the <strong>WP7 project</strong> you added earlier.</p>
<p>Then right-click on the references folder within your <strong>main content project</strong> and select &#8220;Add reference&#8230;&#8221;. From here select the &#8220;Projects&#8221; tab and select the<strong> Windows project</strong> you added earlier.</p>
<p>&nbsp;</p>
<p><strong>Step 5: Add any custom content:</strong></p>
<p>&nbsp;</p>
<p>To add XML files to your solution, right-click on your main Content project and select &#8220;Add-&gt;New Item&#8230;&#8221;. Then select XML file and give it the name you want. You can add your custom classes which you wish to be able to load to into either of the projects you added earlier (They are shared). I have included an image of a matching class and XML file with the standard formatting and an XML file defined for array specification. (Desteroids is the namespace).</p>
<p>&nbsp;</p>
<div id="attachment_2432" class="wp-caption aligncenter" style="width: 514px"><a class="lightbox" title="Code and XML example" href="http://flax.ie/?attachment_id=2432"><img class="size-full wp-image-2432     " src="http://flax.ie/wp-content/uploads/2011/07/Code-and-XML-example.png" alt="Class and XML layout" width="504" height="178" /></a><p class="wp-caption-text">Class and XML layout</p></div>
<p>&nbsp;</p>
<p>To specify array content you just add [] brackets at the end of the type and present each array entry between &lt;Item&gt;&lt;/Item&gt; tags:</p>
<p>&nbsp;</p>
<div id="attachment_2440" class="wp-caption aligncenter" style="width: 310px"><a class="lightbox" title="XML array example" href="http://flax.ie/?attachment_id=2440"><img class="size-medium wp-image-2440" src="http://flax.ie/wp-content/uploads/2011/07/XML-array-example-300x253.png" alt="XML array layout" width="300" height="253" /></a><p class="wp-caption-text">XML array layout</p></div>
<p>&nbsp;</p>
<p>The content is then used like any other Content Pipeline entity. To use the content importer in a class you must add the following using statement:</p>
<pre class="brush:csharp">using Microsoft.Xna.Framework.Content;</pre>
<p>The code to load a ParticleEffectSettings (as shown above) object is:</p>
<pre class="brush:csharp">ParticleEffectSettings thrusterfireSettings = contentMgr.Load&lt;ParticleEffectSettings&gt;("XML file path-name here");</pre>
<p>The code to fill an array of ParticleEffectSettings (as shown above) objects is:</p>
<pre class="brush:csharp">ParticleEffectSettings thrusterfireSettings[] = contentMgr.Load&lt;ParticleEffectSettings[]&gt;("XML file path-name here");</pre>
<p>&nbsp;</p>
<p>For anyone interested in more reading, here are a couple of useful links on the topic:</p>
<p><a title="XML guide" href="http://create.msdn.com/en-US/education/catalog/tutorial/particle_xml">A guide to creating a 3D particle system for XBOX 360 using XML</a>. Same process as above but not as beginner friendly and shows how to load non-standard data types into your class.</p>
<p><a title="XML introduction" href="http://www.sitepoint.com/really-good-introduction-xml/">A really good introduction to XML</a>. This is a very good description of the hows and whys of XML. It is not specific to XNA but is relevant to anyone using XML. It is very long though.</p>
<p>&nbsp;</p>
<p>I hope you found this helpful.</p>
<p>Thanks for reading.</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/EuBU2NWsvTg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/wp7-game-development-a-beginners-guide-xml-specified-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://flax.ie/wp7-game-development-a-beginners-guide-xml-specified-content/</feedburner:origLink></item>
		<item>
		<title>Dublin GTUG – Hackerspaces and the formal education system</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/AZ1I3hNRUn4/</link>
		<comments>http://flax.ie/dublin-gtug-hackerspaces-and-the-formal-education-system/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 15:35:30 +0000</pubDate>
		<dc:creator>Ciarán McCann</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Games Development]]></category>
		<category><![CDATA[News & Announcements]]></category>
		<category><![CDATA[Eductaion]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[Games Industry]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hackerspace]]></category>
		<category><![CDATA[Ireland]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2387</guid>
		<description><![CDATA[Last tuesday night myself and Carl headed up to Dublin for a few meetings, and also got to drop into Google European HQ for the Dublin Google Technologies User Group event. Arriving a little late we got into the start of the talk by Google Dev Advocate, Martin Omander about the new Google Prediction and [...]]]></description>
			<content:encoded><![CDATA[<p>Last tuesday night myself and Carl headed up to Dublin for a few meetings, and also got to drop into Google European HQ for the Dublin Google Technologies User Group event. Arriving a little late we got into the start of the talk by Google Dev Advocate, Martin Omander about the new Google Prediction and Storage APIs. Quite an interesting talk and some pretty neat demos with the prediction API. <span id="more-2387"></span></p>
<h2>Hackerspaces &amp; the Formal Education System</h2>
<p>The main focus of the talks for me was a panel discussion about the topic of hackerspaces and how we could somehow integrate them into formal education, and a general discussion of how we could change the system to involve proper computing subjects in the secondary and even primary eduction here in Ireland. This talk was of great interest to me personally, I am extremely passionate about encouraging more young people into the world of technology and programming here in Ireland. The discussion was chaired by Bill Liao and the panellists consisted of James Whelton (Founder &amp; CEO <a href="http://twitter.com/DisruptiveDev">@DisruptiveDev</a>) Mark Deegan (DIT Lecturer), John Looney (Google), Mark Cunningham (DIT student), Martin Mitchell (in gainful employment).</p>
<h2>Programming Subject in schools</h2>
<p>There is a massive hole in Ireland&#8217;s eduction of IT and more specifically programming. It simply doesn&#8217;t exist. The best you get is how to do a Microsoft Excel spreadsheet. There is no creativity and fun involved in that and it puts negative connotations on the subject as being boring, which is far from the truth. For me, as a games developer, I love the fact that I can write code and then see it come alive in front of me and I&#8217;m quite sure many young people would love to be able to create their own games, as so many young people play games everyday.<br />
&nbsp;<br />
I believe if an engaging, practical, and fun programming subject was introduced into schools it would have a massive positive effect. It would not only be a great subject for giving young people a taste of programming/IT but also help bind usefulness and meaning to subjects like maths, physics and even others. For me I struggled with maths for many years in secondary school and when it came to the leaving cert I had to put in enormous amounts of effort to achieve my minimum grade for the game development course I currently study on. My point is that I was never good at maths and didn&#8217;t really see the point in getting the derivative of an equation or finding X.<br />
&nbsp;<br />
<a class="lightbox" title="findX" href="http://flax.ie/wp-content/uploads/2011/08/findX.png"><img class="size-medium wp-image-2513 aligncenter" title="findX" src="http://flax.ie/wp-content/uploads/2011/08/findX-300x210.png" alt="" width="300" height="210" /></a><br />
&nbsp;<br />
Though when I came to college, maths was thought as a problem solving tool, rather than &#8220;you&#8217;re doing this because it&#8217;ll be on the leaving cert, doesn&#8217;t matter why.&#8221; This approach, coupled with programming algorithms to solve problems, is amazing. Now I really enjoy maths and the ability to think logically to solve a problem, I have even entered logic solving programming <a href="http://flax.ie/acm-icpc-20102011-programming-problem-high-score/">competitions</a>. Simply the approach to teaching something makes all the difference.<br />
&nbsp;<br />
There needs to be reform of our approach to teaching in this country and critically in subjects that will help drive what&#8217;s known as the knowledge economy. Every week there are new jobs created in software and technology. We must support this growing sector with a strong educational backbone and not just from third-level on. It needs to start young, use a computer a basic skill nowadays, like a form of literacy. Bill Liao at the talk even went on to say that he believes programming is a basic form literacy and I would agree in this day and age it is no longer a minority group of people involved in computers, they surround and encompass our everyday lives.<br />
&nbsp;<br />
This discussion is one I am quite passionate about and when I ordinarily wrote this post it stretched quite a few pages. So I will conclude here for now, though I hope to continue to address these pressing issues about science related eduction here in Ireland and how we can change the system.</p>
<h2>Coder Dojo</h2>
<p>This is a great initiative set up by James Whelton and Bill Liao, which is essentially a hackerspace for young people to get involved and learn about things like HTML, CSS, JavaScript and various other technologies. Their first event was in Cork on Saturday 23rd of July, and will continue every Saturday, so check out the website for more information about how to get involved as a mentor and the like. James and Bill are hoping to get Coder Dojos up and running in Dublin and Galway soon.</p>
<p>&nbsp;</p>
<p>Myself and Carl will hopefully be getting involved with the Coder Dojo project, and we also have plans of our own to get involved in running game development workshops in schools around Ireland, but more on that later this year. We will also be involved with the <a title="Dublin SkillShare" href="http://twitter.com/#!/DubSkillshare">Dublin SkillShare</a> project, set up by Beth Kocher where we will be doing a beginner&#8217;s introduction course to game development with HTML5 sometime in October, more details on that later in the year.</p>
<p>&nbsp;</p>
<p>Ok, well, that was meant to be a quick post, though I&#8217;m quite passionate about the topic of education and programming, so I do tend to rant. Anyway, watch this space for more information on the initiatives I spoke about in the post, and as always do follow us on <a title="Flax Project" href="http://twitter.com/#!/flaxproject" target="_blank">twitter</a>, <a title="Flax Project Facebook" href="http://www.facebook.com/FlaxProject" target="_blank">facebook</a>, etc. Thanks</p>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/AZ1I3hNRUn4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/dublin-gtug-hackerspaces-and-the-formal-education-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://flax.ie/dublin-gtug-hackerspaces-and-the-formal-education-system/</feedburner:origLink></item>
		<item>
		<title>Flax HTML5 Game Engine Development Diary Part 11</title>
		<link>http://feedproxy.google.com/~r/Flaxproject/~3/yWLwevojxv8/</link>
		<comments>http://flax.ie/flax-html5-game-engine-development-diary-part-11/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 15:20:56 +0000</pubDate>
		<dc:creator>Ciarán McCann</dc:creator>
				<category><![CDATA[Flax Game Engine]]></category>
		<category><![CDATA[Games Development]]></category>
		<category><![CDATA[Google Web ToolKit]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[GWT]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://flax.ie/?p=2363</guid>
		<description><![CDATA[Well it&#8217;s that time again, it&#8217;s been just about three weeks since the first iteration of the Flax HTML5 Game Engine 0.1 and as promised we have tried really hard to stick to our time-boxed release system and putting the Agile practices that we learned about in software engineering on our college course at IT Carlow [...]]]></description>
			<content:encoded><![CDATA[<p>Well it&#8217;s that time again, it&#8217;s been just about three weeks since the first iteration of the <a title="  Flax HTML5 Game Engine Development Diary Part 10 " href="http://flax.ie/flax-html5-game-engine-development-diary-part-10-2/" target="_blank">Flax HTML5 Game Engine 0.1 </a>and as promised we have tried really hard to stick to our time-boxed release system and putting the Agile practices that we learned about in software engineering on our college course at IT Carlow into practice.<span id="more-2363"></span></p>
<p>&nbsp;</p>
<p>Unfortunately for version 0.2 we haven&#8217;t got as many features in as hoped, as these days we are exhausted from our daily work at Ericsson and the administration of the site and meetings etc, but nevertheless. We have got some nice little visual features and quite a large amount of under the hood changes. Check out the changelog below to see the main things that changed.</p>
<h2><a href="http://engine.flax.ie/">Let&#8217;s see the demo</a></h2>
<p>Here is a link to the live demo of the <a title="Flax HTML5 Game Engine Live Demo" href="http://engine.flax.ie/" target="_blank">Flax HTML5 Game Engine 0.2 Live Demo</a>, running its editor Weave. Still currently no actual game, though we want to make it easy to make games, so first we must build the tools. If you didn&#8217;t see Carl&#8217;s last post about <a title="  Flax HTML5 Game Engine Development Diary Part 10 " href="http://flax.ie/flax-html5-game-engine-development-diary-part-10-2/" target="_blank">Flax HTML5 Game Engine 0.1 Live Demo</a> you should check it out.</p>
<h2>Performance</h2>
<p>Many people who don&#8217;t have hardware acceleration yet complained that for version 0.1 CPU was at 100%. We have tried to reduce that this iteration and in some case we have seen a cut by 40%, but not in all browser/operating systems. We have tested the performance on many systems, both hardware accelerated and non-accelerated, with many different browsers, on various operating systems. The performance is somewhat spotty. For example on Windows in Chrome with hardware acceleration CPU is 19% and GPU 17%. Whereas on Carl&#8217;s MacBook Pro we are getting 80% CPU and small drops in frames on a system that is meant to be accelerated. On my Linux machine, with no hardware acceleration, in Chrome we see a drop of 40% CPU from version 0.1. Though there are many large optimisations in the pipeline which we will hopefully see come to life in version 0.3 which I believe could knock off another 20% CPU for non-hardware accelerated systems.</p>
<h2>Video</h2>
<p><iframe width="480" height="390" src="http://www.youtube.com/embed/Ax0yqZsSjrc?html5=1" frameborder="0" allowfullscreen></iframe></p>
<h2>Iterations</h2>
<ul>
<li><a title="Flax HTML5 Game Engine 0.2" href="http://engine.flax.ie/0.2/" target="_blank">Live demo of version 0.2</a></li>
<li><a title="Flax HTML5 Game Engine Live Demo 0.1" href="http://engine.flax.ie/0.1/">Live demo of version 0.1</a></li>
</ul>
<h2>Change Log</h2>
<ul>
<li>Controllable animated sprites with smooth camera panning</li>
<li>Tile region</li>
<li>Support for extremely large map size</li>
<li>Rendering optimisations, though more to follow.</li>
<li>Up to 40% CPU reduction on some systems.</li>
<li>Increased responsiveness when tiling in the editor</li>
<li>Local Storage support, to save maps.</li>
<li>Auto save local storage</li>
<li>Map file compression (we tested, it brought a map from 1.6MB to 45KB)</li>
<li>Internet Explorer 9 support</li>
<li>Overlay FPS counter</li>
<li>UI bugfixes</li>
<ul>
<li>Main menu items taking focus fixed</li>
<li>Export text clears</li>
<li>Editor doesn&#8217;t show up by default on mobile devices and resolutions smaller than 1024*768</li>
</ul>
</ul>
<h2>Next Iteration Goals</h2>
<p>So what&#8217;s in store for version 0.3 which again will be based around a 3 week time-boxed iteration. Well hopefully we will get to see a few of the following features in 0.3</p>
<ul>
<li>Some cool Box2D Physics</li>
<li>Audio</li>
<li>More optimisation in CPU usage</li>
<li>Focus on proper mobile device support</li>
</ul>
<div>There are more features which I hope we can get in for 0.3 but that&#8217;s all I will say for now.</div>
<div>As last time, we&#8217;re using the Pokémon Gold and Silver tilesheet. Our own tiles weren&#8217;t finished in time, but as soon as they are, we&#8217;ll replace these. We know, and we&#8217;re sorry.</div>
<p>&nbsp;<br />
<strong>Last minute bug time!</strong>&nbsp;</p>
<div>We&#8217;ve noticed that Flax doesn&#8217;t work in Firefox until you click on a UI element &#8211; just do something like click the About menu and it should work. Sorry about that!</div>
<p>&nbsp;</p>
<div>Thanks for reading and for following the project if you&#8217;re a regular read. Also big thanks to all the positive comments we got on the release of the last demo, they really mean a lot and keep our motivation up to work hard. As always please do follow us on Twitter <a title="Flax Project" href="http://twitter.com/flaxproject" target="_blank">@FlaxProject</a> and the <a title="Flax Project Facebook" href="http://www.facebook.com/FlaxProject">Flax Project Facebook</a>.</div>
<img src="http://feeds.feedburner.com/~r/Flaxproject/~4/yWLwevojxv8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://flax.ie/flax-html5-game-engine-development-diary-part-11/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://flax.ie/flax-html5-game-engine-development-diary-part-11/</feedburner:origLink></item>
	</channel>
</rss>

