<?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>Stephen&#039;s Thoughts &#187; Wii</title>
	<atom:link href="http://www.stephendowney.net/blog/category/wii/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephendowney.net/blog</link>
	<description>Java &#38; Android Developer &#124; Dublin Ireland</description>
	<lastBuildDate>Mon, 19 Dec 2011 19:33:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Java Programming for the Nintendo Wii</title>
		<link>http://www.stephendowney.net/blog/2008/05/08/java-programming-for-the-nintendo-wii/</link>
		<comments>http://www.stephendowney.net/blog/2008/05/08/java-programming-for-the-nintendo-wii/#comments</comments>
		<pubDate>Thu, 08 May 2008 15:00:23 +0000</pubDate>
		<dc:creator>Stephen Downey</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[Wiiusej Wii java javascript]]></category>

		<guid isPermaLink="false">http://www.stephendowney.net/blog/2008/05/08/java-programming-for-the-nintendo-wii/</guid>
		<description><![CDATA[There is a great article over at Ajaxian on programming for the Nintendo Wii. I bought a Wii myself a few weeks back and have been having great fun with Tiger Woods golf. (It is actually my first game console) Up until down the idea of playing a game console alone did not appeal to [...]]]></description>
			<content:encoded><![CDATA[<p>There is <a href="http://ajaxian.com/archives/wii-darts-powering-ajax-applications-with-wii-controllers" target="_blank">a great article</a> over at <a href="http://ajaxian.com" target="_blank">Ajaxian</a> on programming for the Nintendo Wii.  I bought a Wii myself a few weeks back and have been having great fun with Tiger Woods golf.    (It is actually my first game console)  Up until down the idea of playing a game console alone did not appeal to me but the Nintendo Wii experience is amazing.</p>
<p>The Wii console connects to the controller or <a href="http://en.wikipedia.org/wiki/Wii_Remote" target="_blank">Wiimote</a> via bluethooth and uses an <a href="http://en.wikipedia.org/wiki/Accelerometer" target="_blank" title="Accelerometer">accelerometer</a> built into the wiimote to detect the  location of the wiimote  as well as it&#8217;s acceleration.   This leads to a really interactive experience for the user.</p>
<p>I have been amazed by responsiveness of the <a href="http://en.wikipedia.org/wiki/Wii_Remote" target="_blank">Wiimote</a> and now <a href="http://www.almaer.com/blog/" target="_blank" rel="me">Dion Almaer</a> and <a href="http://weblogs.java.net/blog/javaben/" target="_blank" rel="co-worker">Ben Galbraith</a> over at <a href="http://ajaxian.com" target="_blank">Ajaxian</a> have developed an Ajax app that uses <a href="http://code.google.com/p/wiiusej/" target="_blank">Wiiusej</a> to interact with the Wiimote.   The Wiiusej API is a java wrapper  for the C based <a href="http://www.wiiuse.net/" target="_blank">Wiiuse</a> library.</p>
<blockquote><p>We then wrote a Java class that acts as a state machine for what the remote is doing. It understands the movements, which buttons are pushed, how fast you are moving the device. With this data we could build a simple darts game. With the state machine Java code, and an Applet wrapper that exposed the information, we were ready to get to the Ajax side of the house.</p></blockquote>
<p>Checkout the video below of the guys in action:</p>
<p><object type="application/x-shockwave-flash" data="http://www.vimeo.com/moogaloop.swf?clip_id=968191&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA" height="362" width="480"><br />
<a href="http://www.vimeo.com/968191?pg=embed&amp;sec=968191">Wii Darts in Ajax</a> from <a href="http://www.vimeo.com/dion?pg=embed&amp;sec=968191">Dion Almaer</a> on <a href="http://vimeo.com?pg=embed&amp;sec=968191">Vimeo</a>.</object></p>
<p><a href="http://ajaxian.com/archives/wii-darts-powering-ajax-applications-with-wii-controllers" target="_blank"> You can find the article here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephendowney.net/blog/2008/05/08/java-programming-for-the-nintendo-wii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

