<?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>Mike Chambers &#187; games</title>
	<atom:link href="http://www.mikechambers.com/blog/tag/games/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikechambers.com/blog</link>
	<description>code = joy</description>
	<lastBuildDate>Thu, 29 Jul 2010 18:12:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>What new game APIs do you want in the Flash Player?</title>
		<link>http://www.mikechambers.com/blog/2009/06/16/what-new-game-apis-do-you-want-in-the-flash-player/</link>
		<comments>http://www.mikechambers.com/blog/2009/06/16/what-new-game-apis-do-you-want-in-the-flash-player/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 19:03:57 +0000</pubDate>
		<dc:creator>mikechambers</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flashplayer]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.mikechambers.com/blog/?p=1741</guid>
		<description><![CDATA[I have been learning some game development lately, and building my first game (well, at least my first game since Flash 4). I think game development and deployment are some of the real strengths of the Flash player, but ones which we haven&#8217;t specifically focused on in a while. While working on my game, there [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.mikechambers.com%2Fblog%2F2009%2F06%2F16%2Fwhat-new-game-apis-do-you-want-in-the-flash-player%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.mikechambers.com%2Fblog%2F2009%2F06%2F16%2Fwhat-new-game-apis-do-you-want-in-the-flash-player%2F&amp;source=mesh&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I have been learning some game development lately, and building my first game (well, at least my first game since Flash 4). I think game development and deployment are some of the real strengths of the Flash player, but ones which we haven&#8217;t specifically focused on in a while.</p>
<p>While working on my game, there were a couple of things I needed to do where additional player APIs could have made the development easier (as well as likely speeding up execution). This got me to thinking about other APIs that would be useful for game development. So, what new Flash Player APIs would you like to see that would make game development easier?</p>
<p>Here are a couple from me:<br />
<span id="more-1741"></span><br />
Hit test that tests visible bounds of Sprites. Something like:</p>
<div class="highlight">
<pre>sprite.hitTestVisible(anotherSprite)<span style="color: #666666">:</span><span style="color: #008000">Boolean</span>
</pre>
</div>
<p>&nbsp;</p>
<p>Basically, something similar the <a href="http://www.gskinner.com/blog/archives/2005/10/source_code_sha.html">API Grant Skinner created</a>, but native to the player.</p>
<p>The next API I would like is one that would check for hits against multiple sprites, and return a vector of sprites that we colliding.</p>
<div class="highlight">
<pre>sprite.hitTestMultiple(sprites<span style="color: #666666">:</span>Vector.<span style="color: #666666">&lt;</span>Sprite<span style="color: #666666">&gt;</span>)<span style="color: #666666">:</span>Vector.<span style="color: #666666">&lt;</span>Sprite<span style="color: #666666">&gt;;</span>
</pre>
</div>
<p>&nbsp;</p>
<p>This would make it easy to do collision detection for multiple items, and perhaps lead to a performance boost.</p>
<p>So, what APIs would you like to see that would make game development easier. Please be as specific as possible (i.e. don&#8217;t just say &#8220;Physics engine&#8221; or 3D support). Leave you suggestions in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikechambers.com/blog/2009/06/16/what-new-game-apis-do-you-want-in-the-flash-player/feed/</wfw:commentRss>
		<slash:comments>92</slash:comments>
		</item>
	</channel>
</rss>
