<?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: Actionscript Caveats, Gotchas, &amp; WTF &#8211; Part 1</title>
	<atom:link href="http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/</link>
	<description>A chronicle of the development of a video game</description>
	<lastBuildDate>Sun, 15 Jan 2012 14:37:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Adam</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2067</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Sun, 25 Oct 2009 12:05:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2067</guid>
		<description>@Nintendo Maniac 64: Now that&#039;s a challenge I never want to take on!  However there are some interesting games written for DHTML, especially Lemmings: http://www.javascriptgaming.com/search/label/DHTML?Tech&amp;updated-max=2009-03-08T08%3A32%3A00-07%3A00&amp;max-results=10</description>
		<content:encoded><![CDATA[<p>@Nintendo Maniac 64: Now that&#8217;s a challenge I never want to take on!  However there are some interesting games written for DHTML, especially Lemmings: <a href="http://www.javascriptgaming.com/search/label/DHTML?Tech&#038;updated-max=2009-03-08T08%3A32%3A00-07%3A00&#038;max-results=10" rel="nofollow">http://www.javascriptgaming.com/search/label/DHTML?Tech&#038;updated-max=2009-03-08T08%3A32%3A00-07%3A00&#038;max-results=10</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nintendo Maniac 64</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2066</link>
		<dc:creator>Nintendo Maniac 64</dc:creator>
		<pubDate>Thu, 22 Oct 2009 00:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2066</guid>
		<description>There&#039;s always other standard in-browser technologies such as those in HTML5 (canvas, svg, audio tags, etc) that would enable browser-based gameplay without using flash at all.</description>
		<content:encoded><![CDATA[<p>There&#8217;s always other standard in-browser technologies such as those in HTML5 (canvas, svg, audio tags, etc) that would enable browser-based gameplay without using flash at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syniphas</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2048</link>
		<dc:creator>Syniphas</dc:creator>
		<pubDate>Thu, 01 Oct 2009 01:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2048</guid>
		<description>Yeah, I guessed so, but still my point is not that you make it just a standalone game, but a standalone game not made in Flash, and rather a decent programming language such as C.

Also, I just realized that not only Squarez and Jetpack were made by Adept Software, but also God of Thunder! I recently found a shareware version in an old 1994 CD I had lying around for ages. I just downloaded the full version from the site, this game is epic!</description>
		<content:encoded><![CDATA[<p>Yeah, I guessed so, but still my point is not that you make it just a standalone game, but a standalone game not made in Flash, and rather a decent programming language such as C.</p>
<p>Also, I just realized that not only Squarez and Jetpack were made by Adept Software, but also God of Thunder! I recently found a shareware version in an old 1994 CD I had lying around for ages. I just downloaded the full version from the site, this game is epic!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2047</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 23 Sep 2009 01:24:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2047</guid>
		<description>Ahh the color depth might be the culprit, I&#039;ll look into that.

It will be standalone also, but making it a web game makes it more accessible.</description>
		<content:encoded><![CDATA[<p>Ahh the color depth might be the culprit, I&#8217;ll look into that.</p>
<p>It will be standalone also, but making it a web game makes it more accessible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syniphas</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2046</link>
		<dc:creator>Syniphas</dc:creator>
		<pubDate>Mon, 21 Sep 2009 16:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2046</guid>
		<description>Those are some of the reasons I never liked Flash.

If you want my opinion, you shouldn&#039;t be doing it as a browser game, but again as actual standalone game like Jetpack (perhaps even another DOS game, people still like those and play them with DOSBox, I know I do).</description>
		<content:encoded><![CDATA[<p>Those are some of the reasons I never liked Flash.</p>
<p>If you want my opinion, you shouldn&#8217;t be doing it as a browser game, but again as actual standalone game like Jetpack (perhaps even another DOS game, people still like those and play them with DOSBox, I know I do).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denilson</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2045</link>
		<dc:creator>Denilson</dc:creator>
		<pubDate>Sat, 19 Sep 2009 23:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2045</guid>
		<description>That rectangle box MIGHT be related to using &quot;High color&quot; (15 or 16-bit color depth) instead of &quot;True color&quot; (24 or 32-bit). I remember I had something similar to what you describe loooooong time ago, in Flash 5.</description>
		<content:encoded><![CDATA[<p>That rectangle box MIGHT be related to using &#8220;High color&#8221; (15 or 16-bit color depth) instead of &#8220;True color&#8221; (24 or 32-bit). I remember I had something similar to what you describe loooooong time ago, in Flash 5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Kloske</title>
		<link>http://www.jetpackhq.com/blog/2009/09/16/actionscript-caveats-gotchas-wtf-part-1/comment-page-1/#comment-2043</link>
		<dc:creator>Tim Kloske</dc:creator>
		<pubDate>Thu, 17 Sep 2009 00:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.jetpackhq.com/blog/?p=124#comment-2043</guid>
		<description>I&#039;ve never noticed anything like the two mysteries you&#039;ve mentioned. Probably (hopefully) rare, hardware specific issues. MOUSE_WHEEL can be wonky too, so I&#039;d stay away from that too as a primary aspect of gameplay... it&#039;s especially wonky for (seemingly) random Mac users.

The mysterious keyboard issue is probably some sort of driver issue.

Two other possible hacks for your registration point problem are:
- to use simple trig to offset the x and y to make it appear to rotate around a different center.
- to nest a bitmap inside two MovieClips (or more likely sprites), and offsetting the x and y of the inner MovieClip. I&#039;ve tested this method just now with MovieClips, and it definitely works. Not sure if this would impact performance, but it probably would knowing Flash.

I&#039;ve noticed the performance issue with alpha=0 as well.

As long as the matrix transformation works, I&#039;d probably stick with that. You might want to do a performance test and try all three of these methods though if you have the time.

If I had the space I&#039;d vent about more of my flash issues (like the lack of the ability to unload FLVs... I&#039;ve looked and tried everything). Not that you would for this project, but don&#039;t put a lot of static text in your fla. It doesn&#039;t matter how much you spread the text out frame-wise, it will lag the entire IDE to a halt.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve never noticed anything like the two mysteries you&#8217;ve mentioned. Probably (hopefully) rare, hardware specific issues. MOUSE_WHEEL can be wonky too, so I&#8217;d stay away from that too as a primary aspect of gameplay&#8230; it&#8217;s especially wonky for (seemingly) random Mac users.</p>
<p>The mysterious keyboard issue is probably some sort of driver issue.</p>
<p>Two other possible hacks for your registration point problem are:<br />
- to use simple trig to offset the x and y to make it appear to rotate around a different center.<br />
- to nest a bitmap inside two MovieClips (or more likely sprites), and offsetting the x and y of the inner MovieClip. I&#8217;ve tested this method just now with MovieClips, and it definitely works. Not sure if this would impact performance, but it probably would knowing Flash.</p>
<p>I&#8217;ve noticed the performance issue with alpha=0 as well.</p>
<p>As long as the matrix transformation works, I&#8217;d probably stick with that. You might want to do a performance test and try all three of these methods though if you have the time.</p>
<p>If I had the space I&#8217;d vent about more of my flash issues (like the lack of the ability to unload FLVs&#8230; I&#8217;ve looked and tried everything). Not that you would for this project, but don&#8217;t put a lot of static text in your fla. It doesn&#8217;t matter how much you spread the text out frame-wise, it will lag the entire IDE to a halt.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

