<?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>Apreche.net &#187; AJAX</title>
	<atom:link href="http://www.apreche.net/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.apreche.net</link>
	<description>One geeks thoughts on the geekeries of the world.</description>
	<lastBuildDate>Mon, 16 Jan 2012 23:08:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>AJAX + Canvas = Awesome + Games</title>
		<link>http://www.apreche.net/ajax-canvas-awesome-games/</link>
		<comments>http://www.apreche.net/ajax-canvas-awesome-games/#comments</comments>
		<pubDate>Mon, 05 Dec 2005 22:04:41 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=68</guid>
		<description><![CDATA[...you can make a massive multiplayer online game in a web browser that requires very little loading time, no installation and no plugins. <a href="http://www.apreche.net/ajax-canvas-awesome-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may recall a previous blog post I made about <a href="http://www.apreche.net/2005/06/11/ajax-games/">games using AJAX</a>. Web pages with the ability to read and write to databases via XML and update the display without reloading allow for the possibility of games that work in any web browser without plug-ins or large bandwidth consumption. But the games would still be limited to what you can draw using CSS and HTML. Thanks to the new <a href="http://developer.mozilla.org/en/docs/Canvas_tutorial">canvas element</a> in the newest versions of <a href="http://www.getfirefox.com">Firefox</a> and <a href="http://www.apple.com/macosx/features/safari/">Safari</a> this is no longer a limitation.</p>
<p><span id="more-68"></span></p>
<p>When I saw <a href="http://www.abrahamjoffe.com.au/ben/canvascape/">this fps</a> implemented using the canvas element last week I knew gold had been struck. With the canvas you have the ability to create a real-time drawing surface with JavaScript. With the XMLHttpRequest you have the ability to get and send data to a web application which can read and write to a database. If you add these two things together you can make a massive multiplayer online game in a web browser that requires very little loading time, no installation and no plugins. This is the hotness. If games like <a href="http://www.kingdomofloathing.com">Kingdom of Loathing</a> pick up on this technology they can do some really revolutionary stuff.</p>
<p>As a proof of concept for this idea I have created a <a href="http://www.apreche.net/~apreche/canvasdemo/canvastest.html">terrible terrible demo</a>. It&#8217;s really simple and almost embarassing, but that&#8217;s what you get with less than an hour of work. I only tested it in Firefox 1.5, but it should theoretically work in any browser that supports XMLHttpRequest and canvas. There are two links and a canvas. If you click a link, the square with the coordinates it represents will turn black. This isn&#8217;t anything new, except that behind the scenes those coordinates are being read from XML data. If you replace that static XML data with a web application and a relational database then you&#8217;re playing with power.</p>
<p>Maybe the demo will be better by the time you read this. I&#8217;m going to keep working on it as a platform for creating games that utilize grids. Tile-laying games like <a href="http://www.boardgamegeek.com/game/42">Tigris and Euphrates</a> and strategy games like Dungeons and Dragons combat are top contenders. All that we have to do now is expand the canvas to have real 3d drawing power with the help of the GPU.</p>
<p>What are the long term implications of this technology? The most obvious thing I see is another nail in the coffin of Microsoft. Looking for the reason? PC Gaming is one of the main reasons pepople still run Windows. If all the software is web-based then Firefox becomes the OS and Linux/OSX/Windows doesn&#8217;t matter. If we can make a 3d, or even a 2d MMO that works in Firefox regardless of platform we can make a killing. Even people running old versions of BSD would be able to play the game just fine. There are more PCs than consoles out there. Firefox&#8217;s popularity is growing daily. A quality game built on this platform could easily overtake the great World of Warcraft because the barrier to entry is so small. To get into most MMOs you have to install software and have sufficient 3d hardware. Signing up for this MMO would be no harder than registering for a forum on the web.</p>
<p>I&#8217;m going to talk about this tonight on <a href="http://www.frontrowcrew.com/?cat=27">GeekNights</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/ajax-canvas-awesome-games/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AJAX Games</title>
		<link>http://www.apreche.net/ajax-games/</link>
		<comments>http://www.apreche.net/ajax-games/#comments</comments>
		<pubDate>Sat, 11 Jun 2005 15:24:24 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=45</guid>
		<description><![CDATA[The day when 5 people can play the same game of Puerto Rico on a phone, palm, blackberry, PC and PSP in different parts of the world will be a very good day. <a href="http://www.apreche.net/ajax-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I made a comment recently on <a href="http://ejohn.org/blog/streaming-http-server-push/">a blog</a> that was talking about streaming HTTP, AJAX and other hot web technologies. I realized that as far as Google and del.icio.us know, nobody has made a game using these technologies. I hope that this post will help me to find, create or inspire games that do so.</p>
<p><span id="more-45"></span></p>
<p>I remember back in the 90&#8242;s there were JavaScript games. Java and Flash were big and slow to download over dial-up connections. Yet people wanted to play games in the web browser. People created a bunch of CGI and JavaScript based games using form elements and gifs to create poor renditions of classic turn based games. Mostly card games IIRC. But as technology advanced we got Director, Flash and Java to provide the browser embedded games we desired.</p>
<p>Recently there have been advances in web technology like AJAX, SVG, XmlHTTPRequest that allow web pages to be more dynamic than ever. Without using iframes we can have pages that both update information in a database and update their display based on information from the database without reloading. I think it&#8217;s freaking obvious that we should make a game based on that architecture. It will load fast, look cool, not require plug-ins, work in any new browser, allow multi-player and just be fun.</p>
<p>My current vision is to recreate versions of European board games such as Puerto Rico, Tigris and Euphrates, St. Petersburg, Carcassone, etc. using this platform. Much like the version of Settlers of Catan made with Java, this would be a huge hit and a great way to kill shit tons of time.</p>
<p>Now, there is more to it than in-browser games that don&#8217;t require a plug-in. ANY modern browser will run the games. That could potentially include browsers on cell phones, Palm devices, Blackberries, etc. Imagine if instead of paying your cellular carrier money to download a shit version of Tetris because they disabled phone functionality you can instead just visit a page and play board games with your friends for your standard data charge. And different style sheets for different media will enable the game to have a proper interface despite your chosen browser, device and network speed. The day when 5 people can play the same game of Puerto Rico on a phone, palm, blackberry, PC and PSP in different parts of the world will be a very good day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/ajax-games/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

