<?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: Create a Flash game like Gold Miner &#8211; step 2</title>
	<atom:link href="http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Tue, 16 Mar 2010 16:46:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bikash pradhan</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-492343</link>
		<dc:creator>bikash pradhan</dc:creator>
		<pubDate>Sat, 29 Aug 2009 08:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-492343</guid>
		<description>how do i reverse the direction of the pod.
how can i bring the position of the pod to the bottom of the stage</description>
		<content:encoded><![CDATA[<p>how do i reverse the direction of the pod.<br />
how can i bring the position of the pod to the bottom of the stage</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creating multiple objects for&#8230;</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-357063</link>
		<dc:creator>Creating multiple objects for&#8230;</dc:creator>
		<pubDate>Fri, 19 Dec 2008 08:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-357063</guid>
		<description>[...] requires much less AS? This is associated with the famous gold miner step 2 tutorial located here: http://www.emanueleferonato.com/2008&#8230;-miner-step-2/  Code: // boulders are stored in an array // [0] is x pos // [1] is y pos // [2] is the width // [...]</description>
		<content:encoded><![CDATA[<p>[...] requires much less AS? This is associated with the famous gold miner step 2 tutorial located here: <a href="http://www.emanueleferonato.com/2008&#8230;-miner-step-2/" rel="nofollow">http://www.emanueleferonato.com/2008&#8230;-miner-step-2/</a>  Code: // boulders are stored in an array // [0] is x pos // [1] is y pos // [2] is the width // [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teltom</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-345090</link>
		<dc:creator>teltom</dc:creator>
		<pubDate>Fri, 28 Nov 2008 19:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-345090</guid>
		<description>Hey,

I&#039;m wondering how to set the acceleration and friction to the movieClip. I was trying to add to the above code something like this:

	power = 0.1;
	yspeed = 0;
	xspeed = 0;
	friction = 0.95;
	zwolnienie = 4;


	if (Key.isDown(Key.LEFT)) {
		xspeed -= power*zwolnienie;
	}
	if (Key.isDown(Key.RIGHT)) {
		xspeed += power*zwolnienie;
	}
	if (Key.isDown(Key.PGUP)) {
		yspeed -= power;
	}
	if (Key.isDown(Key.PGDN)) {
		yspeed += power;
		
	}
	xspeed *= friction;
	yspeed *= friction;
	pod._y += yspeed;
	pod._x += xspeed;


But it doesn&#039;t work:(</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I&#8217;m wondering how to set the acceleration and friction to the movieClip. I was trying to add to the above code something like this:</p>
<p>	power = 0.1;<br />
	yspeed = 0;<br />
	xspeed = 0;<br />
	friction = 0.95;<br />
	zwolnienie = 4;</p>
<p>	if (Key.isDown(Key.LEFT)) {<br />
		xspeed -= power*zwolnienie;<br />
	}<br />
	if (Key.isDown(Key.RIGHT)) {<br />
		xspeed += power*zwolnienie;<br />
	}<br />
	if (Key.isDown(Key.PGUP)) {<br />
		yspeed -= power;<br />
	}<br />
	if (Key.isDown(Key.PGDN)) {<br />
		yspeed += power;</p>
<p>	}<br />
	xspeed *= friction;<br />
	yspeed *= friction;<br />
	pod._y += yspeed;<br />
	pod._x += xspeed;</p>
<p>But it doesn&#8217;t work:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oliver_l1</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-317442</link>
		<dc:creator>oliver_l1</dc:creator>
		<pubDate>Wed, 29 Oct 2008 14:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-317442</guid>
		<description>is it possible to get an as3 version of this prototype ? thanks.</description>
		<content:encoded><![CDATA[<p>is it possible to get an as3 version of this prototype ? thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yagura</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-310195</link>
		<dc:creator>Yagura</dc:creator>
		<pubDate>Tue, 21 Oct 2008 23:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-310195</guid>
		<description>IM GONNA MAKE MY FIRST FLASH GAME!</description>
		<content:encoded><![CDATA[<p>IM GONNA MAKE MY FIRST FLASH GAME!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scarybug</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-301134</link>
		<dc:creator>Scarybug</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-301134</guid>
		<description>I think something is wrong with your RSS Feed. The latest article I have from you is &quot;tips for learning a new language&quot;. It seems to only update the feed sporadically.</description>
		<content:encoded><![CDATA[<p>I think something is wrong with your RSS Feed. The latest article I have from you is &#8220;tips for learning a new language&#8221;. It seems to only update the feed sporadically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erv</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-300963</link>
		<dc:creator>Erv</dc:creator>
		<pubDate>Mon, 13 Oct 2008 12:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-300963</guid>
		<description>Kevin, yes but if you play the real Gold Miner game you will see that when you hit a Bag, the pod penetrates it also differs depending what object you&#039;re picking up.

Maybe that could be on hit, remove object movie and set pod frame on the frame where u pick up the kind of boulder?</description>
		<content:encoded><![CDATA[<p>Kevin, yes but if you play the real Gold Miner game you will see that when you hit a Bag, the pod penetrates it also differs depending what object you&#8217;re picking up.</p>
<p>Maybe that could be on hit, remove object movie and set pod frame on the frame where u pick up the kind of boulder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-299882</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Sun, 12 Oct 2008 18:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-299882</guid>
		<description>Hi, thanks... im going to develop one soon.</description>
		<content:encoded><![CDATA[<p>Hi, thanks&#8230; im going to develop one soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-299595</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Sat, 11 Oct 2008 22:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-299595</guid>
		<description>Erv, one way you could do this would be to simply create another frame for the pod. Then where the pod &quot;picks&quot; the boulder just add a frame change for the pod.

I have my pod changing frames when the user clicks the mouse so it opens, then closes when it touches a boulder. Or it closes when it reaches the outside of the level.</description>
		<content:encoded><![CDATA[<p>Erv, one way you could do this would be to simply create another frame for the pod. Then where the pod &#8220;picks&#8221; the boulder just add a frame change for the pod.</p>
<p>I have my pod changing frames when the user clicks the mouse so it opens, then closes when it touches a boulder. Or it closes when it reaches the outside of the level.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erv</title>
		<link>http://www.emanueleferonato.com/2008/10/10/create-a-flash-game-like-gold-miner-step-2/comment-page-1/#comment-298491</link>
		<dc:creator>Erv</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=565#comment-298491</guid>
		<description>BTW How can we make it so the spike change on picking up and penetrates the boulder, also changing the boulder, with sprites maybe?


I&#039;m trying but no luck.</description>
		<content:encoded><![CDATA[<p>BTW How can we make it so the spike change on picking up and penetrates the boulder, also changing the boulder, with sprites maybe?</p>
<p>I&#8217;m trying but no luck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
