<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Efficient Collision Detection with Dynamically Created MC&#8217;s</title>
	<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/</link>
	<description></description>
	<pubDate>Fri, 21 Nov 2008 07:30:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Bigfoot</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-22418</link>
		<dc:creator>Bigfoot</dc:creator>
		<pubDate>Thu, 11 Sep 2008 19:49:52 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-22418</guid>
		<description>Also @Billy
I changed the script to have more bullets on the screen by changing line 4 
(if (random(10) = 0) { 
and adding more numbers in there, so instead of just checking to see if it equaled 0, I did
(if (random(10) = 0 &#124;&#124; 1 &#124;&#124; 2 &#124;&#124; 3) { 
My script adds a new bullets if a random number between 0-9 equals 0, 1, 2 or 3 and I got a whole BUNCH of bullets at once.</description>
		<content:encoded><![CDATA[<p>Also @Billy<br />
I changed the script to have more bullets on the screen by changing line 4<br />
(if (random(10) = 0) {<br />
and adding more numbers in there, so instead of just checking to see if it equaled 0, I did<br />
(if (random(10) = 0 || 1 || 2 || 3) {<br />
My script adds a new bullets if a random number between 0-9 equals 0, 1, 2 or 3 and I got a whole BUNCH of bullets at once.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bigfoot</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-22417</link>
		<dc:creator>Bigfoot</dc:creator>
		<pubDate>Thu, 11 Sep 2008 19:43:50 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-22417</guid>
		<description>@Billy
You would want to change that line :
_root["b"+n]._y -= 20; 
to
_root["b"+n]._y += 20;
so that they move downwards.
But you also need to change where they start. Right now the last variable in line 5 (attachMovie("Bullet...) is this :
_y:Stage.height
which says to attach the new clip at y:400 (or whatever the height of your movie is) You need to change that to 
_y:0
if you want it to start at the very top, and then fall.
I hope that made sense.
Also, great tutorial! I tried doing this on my own and I'm sure it wasn't nearly as clean as your script :)</description>
		<content:encoded><![CDATA[<p>@Billy<br />
You would want to change that line :<br />
_root[&#8221;b&#8221;+n]._y -= 20;<br />
to<br />
_root[&#8221;b&#8221;+n]._y += 20;<br />
so that they move downwards.<br />
But you also need to change where they start. Right now the last variable in line 5 (attachMovie(&#8221;Bullet&#8230;) is this :<br />
_y:Stage.height<br />
which says to attach the new clip at y:400 (or whatever the height of your movie is) You need to change that to<br />
_y:0<br />
if you want it to start at the very top, and then fall.<br />
I hope that made sense.<br />
Also, great tutorial! I tried doing this on my own and I&#8217;m sure it wasn&#8217;t nearly as clean as your script <img src='http://www.awestyproductions.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-21577</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Sat, 09 Aug 2008 17:06:02 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-21577</guid>
		<description>How would you make the bullets start at the top and fall down. 

"_root["b" n]._y -= 20;"

I changed the (y-=20) to (y =20) to make them descend but as the bullets start at the bottom they fall already out of site.

Also how do you increase the number of bullet on screen?

Many thanks.</description>
		<content:encoded><![CDATA[<p>How would you make the bullets start at the top and fall down. </p>
<p>&#8220;_root[&#8221;b&#8221; n]._y -= 20;&#8221;</p>
<p>I changed the (y-=20) to (y =20) to make them descend but as the bullets start at the bottom they fall already out of site.</p>
<p>Also how do you increase the number of bullet on screen?</p>
<p>Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GM</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-18438</link>
		<dc:creator>GM</dc:creator>
		<pubDate>Fri, 27 Jun 2008 05:06:09 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-18438</guid>
		<description>on(release){
gotoAndStop(“SceneName”, FrameNumber)
}</description>
		<content:encoded><![CDATA[<p>on(release){<br />
gotoAndStop(“SceneName”, FrameNumber)<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luccaped</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-17024</link>
		<dc:creator>Luccaped</dc:creator>
		<pubDate>Thu, 15 May 2008 18:51:20 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-17024</guid>
		<description>But i want to do the same thing as Bryson but i want to blow up my spaceship. I put the same code as you put there but it didn't work! is it my version of flash? my version is flash 8 professional or is it the registation point of the spaceship? please reply! because this problem stopped me from finishing my game! i was nearly finished!</description>
		<content:encoded><![CDATA[<p>But i want to do the same thing as Bryson but i want to blow up my spaceship. I put the same code as you put there but it didn&#8217;t work! is it my version of flash? my version is flash 8 professional or is it the registation point of the spaceship? please reply! because this problem stopped me from finishing my game! i was nearly finished!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-12576</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 12 Feb 2008 09:31:36 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-12576</guid>
		<description>Hello,

I am contacting you on behalf of www.flashcomponents.net . I've read one of your tutorials and I like the way you write. Our site is continuously growing and we recently added a tutorial section. We kindly ask for your approval to allow us to publish your tutorials on our site, mentioning you as the author.
Of course, we are inviting you to do it yourself, but either way, it would be our pleasure to publish them.

Kind regards,
Mike &#124; Flash Components Team</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am contacting you on behalf of <a href="http://www.flashcomponents.net" rel="nofollow">www.flashcomponents.net</a> . I&#8217;ve read one of your tutorials and I like the way you write. Our site is continuously growing and we recently added a tutorial section. We kindly ask for your approval to allow us to publish your tutorials on our site, mentioning you as the author.<br />
Of course, we are inviting you to do it yourself, but either way, it would be our pleasure to publish them.</p>
<p>Kind regards,<br />
Mike | Flash Components Team</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silviu Vlad</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-8252</link>
		<dc:creator>Silviu Vlad</dc:creator>
		<pubDate>Wed, 14 Nov 2007 21:49:51 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-8252</guid>
		<description>I'm working on a small flash fight game(http://silviu.sytes.net/flash fight.html), and I want to know how to make my enemy("Cernescu Marius")to throw with blood when he's toched by the attack movie clip of player character.
The key for this game is A,D , and  (arrows) and numpad1. (SORRY FOR MY BAD ENGLISH)</description>
		<content:encoded><![CDATA[<p>I&#8217;m working on a small flash fight game(http://silviu.sytes.net/flash fight.html), and I want to know how to make my enemy(&#8221;Cernescu Marius&#8221;)to throw with blood when he&#8217;s toched by the attack movie clip of player character.<br />
The key for this game is A,D , and  (arrows) and numpad1. (SORRY FOR MY BAD ENGLISH)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryson Taylor</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7934</link>
		<dc:creator>Bryson Taylor</dc:creator>
		<pubDate>Fri, 02 Nov 2007 23:30:47 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7934</guid>
		<description>Works great! I guess I should of seen it was in the other code, though. ^_^ Feel a bit foolish. Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Works great! I guess I should of seen it was in the other code, though. ^_^ Feel a bit foolish. Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awesty</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7868</link>
		<dc:creator>awesty</dc:creator>
		<pubDate>Wed, 31 Oct 2007 05:16:13 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7868</guid>
		<description>&lt;code&gt;if(_root["b"+n].hitTest(_root.heli)){
  removeMovieClip(_root["b"+n]);
  bullets.splice(j,1);
  _root.heli.gotoAndStop(2);
}&lt;/code&gt;

Frame 2 of the helicopter could have an explosion animation that plays when it hits a bullet.</description>
		<content:encoded><![CDATA[<p><code>if(_root["b"+n].hitTest(_root.heli)){<br />
  removeMovieClip(_root["b"+n]);<br />
  bullets.splice(j,1);<br />
  _root.heli.gotoAndStop(2);<br />
}</code></p>
<p>Frame 2 of the helicopter could have an explosion animation that plays when it hits a bullet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryson</title>
		<link>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7867</link>
		<dc:creator>Bryson</dc:creator>
		<pubDate>Wed, 31 Oct 2007 04:59:47 +0000</pubDate>
		<guid>http://www.awestyproductions.com/tutorials/flash-tutorials/efficient-collision-detection-with-dynamically-created-mcs/#comment-7867</guid>
		<description>Hey Awesty,
      Some of the best tutorials here! I want to say thank you for everything you've done.

I'm currently making a tiny flash game based on two or three of your tutorials where you fly a helicopter (bound to the mouse) and you dodge bullets (I used the code in this tutorial) The problem I'm having is I can't get the bullets to blow up the helicopter. Any help would be greatly appreciated, but if you don't have time, that's understandable as well.
Thanks for everything.
~Bryson</description>
		<content:encoded><![CDATA[<p>Hey Awesty,<br />
      Some of the best tutorials here! I want to say thank you for everything you&#8217;ve done.</p>
<p>I&#8217;m currently making a tiny flash game based on two or three of your tutorials where you fly a helicopter (bound to the mouse) and you dodge bullets (I used the code in this tutorial) The problem I&#8217;m having is I can&#8217;t get the bullets to blow up the helicopter. Any help would be greatly appreciated, but if you don&#8217;t have time, that&#8217;s understandable as well.<br />
Thanks for everything.<br />
~Bryson</p>
]]></content:encoded>
	</item>
</channel>
</rss>
