<?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"
	>
<channel>
	<title>Comments on: Flash Tutorial: Breakout Game Part 1</title>
	<atom:link href="http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 12:12:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: shazad mirza</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-679</link>
		<dc:creator>shazad mirza</dc:creator>
		<pubDate>Fri, 10 Oct 2008 02:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-679</guid>
		<description>I remember creating this style of game for flash lite on a nokia n70</description>
		<content:encoded><![CDATA[<p>I remember creating this style of game for flash lite on a nokia n70</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-664</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 15 Sep 2008 08:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-664</guid>
		<description>First off, Great tut, well explained!

unfortunately, i am using different stage dimensions and i am unsure of which numbers i need to change to get the ball to stay within in the stage. 

at the moment, the ball goes too far off to the left and up, and not far enough right.
also, when you lose a life, the ball sometimes appears right over the 'bricks' so that they are automatically hit and disappear.

any help would be greatly appreciated!
thanks and great work!</description>
		<content:encoded><![CDATA[<p>First off, Great tut, well explained!</p>
<p>unfortunately, i am using different stage dimensions and i am unsure of which numbers i need to change to get the ball to stay within in the stage. </p>
<p>at the moment, the ball goes too far off to the left and up, and not far enough right.<br />
also, when you lose a life, the ball sometimes appears right over the &#8216;bricks&#8217; so that they are automatically hit and disappear.</p>
<p>any help would be greatly appreciated!<br />
thanks and great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 30 Tutorials That Will Teach You Flash &#124; Arbenting</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-660</link>
		<dc:creator>30 Tutorials That Will Teach You Flash &#124; Arbenting</dc:creator>
		<pubDate>Fri, 12 Sep 2008 16:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-660</guid>
		<description>[...] Create a Breakout Type Game [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Create a Breakout Type Game [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dominick</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-566</link>
		<dc:creator>dominick</dc:creator>
		<pubDate>Sun, 13 Jul 2008 20:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-566</guid>
		<description>Mike

Thanks for the tip. Iam gonna try it out right now. Excellent site you have here. Keep up the awesome tutorials.

Dominick</description>
		<content:encoded><![CDATA[<p>Mike</p>
<p>Thanks for the tip. Iam gonna try it out right now. Excellent site you have here. Keep up the awesome tutorials.</p>
<p>Dominick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-564</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 13 Jul 2008 13:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-564</guid>
		<description>Hi Dominick,

Yes you can do a hitTest inside an mc, you just need to add that mc instance name to the hitTest string... so your code would change like this (where "mc_name" would be your movie clip instance name that contains the "pad" mc):

if ((this._y&lt;=5) &#124;&#124; (_root.mc_name.pad.hitTest(this))) {
yspeed = -yspeed;
}

Hope this helps!

Mike</description>
		<content:encoded><![CDATA[<p>Hi Dominick,</p>
<p>Yes you can do a hitTest inside an mc, you just need to add that mc instance name to the hitTest string&#8230; so your code would change like this (where &#8220;mc_name&#8221; would be your movie clip instance name that contains the &#8220;pad&#8221; mc):</p>
<p>if ((this._y<=5) || (_root.mc_name.pad.hitTest(this))) {<br />
yspeed = -yspeed;<br />
}</p>
<p>Hope this helps!</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dominick</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-563</link>
		<dc:creator>dominick</dc:creator>
		<pubDate>Sun, 13 Jul 2008 08:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-563</guid>
		<description>i am following your tut and my hit test is not working iam creating game inside of movie clip so i think the line that says 
	
if ((this._y&#60;=5) &#124;&#124; (_root.pad.hitTest(this))) {
	yspeed = -yspeed;
	}

is causing problem since pad is not on the root is there any way to do hit test inside of MC.</description>
		<content:encoded><![CDATA[<p>i am following your tut and my hit test is not working iam creating game inside of movie clip so i think the line that says </p>
<p>if ((this._y&lt;=5) || (_root.pad.hitTest(this))) {<br />
	yspeed = -yspeed;<br />
	}</p>
<p>is causing problem since pad is not on the root is there any way to do hit test inside of MC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-561</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sat, 12 Jul 2008 18:07:12 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-561</guid>
		<description>Hi Zero One,

After a quick look at this, I think what you need is to set up a simple hit test... so, on the "ball" instance, you can add the following code:

if (_root.mc_playarealeft.hitTest(this))) {
     _root.alleywaygbsidehit.play();     
}

This assumes that "mc_playarealeft" and "alleywaygbsidehit" are the INSTANCE names of the clips on the stage. Again, just a quick look at it, so you'll have to let me know if this helps your problem.

Thanks for reading!
Mike</description>
		<content:encoded><![CDATA[<p>Hi Zero One,</p>
<p>After a quick look at this, I think what you need is to set up a simple hit test&#8230; so, on the &#8220;ball&#8221; instance, you can add the following code:</p>
<p>if (_root.mc_playarealeft.hitTest(this))) {<br />
     _root.alleywaygbsidehit.play();<br />
}</p>
<p>This assumes that &#8220;mc_playarealeft&#8221; and &#8220;alleywaygbsidehit&#8221; are the INSTANCE names of the clips on the stage. Again, just a quick look at it, so you&#8217;ll have to let me know if this helps your problem.</p>
<p>Thanks for reading!<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zero One</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-560</link>
		<dc:creator>Zero One</dc:creator>
		<pubDate>Sat, 12 Jul 2008 16:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-560</guid>
		<description>Hi again. I was trying to alter the code so that when mc_ball hits off mc_playarealeft and mc_playarearight, I wanted it to play alleywaygbsidehit, but I couldn't get it to work. This means deleting the bits that say that if it reaches 150 and 100 on the X axis then reverse direction. Could someone make this code for me? The instance names for these are mc_ball: ball. mc_playarealeft: pal and mc_playarearight: par.</description>
		<content:encoded><![CDATA[<p>Hi again. I was trying to alter the code so that when mc_ball hits off mc_playarealeft and mc_playarearight, I wanted it to play alleywaygbsidehit, but I couldn&#8217;t get it to work. This means deleting the bits that say that if it reaches 150 and 100 on the X axis then reverse direction. Could someone make this code for me? The instance names for these are mc_ball: ball. mc_playarealeft: pal and mc_playarearight: par.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darragh</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-554</link>
		<dc:creator>Darragh</dc:creator>
		<pubDate>Fri, 11 Jul 2008 11:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-554</guid>
		<description>The problem that the ball won't bounce off the paddle is solved by putting in the instance name for the paddle (call it "pad" as mentioned in the code for the ball.)</description>
		<content:encoded><![CDATA[<p>The problem that the ball won&#8217;t bounce off the paddle is solved by putting in the instance name for the paddle (call it &#8220;pad&#8221; as mentioned in the code for the ball.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zero One</title>
		<link>http://mikestickney.com/wordpress/flash-tutorial-breakout-game-part-1/#comment-548</link>
		<dc:creator>Zero One</dc:creator>
		<pubDate>Thu, 10 Jul 2008 16:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://mikestickney.com/wordpress/?p=30#comment-548</guid>
		<description>It probably was just a random occurence that it worked when I aligned it. :mrgreen:</description>
		<content:encoded><![CDATA[<p>It probably was just a random occurence that it worked when I aligned it. <img src='http://mikestickney.com/wordpress/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
