<?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: New tile based platform engine &#8211; part 11 &#8211; slopes part b</title>
	<atom:link href="http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Sat, 11 Feb 2012 05:27:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Luis</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-698999</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Thu, 09 Dec 2010 00:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-698999</guid>
		<description>Does anyone knows how to make the enemies fall from where they are? I mean if the moving enemies detect a 0 in the array they fall until they touch ground? any helP?</description>
		<content:encoded><![CDATA[<p>Does anyone knows how to make the enemies fall from where they are? I mean if the moving enemies detect a 0 in the array they fall until they touch ground? any helP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-501482</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Tue, 22 Sep 2009 02:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-501482</guid>
		<description>if i want to refer to the tiles or enemies at a different point in the code, say, a hittest, how would i do that?

something like _root.blah.tile</description>
		<content:encoded><![CDATA[<p>if i want to refer to the tiles or enemies at a different point in the code, say, a hittest, how would i do that?</p>
<p>something like _root.blah.tile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FatJoe</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-457839</link>
		<dc:creator>FatJoe</dc:creator>
		<pubDate>Fri, 05 Jun 2009 14:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-457839</guid>
		<description>Gravyerd - put the preloader in a new scene, make sure the preloader scene is moved above the game scene ( shift + F2 ) should work..</description>
		<content:encoded><![CDATA[<p>Gravyerd &#8211; put the preloader in a new scene, make sure the preloader scene is moved above the game scene ( shift + F2 ) should work..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gravyerd</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-414420</link>
		<dc:creator>Gravyerd</dc:creator>
		<pubDate>Wed, 25 Mar 2009 00:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-414420</guid>
		<description>Only 1 problem why your game:
You can&#039;t put a preloader or anything before, is the code in first frame or is the code in first frame, if not in frame 1, do not work
need a preloader, in the start the game start LOOOOOOW and stoping every 2 seconds... slow download, need download the game + images in the same time that the player are playing... please, need free the frame number, i can make 10 level, but is 1 over other and other, please fix this</description>
		<content:encoded><![CDATA[<p>Only 1 problem why your game:<br />
You can&#8217;t put a preloader or anything before, is the code in first frame or is the code in first frame, if not in frame 1, do not work<br />
need a preloader, in the start the game start LOOOOOOW and stoping every 2 seconds&#8230; slow download, need download the game + images in the same time that the player are playing&#8230; please, need free the frame number, i can make 10 level, but is 1 over other and other, please fix this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gravyerd</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-413104</link>
		<dc:creator>Gravyerd</dc:creator>
		<pubDate>Mon, 23 Mar 2009 01:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-413104</guid>
		<description>and a question...
how to use teleport?

onClipEvent (enterFrame) {
	if (this.hitTest(_root.level_container.hero)) {
		// if this hits the char (_root.char)
		level_container.hero._y += 20;
		// _root.score goes up 1
		unloadMovie(this);
		// this movie clip is unloaded
	}
}

this is my try script (but don&#039;t work)
i put it in a mc already created... why don&#039;t work?
i make the code to coins and work

onClipEvent (enterFrame) {
	if (this.hitTest(_root.level_container.hero)) {
		// This is the hit, and it work
		_root.score.text++;
		// to work
		unloadMovie(this);
		// anything work, but the teleport not work...
	}
}

but teleport not... please help me</description>
		<content:encoded><![CDATA[<p>and a question&#8230;<br />
how to use teleport?</p>
<p>onClipEvent (enterFrame) {<br />
	if (this.hitTest(_root.level_container.hero)) {<br />
		// if this hits the char (_root.char)<br />
		level_container.hero._y += 20;<br />
		// _root.score goes up 1<br />
		unloadMovie(this);<br />
		// this movie clip is unloaded<br />
	}<br />
}</p>
<p>this is my try script (but don&#8217;t work)<br />
i put it in a mc already created&#8230; why don&#8217;t work?<br />
i make the code to coins and work</p>
<p>onClipEvent (enterFrame) {<br />
	if (this.hitTest(_root.level_container.hero)) {<br />
		// This is the hit, and it work<br />
		_root.score.text++;<br />
		// to work<br />
		unloadMovie(this);<br />
		// anything work, but the teleport not work&#8230;<br />
	}<br />
}</p>
<p>but teleport not&#8230; please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gravyerd</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-413097</link>
		<dc:creator>Gravyerd</dc:creator>
		<pubDate>Mon, 23 Mar 2009 00:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-413097</guid>
		<description>please, next you need say:
Lava + Scroll + Enemy Killer
i find how to create coins :D and a number of coins xp</description>
		<content:encoded><![CDATA[<p>please, next you need say:<br />
Lava + Scroll + Enemy Killer<br />
i find how to create coins :D and a number of coins xp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Agadoijo</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-364230</link>
		<dc:creator>Agadoijo</dc:creator>
		<pubDate>Wed, 31 Dec 2008 15:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-364230</guid>
		<description>Great work on the tutorial!
Do you plan to load levels from files? That would be great!
Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Great work on the tutorial!<br />
Do you plan to load levels from files? That would be great!<br />
Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-352843</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Dec 2008 19:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-352843</guid>
		<description>Also you shoud add â€œ_x = 0â€ under the place player</description>
		<content:encoded><![CDATA[<p>Also you shoud add â€œ_x = 0â€ under the place player</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-352492</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Dec 2008 07:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-352492</guid>
		<description>For Scrolling use this code:
	if (Key.isDown(Key.LEFT)) {
		//scrolls screen
		_x += -xspeed*.6;
		xspeed -= speed;
		walking = true;

	}
	if (Key.isDown(Key.RIGHT)) {
		//scrolls screen
		_x -= xspeed*.6;
		xspeed += speed;
		walking = true;
	}</description>
		<content:encoded><![CDATA[<p>For Scrolling use this code:<br />
	if (Key.isDown(Key.LEFT)) {<br />
		//scrolls screen<br />
		_x += -xspeed*.6;<br />
		xspeed -= speed;<br />
		walking = true;</p>
<p>	}<br />
	if (Key.isDown(Key.RIGHT)) {<br />
		//scrolls screen<br />
		_x -= xspeed*.6;<br />
		xspeed += speed;<br />
		walking = true;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.emanueleferonato.com/2008/10/24/new-tile-based-platform-engine-part-11-slopes-part-b/#comment-352371</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 12 Dec 2008 01:43:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=594#comment-352371</guid>
		<description>for killing your guy on contact with enemy just paste this code under the enemy stuff (after: &quot;else{ this.speed *= -1; }&quot;:

if (this.hitTest(level_container.hero._x, level_container.hero._y, true)) {
				place_player();
			}</description>
		<content:encoded><![CDATA[<p>for killing your guy on contact with enemy just paste this code under the enemy stuff (after: &#8220;else{ this.speed *= -1; }&#8221;:</p>
<p>if (this.hitTest(level_container.hero._x, level_container.hero._y, true)) {<br />
				place_player();<br />
			}</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 6/11 queries in 0.008 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 13:38:41 -->
