<?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: Flash game creation tutorial &#8211; part 2</title>
	<atom:link href="http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:12:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: L</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-948159</link>
		<dc:creator>L</dc:creator>
		<pubDate>Tue, 27 Sep 2011 12:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-948159</guid>
		<description>Hello
This is a really nice tutorial, but I&#039;ve got a few problems. 
First before I waste your time, this works in CS4 right?

If it does:
hitTest doesn&#039;t work for me.
This is my code on my hero movieclip

onClipEvent (load) {
	power = 8;
}
onClipEvent (enterFrame) {
	if (Key.isDown(Key.LEFT)) {
		_x -= power;
	}
	if (Key.isDown(Key.RIGHT)) {
		_x += power;
	}
	if (Key.isDown(Key.UP)) {
		_y -= power;
	}
	if (Key.isDown(Key.DOWN)) {
		_y += power;
	}
}
if (_root.coin.hitTest(this.hero_hit)) {
		_root.coin._x = Math.random()*400+50;
	}

I downloaded the zip file and checked that I had inserted hero_hit into the hero movieclip. 
What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>Hello<br />
This is a really nice tutorial, but I&#8217;ve got a few problems.<br />
First before I waste your time, this works in CS4 right?</p>
<p>If it does:<br />
hitTest doesn&#8217;t work for me.<br />
This is my code on my hero movieclip</p>
<p>onClipEvent (load) {<br />
	power = 8;<br />
}<br />
onClipEvent (enterFrame) {<br />
	if (Key.isDown(Key.LEFT)) {<br />
		_x -= power;<br />
	}<br />
	if (Key.isDown(Key.RIGHT)) {<br />
		_x += power;<br />
	}<br />
	if (Key.isDown(Key.UP)) {<br />
		_y -= power;<br />
	}<br />
	if (Key.isDown(Key.DOWN)) {<br />
		_y += power;<br />
	}<br />
}<br />
if (_root.coin.hitTest(this.hero_hit)) {<br />
		_root.coin._x = Math.random()*400+50;<br />
	}</p>
<p>I downloaded the zip file and checked that I had inserted hero_hit into the hero movieclip.<br />
What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: me</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-925554</link>
		<dc:creator>me</dc:creator>
		<pubDate>Thu, 08 Sep 2011 08:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-925554</guid>
		<description>what does it mean when it says
&quot;Just create a new movieclip called “hero_hit” and insert into the hero’s movieclip, at its center. &quot;
??</description>
		<content:encoded><![CDATA[<p>what does it mean when it says<br />
&#8220;Just create a new movieclip called “hero_hit” and insert into the hero’s movieclip, at its center. &#8221;<br />
??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jugx</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-863249</link>
		<dc:creator>Jugx</dc:creator>
		<pubDate>Tue, 28 Jun 2011 09:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-863249</guid>
		<description>I finally understood that line with the coin O_o the thing is my Ball was soooo big that I&#039;m having a hard time hitting it with my Balls Registration ( in the upper left corner ) ... Thanks for this tutorial XD I&#039;m a complete beginner but I&#039;m starting to get the syntax for this type of game.</description>
		<content:encoded><![CDATA[<p>I finally understood that line with the coin O_o the thing is my Ball was soooo big that I&#8217;m having a hard time hitting it with my Balls Registration ( in the upper left corner ) &#8230; Thanks for this tutorial XD I&#8217;m a complete beginner but I&#8217;m starting to get the syntax for this type of game.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yusuf</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-835555</link>
		<dc:creator>yusuf</dc:creator>
		<pubDate>Mon, 16 May 2011 16:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-835555</guid>
		<description>i&#039;m indonesian. .. .wow that&#039;s great</description>
		<content:encoded><![CDATA[<p>i&#8217;m indonesian. .. .wow that&#8217;s great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: argon</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-779894</link>
		<dc:creator>argon</dc:creator>
		<pubDate>Thu, 17 Mar 2011 09:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-779894</guid>
		<description>im using macromedia flash pro 8.
How do i make the wall thing work?  after i draw the wall then convert it to symbol, i named it wall and clicked movie clip. and clicked export for actionscript on the linkage.
for the ball i made a new layer and did the same thing as the wall but named it hero then i pasted the actionscript on it...  when i run it the ball would simply pass through wall.
how do i solve this?
please help anyone! asap...</description>
		<content:encoded><![CDATA[<p>im using macromedia flash pro 8.<br />
How do i make the wall thing work?  after i draw the wall then convert it to symbol, i named it wall and clicked movie clip. and clicked export for actionscript on the linkage.<br />
for the ball i made a new layer and did the same thing as the wall but named it hero then i pasted the actionscript on it&#8230;  when i run it the ball would simply pass through wall.<br />
how do i solve this?<br />
please help anyone! asap&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hejifh</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-766559</link>
		<dc:creator>hejifh</dc:creator>
		<pubDate>Sun, 27 Feb 2011 04:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-766559</guid>
		<description>You press ctlr+shift to play it and you double click your object and press f8 then render it as a movie clip.</description>
		<content:encoded><![CDATA[<p>You press ctlr+shift to play it and you double click your object and press f8 then render it as a movie clip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-707543</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 19 Dec 2010 20:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-707543</guid>
		<description>How did you do it?</description>
		<content:encoded><![CDATA[<p>How did you do it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdasdasd</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-684338</link>
		<dc:creator>asdasdasd</dc:creator>
		<pubDate>Wed, 24 Nov 2010 05:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-684338</guid>
		<description>how do you insert the hero_hit to the hero&#039;s movie clip????</description>
		<content:encoded><![CDATA[<p>how do you insert the hero_hit to the hero&#8217;s movie clip????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymoys</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-666050</link>
		<dc:creator>anonymoys</dc:creator>
		<pubDate>Sun, 24 Oct 2010 16:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-666050</guid>
		<description>how do you insert something into the movieclip (eg hero_hit)</description>
		<content:encoded><![CDATA[<p>how do you insert something into the movieclip (eg hero_hit)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mbence</title>
		<link>http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-662657</link>
		<dc:creator>mbence</dc:creator>
		<pubDate>Tue, 19 Oct 2010 12:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/11/18/flash-game-creation-tutorial-part-2/#comment-662657</guid>
		<description>just want to say thx again! Great work!</description>
		<content:encoded><![CDATA[<p>just want to say thx again! Great work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 5/11 queries in 0.034 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 05:14:31 -->
