<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Invaders from Mars: Building a JavaScript Game</title>
	<atom:link href="http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Sembiance</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267676</link>
		<dc:creator>Sembiance</dc:creator>
		<pubDate>Fri, 26 Sep 2008 14:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267676</guid>
		<description>@jefposkanzer: You don&#039;t require Flash or Java for sound. Many browsers have built in support from sound. Opera with support for the Audio object, IE with the bgsound attribute, Safari and Firefox depend on the OS have version embeddable sound support.
What you need is a nice easy way to automatically detect what&#039;s available and use it for playing sounds.
I wrote up a little JS library to do this: http://www.telparia.com/browsersoundtest/
It will of course, fall back to Flash as a last resort if available.</description>
		<content:encoded><![CDATA[<p>@jefposkanzer: You don&#8217;t require Flash or Java for sound. Many browsers have built in support from sound. Opera with support for the Audio object, IE with the bgsound attribute, Safari and Firefox depend on the OS have version embeddable sound support.<br />
What you need is a nice easy way to automatically detect what&#8217;s available and use it for playing sounds.<br />
I wrote up a little JS library to do this: <a href="http://www.telparia.com/browsersoundtest/" rel="nofollow">http://www.telparia.com/browsersoundtest/</a><br />
It will of course, fall back to Flash as a last resort if available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joeri</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267621</link>
		<dc:creator>Joeri</dc:creator>
		<pubDate>Wed, 24 Sep 2008 09:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267621</guid>
		<description>@Jefposkanzer: what you call a problem, I call a benefit. First thing I do in every game I play is mute the sound.</description>
		<content:encoded><![CDATA[<p>@Jefposkanzer: what you call a problem, I call a benefit. First thing I do in every game I play is mute the sound.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jseidelin</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267619</link>
		<dc:creator>jseidelin</dc:creator>
		<pubDate>Tue, 23 Sep 2008 20:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267619</guid>
		<description>While canvas is certainly great, it&#039;s not always the best route to take. It really depends on what you&#039;re trying to do. Nice game!</description>
		<content:encoded><![CDATA[<p>While canvas is certainly great, it&#8217;s not always the best route to take. It really depends on what you&#8217;re trying to do. Nice game!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schill</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267618</link>
		<dc:creator>Schill</dc:creator>
		<pubDate>Tue, 23 Sep 2008 19:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267618</guid>
		<description>This is pretty well-done. Firefox 3 renders slowly when compared to Safari, but it&#039;s still quite playable. It&#039;s possible (though I didn&#039;t dig through the code) that a lot of DOM property access, reading offsetWidth/height etc. could be quite expensive and slowing down the game.</description>
		<content:encoded><![CDATA[<p>This is pretty well-done. Firefox 3 renders slowly when compared to Safari, but it&#8217;s still quite playable. It&#8217;s possible (though I didn&#8217;t dig through the code) that a lot of DOM property access, reading offsetWidth/height etc. could be quite expensive and slowing down the game.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GMFlash</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267617</link>
		<dc:creator>GMFlash</dc:creator>
		<pubDate>Tue, 23 Sep 2008 19:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267617</guid>
		<description>Why the low rating? This is one of the nicest games posted to Ajaxian yet!</description>
		<content:encoded><![CDATA[<p>Why the low rating? This is one of the nicest games posted to Ajaxian yet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jefposkanzer</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267612</link>
		<dc:creator>jefposkanzer</dc:creator>
		<pubDate>Tue, 23 Sep 2008 17:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267612</guid>
		<description>Certainly canvas is the way to go in the long run.  Right now there are still lots of people running browsers that don&#039;t support it.

The big problem with doing JavaScript games is sound.  You have to add in a module from either Flash or Java for that, which sucks.</description>
		<content:encoded><![CDATA[<p>Certainly canvas is the way to go in the long run.  Right now there are still lots of people running browsers that don&#8217;t support it.</p>
<p>The big problem with doing JavaScript games is sound.  You have to add in a module from either Flash or Java for that, which sucks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brianarn</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267610</link>
		<dc:creator>brianarn</dc:creator>
		<pubDate>Tue, 23 Sep 2008 16:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267610</guid>
		<description>I really dig the idea of canvas. A couple of months ago, I was trying to do a few things to learn a bit of Prototype and play with the canvas, and I wound up making Conway&#039;s Game of Life using Canvas, all in JS.

http://www.randomthink.net/canvas/life.html

The better the JS engine, the better it can run. I have it intentionally clocked down for now so it doesn&#039;t kill most browsers (I can make it absolutely choke FF2).

Lately I&#039;ve gotten a bit more excited about jQuery than Prototype, though, and so I&#039;m thinking I might revisit it sometime soon and use jQuery instead of Prototype, and implement some user controls with jQuery UI, like some sliders and such so users can adjust the size of the grids, click cells on/off, etc.</description>
		<content:encoded><![CDATA[<p>I really dig the idea of canvas. A couple of months ago, I was trying to do a few things to learn a bit of Prototype and play with the canvas, and I wound up making Conway&#8217;s Game of Life using Canvas, all in JS.</p>
<p><a href="http://www.randomthink.net/canvas/life.html" rel="nofollow">http://www.randomthink.net/canvas/life.html</a></p>
<p>The better the JS engine, the better it can run. I have it intentionally clocked down for now so it doesn&#8217;t kill most browsers (I can make it absolutely choke FF2).</p>
<p>Lately I&#8217;ve gotten a bit more excited about jQuery than Prototype, though, and so I&#8217;m thinking I might revisit it sometime soon and use jQuery instead of Prototype, and implement some user controls with jQuery UI, like some sliders and such so users can adjust the size of the grids, click cells on/off, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jbooth</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267604</link>
		<dc:creator>jbooth</dc:creator>
		<pubDate>Tue, 23 Sep 2008 13:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267604</guid>
		<description>There&#039;s an implementation of the original space invaders arcade machine, implemented using canvas, here:

http://www.bluishcoder.co.nz/js8080/
http://www.bluishcoder.co.nz/2008/09/javascript-space-invaders-emulator.html

It needs a recent browser and a fast js engine though. I think with cavas and fast JS engines you&#039;ll see more of this type of game in JS instead of flash/applets. That invaders from mars is very smooth!</description>
		<content:encoded><![CDATA[<p>There&#8217;s an implementation of the original space invaders arcade machine, implemented using canvas, here:</p>
<p><a href="http://www.bluishcoder.co.nz/js8080/" rel="nofollow">http://www.bluishcoder.co.nz/js8080/</a><br />
<a href="http://www.bluishcoder.co.nz/2008/09/javascript-space-invaders-emulator.html" rel="nofollow">http://www.bluishcoder.co.nz/2008/09/javascript-space-invaders-emulator.html</a></p>
<p>It needs a recent browser and a fast js engine though. I think with cavas and fast JS engines you&#8217;ll see more of this type of game in JS instead of flash/applets. That invaders from mars is very smooth!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TNO</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267603</link>
		<dc:creator>TNO</dc:creator>
		<pubDate>Tue, 23 Sep 2008 12:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267603</guid>
		<description>An event model is pretty easy to implement in the canvas. It surprises me that not many people have followed this route.</description>
		<content:encoded><![CDATA[<p>An event model is pretty easy to implement in the canvas. It surprises me that not many people have followed this route.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henrah</title>
		<link>http://ajaxian.com/archives/invaders-from-mars-building-a-javascript-game/comment-page-1#comment-267602</link>
		<dc:creator>henrah</dc:creator>
		<pubDate>Tue, 23 Sep 2008 12:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4570#comment-267602</guid>
		<description>Friday already?</description>
		<content:encoded><![CDATA[<p>Friday already?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

