<?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: AS3 Character Movement: Helicopter Games</title>
	<atom:link href="http://asgamer.com/2009/as3-character-movement-helicopter-games/feed" rel="self" type="application/rss+xml" />
	<link>http://asgamer.com/2009/as3-character-movement-helicopter-games</link>
	<description>Learn to Make Flash Games, Applications, and Websites</description>
	<pubDate>Sat, 31 Jul 2010 11:58:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Leo</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4868</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4868</guid>
		<description>Topi, I'm not an expert at all, but it would make sense to see that those variables are private to the Helicopter class. In essence, the variables are effecting the Helicopter the same way heli.x would, except without the heli part. Much cleaner this way IMO</description>
		<content:encoded><![CDATA[<p>Topi, I&#8217;m not an expert at all, but it would make sense to see that those variables are private to the Helicopter class. In essence, the variables are effecting the Helicopter the same way heli.x would, except without the heli part. Much cleaner this way IMO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Topi</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4839</link>
		<dc:creator>Topi</dc:creator>
		<pubDate>Thu, 25 Mar 2010 13:10:08 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4839</guid>
		<description>lil question,
how is vy and vx affecting the position of the heli?  
they are simple private variables of type number. 
if it were written somewhere in the code heli.x = vx or something like that it would have been simpler for me to understand. right now i am confused :0</description>
		<content:encoded><![CDATA[<p>lil question,<br />
how is vy and vx affecting the position of the heli?<br />
they are simple private variables of type number.<br />
if it were written somewhere in the code heli.x = vx or something like that it would have been simpler for me to understand. right now i am confused :0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asim</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4718</link>
		<dc:creator>Asim</dc:creator>
		<pubDate>Sat, 23 Jan 2010 19:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4718</guid>
		<description>In the third and fourth code box it says function instead of var,

@Alex &#62;

it should be var instead of function .... i am still reading it..</description>
		<content:encoded><![CDATA[<p>In the third and fourth code box it says function instead of var,</p>
<p>@Alex &gt;</p>
<p>it should be var instead of function &#8230;. i am still reading it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4716</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 17 Jan 2010 06:07:10 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4716</guid>
		<description>Okay, I just have one question. That stageRef variable is a little confusing.

In the third and fourth code box it says function instead of var, that threw me off at first. Then with it fixed I got a 1046 error in line 18. Said "Type was not found or was not a compile-time constant: Stage”

The class name is not Ship in the fla (which would cause it)

Any ideas?</description>
		<content:encoded><![CDATA[<p>Okay, I just have one question. That stageRef variable is a little confusing.</p>
<p>In the third and fourth code box it says function instead of var, that threw me off at first. Then with it fixed I got a 1046 error in line 18. Said &#8220;Type was not found or was not a compile-time constant: Stage”</p>
<p>The class name is not Ship in the fla (which would cause it)</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4542</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 04 Oct 2009 03:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4542</guid>
		<description>I think I love you. You just explained like a million things. AS3 motion was always awkward for me. THANKS A WHOLE BUNCH :D</description>
		<content:encoded><![CDATA[<p>I think I love you. You just explained like a million things. AS3 motion was always awkward for me. THANKS A WHOLE BUNCH <img src='http://asgamer.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4137</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Tue, 14 Jul 2009 13:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4137</guid>
		<description>There's an OR command for conditionals use it.</description>
		<content:encoded><![CDATA[<p>There&#8217;s an OR command for conditionals use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-4110</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 13 Jul 2009 22:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-4110</guid>
		<description>Hello, Great tut however i think everyone would benifet if you showed us how to include checks for other button presses, ie most games that require movement have optional buttons, the way you have used Up, Down ect and aslo the 'wasd' keys. How can you allow both to be used with this code?

Many Thanks
Chris</description>
		<content:encoded><![CDATA[<p>Hello, Great tut however i think everyone would benifet if you showed us how to include checks for other button presses, ie most games that require movement have optional buttons, the way you have used Up, Down ect and aslo the &#8216;wasd&#8217; keys. How can you allow both to be used with this code?</p>
<p>Many Thanks<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-35</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Thu, 26 Feb 2009 20:41:06 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-35</guid>
		<description>@Hernan 
Yep, that works great. I'd never thought of doing it that way. Thanks for sharing your method of limiting a number between two values. It's a little less obvious than a simple conditional (when reading the code) but I like it. :)</description>
		<content:encoded><![CDATA[<p>@Hernan<br />
Yep, that works great. I&#8217;d never thought of doing it that way. Thanks for sharing your method of limiting a number between two values. It&#8217;s a little less obvious than a simple conditional (when reading the code) but I like it. <img src='http://asgamer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hernan</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-34</link>
		<dc:creator>Hernan</dc:creator>
		<pubDate>Thu, 26 Feb 2009 18:50:08 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-34</guid>
		<description>Not sure about speed (but it cant hurt too much right?), but I usually replace this:

if (vy &#62; maxspeedG)
	vy = maxspeedG;
else if (vy &#60; -maxspeed)
	vy = -maxspeed;

With this:

vy = Math.min (maxspeedG, Math.max (-maxspeed, vy));</description>
		<content:encoded><![CDATA[<p>Not sure about speed (but it cant hurt too much right?), but I usually replace this:</p>
<p>if (vy &gt; maxspeedG)<br />
	vy = maxspeedG;<br />
else if (vy &lt; -maxspeed)<br />
	vy = -maxspeed;</p>
<p>With this:</p>
<p>vy = Math.min (maxspeedG, Math.max (-maxspeed, vy));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bret</title>
		<link>http://asgamer.com/2009/as3-character-movement-helicopter-games/comment-page-1#comment-30</link>
		<dc:creator>Bret</dc:creator>
		<pubDate>Wed, 25 Feb 2009 21:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=223#comment-30</guid>
		<description>woops..........didn't see the link to the finished product....got that and it works like a charm...but for some reason I can't get the code above to display a helicopter. no errors though so I am not sure what I am doing wrong. I don't even see any differences in the finished code either. Oh well...

Again great tutorial.........great site too!</description>
		<content:encoded><![CDATA[<p>woops&#8230;&#8230;&#8230;.didn&#8217;t see the link to the finished product&#8230;.got that and it works like a charm&#8230;but for some reason I can&#8217;t get the code above to display a helicopter. no errors though so I am not sure what I am doing wrong. I don&#8217;t even see any differences in the finished code either. Oh well&#8230;</p>
<p>Again great tutorial&#8230;&#8230;&#8230;great site too!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
