<?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: Play Kings Quest, Space Quest, and More&#8230; Using Canvas Tag</title>
	<atom:link href="http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Jeria</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275872</link>
		<dc:creator>Jeria</dc:creator>
		<pubDate>Fri, 09 Oct 2009 08:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275872</guid>
		<description>@Brad Nueberg: So why don&#039;t you update the headline then? It is misleading for people that don&#039;t read the comments.</description>
		<content:encoded><![CDATA[<p>@Brad Nueberg: So why don&#8217;t you update the headline then? It is misleading for people that don&#8217;t read the comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275870</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Fri, 09 Oct 2009 05:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275870</guid>
		<description>I understand that goto and labels aren&#039;t exactly the same but I bet you could have used them for some of the cases, or found better ways to handle it (like breaking things up into smaller functions and calling them).</description>
		<content:encoded><![CDATA[<p>I understand that goto and labels aren&#8217;t exactly the same but I bet you could have used them for some of the cases, or found better ways to handle it (like breaking things up into smaller functions and calling them).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275869</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Fri, 09 Oct 2009 04:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275869</guid>
		<description>All that work for GOTO and you could have used &quot;Label Statements&quot;:
.
http://bclary.com/2004/11/07/#a-12.12
.
https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Loop_Statements/label_Statement</description>
		<content:encoded><![CDATA[<p>All that work for GOTO and you could have used &#8220;Label Statements&#8221;:<br />
.<br />
<a href="http://bclary.com/2004/11/07/#a-12.12" rel="nofollow">http://bclary.com/2004/11/07/#a-12.12</a><br />
.<br />
<a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Loop_Statements/label_Statement" rel="nofollow">https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Loop_Statements/label_Statement</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Neuberg</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275865</link>
		<dc:creator>Brad Neuberg</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275865</guid>
		<description>Aha, that&#039;s crazy! Didn&#039;t realize it&#039;s just a bunch of GIFs. I guess I just assumed that was the only way to do it.</description>
		<content:encoded><![CDATA[<p>Aha, that&#8217;s crazy! Didn&#8217;t realize it&#8217;s just a bunch of GIFs. I guess I just assumed that was the only way to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darkimmortal</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275863</link>
		<dc:creator>Darkimmortal</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275863</guid>
		<description>Silly HTML stripper

&lt;div id=&quot;canvas&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Silly HTML stripper</p>
<p>&lt;div id=&#8221;canvas&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darkimmortal</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275862</link>
		<dc:creator>Darkimmortal</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275862</guid>
		<description>

ahahahahahha


Also I tried to say HURRRRRRRRRRRRRRRRRR but it crashed :(</description>
		<content:encoded><![CDATA[<p>ahahahahahha</p>
<p>Also I tried to say HURRRRRRRRRRRRRRRRRR but it crashed :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeria</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275861</link>
		<dc:creator>Jeria</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275861</guid>
		<description>No canvas tag according to the DOM Inspector, just a bunch of PNGs</description>
		<content:encoded><![CDATA[<p>No canvas tag according to the DOM Inspector, just a bunch of PNGs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sjoerdvisscher</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275860</link>
		<dc:creator>sjoerdvisscher</dc:creator>
		<pubDate>Thu, 08 Oct 2009 15:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275860</guid>
		<description>Canvas tag? Where did you get that from? It&#039;s all just a bunch of GIFs. It works in IE6! And by the way, I only helped with the GOTO issue, the rest is all Martin!

@aadsm: yes, that is basically the same solution. But in a switch statement it looks more like real line numbers. :-)</description>
		<content:encoded><![CDATA[<p>Canvas tag? Where did you get that from? It&#8217;s all just a bunch of GIFs. It works in IE6! And by the way, I only helped with the GOTO issue, the rest is all Martin!</p>
<p>@aadsm: yes, that is basically the same solution. But in a switch statement it looks more like real line numbers. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aadsm</title>
		<link>http://ajaxian.com/archives/play-kings-quest-space-quest-and-more-using-canvas-tag/comment-page-1#comment-275855</link>
		<dc:creator>aadsm</dc:creator>
		<pubDate>Thu, 08 Oct 2009 12:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7585#comment-275855</guid>
		<description>&quot;I was able to convert the logic to javascript, but there was one big problem: Sierra’s code used GOTO statements, and those could jump anywhere in the code, even inside a nested “if”-statement. It seemed unsolvable in javascript.&quot;

I solved that in my 2005 Web AGI Engine (http://web.ist.utl.pt/antonio.afonso/agi/) by separating the logic into different functions, whenever there was a new label I forked it into a new function and returned the number of that function.

Here&#039;s the LSL logic compiled into JS: http://web.ist.utl.pt/antonio.afonso/agi/cache/
My compiler is written in PHP: http://web.ist.utl.pt/antonio.afonso/agi/logic.phps</description>
		<content:encoded><![CDATA[<p>&#8220;I was able to convert the logic to javascript, but there was one big problem: Sierra’s code used GOTO statements, and those could jump anywhere in the code, even inside a nested “if”-statement. It seemed unsolvable in javascript.&#8221;</p>
<p>I solved that in my 2005 Web AGI Engine (<a href="http://web.ist.utl.pt/antonio.afonso/agi/" rel="nofollow">http://web.ist.utl.pt/antonio.afonso/agi/</a>) by separating the logic into different functions, whenever there was a new label I forked it into a new function and returned the number of that function.</p>
<p>Here&#8217;s the LSL logic compiled into JS: <a href="http://web.ist.utl.pt/antonio.afonso/agi/cache/" rel="nofollow">http://web.ist.utl.pt/antonio.afonso/agi/cache/</a><br />
My compiler is written in PHP: <a href="http://web.ist.utl.pt/antonio.afonso/agi/logic.phps" rel="nofollow">http://web.ist.utl.pt/antonio.afonso/agi/logic.phps</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

