<?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 6 &#8211; ladders</title>
	<atom:link href="http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/</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: greatxam</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-685661</link>
		<dc:creator>greatxam</dc:creator>
		<pubDate>Fri, 26 Nov 2010 02:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-685661</guid>
		<description>thanks to this. Now I can add ladder on my platform game.</description>
		<content:encoded><![CDATA[<p>thanks to this. Now I can add ladder on my platform game.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-606507</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Mon, 19 Jul 2010 22:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-606507</guid>
		<description>I can&#039;t find the AS3 code where the &quot;ladder bug&quot; was fixed. I thought that maybe all I would have to do is make the:

if (Key.isDown(Key.DOWN)) {
     get_edges();
	if (over == &quot;ladder&quot;) {
		jumping = false;
		falling = false;
		climbing = true;
		climbdir = 1;
	}
}

Turn into:

if (press_down)
{
    get_edges();
	if ((over == &quot;ladder&quot;) &#124;&#124; (top_right == 6 &#124;&#124; bottom_right == 6 &#124;&#124; top_left == 6 &#124;&#124; bottom_left == 6))
{
	jumping = false;
	falling = false;
	climbing = true;
	climbdir = 1;
	}
}
this does not work either. :( I really want to use this tile based idea but being able to make different tile images for the ladder is very important for what I am making. Thanks for responding before!

Evan</description>
		<content:encoded><![CDATA[<p>I can&#8217;t find the AS3 code where the &#8220;ladder bug&#8221; was fixed. I thought that maybe all I would have to do is make the:</p>
<p>if (Key.isDown(Key.DOWN)) {<br />
     get_edges();<br />
	if (over == &#8220;ladder&#8221;) {<br />
		jumping = false;<br />
		falling = false;<br />
		climbing = true;<br />
		climbdir = 1;<br />
	}<br />
}</p>
<p>Turn into:</p>
<p>if (press_down)<br />
{<br />
    get_edges();<br />
	if ((over == &#8220;ladder&#8221;) || (top_right == 6 || bottom_right == 6 || top_left == 6 || bottom_left == 6))<br />
{<br />
	jumping = false;<br />
	falling = false;<br />
	climbing = true;<br />
	climbdir = 1;<br />
	}<br />
}<br />
this does not work either. :( I really want to use this tile based idea but being able to make different tile images for the ladder is very important for what I am making. Thanks for responding before!</p>
<p>Evan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-598310</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Sun, 04 Jul 2010 03:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-598310</guid>
		<description>I am trying to add a second type of ladder. This ladder is the exact same thing but the image is of a different color of ladder. I simply made it on frame 8 of the block movie clip and added the case 8 code that is the exact same as the case 7 code in the as file. It does not work. With trace statements all the code is running right but the character does not move up or down when it hits the new ladder block any ideas?</description>
		<content:encoded><![CDATA[<p>I am trying to add a second type of ladder. This ladder is the exact same thing but the image is of a different color of ladder. I simply made it on frame 8 of the block movie clip and added the case 8 code that is the exact same as the case 7 code in the as file. It does not work. With trace statements all the code is running right but the character does not move up or down when it hits the new ladder block any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: New tile based platform engine - more theory : Emanuele Feronato</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-294021</link>
		<dc:creator>New tile based platform engine - more theory : Emanuele Feronato</dc:creator>
		<pubDate>Mon, 06 Oct 2008 16:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-294021</guid>
		<description>[...] bug appeared in part 6 and was fixed in part [...]</description>
		<content:encoded><![CDATA[<p>[...] bug appeared in part 6 and was fixed in part [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrius</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-289101</link>
		<dc:creator>Andrius</dc:creator>
		<pubDate>Tue, 30 Sep 2008 16:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-289101</guid>
		<description>My spike code:

where you add tile add this:

		case 1 :
			over = &quot;ground&quot;;
                         x_pos = 40
                         y_pos = 40
			break;

It&#039;s exaple, change x and y of player by detecting em using variables. That&#039;s how I also do falling:

	if(y_pos &gt;140 ){
		y_pos = 40
		x_pos = 40
	}

It&#039;s easy.</description>
		<content:encoded><![CDATA[<p>My spike code:</p>
<p>where you add tile add this:</p>
<p>		case 1 :<br />
			over = &#8220;ground&#8221;;<br />
                         x_pos = 40<br />
                         y_pos = 40<br />
			break;</p>
<p>It&#8217;s exaple, change x and y of player by detecting em using variables. That&#8217;s how I also do falling:</p>
<p>	if(y_pos &gt;140 ){<br />
		y_pos = 40<br />
		x_pos = 40<br />
	}</p>
<p>It&#8217;s easy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: New tile based platform engine - part 7 - trampolines : Emanuele Feronato</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-288782</link>
		<dc:creator>New tile based platform engine - part 7 - trampolines : Emanuele Feronato</dc:creator>
		<pubDate>Tue, 30 Sep 2008 11:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-288782</guid>
		<description>[...] the AS3 translation of AS2 part 6, it&#039;s time to introduce [...]</description>
		<content:encoded><![CDATA[<p>[...] the AS3 translation of AS2 part 6, it&#8217;s time to introduce [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CoryMathews</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-287822</link>
		<dc:creator>CoryMathews</dc:creator>
		<pubDate>Mon, 29 Sep 2008 13:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-287822</guid>
		<description>Looking great man. This is one of your best sets of tutorials. Really enjoying reading these keep em up.</description>
		<content:encoded><![CDATA[<p>Looking great man. This is one of your best sets of tutorials. Really enjoying reading these keep em up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrius</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-287500</link>
		<dc:creator>Andrius</dc:creator>
		<pubDate>Mon, 29 Sep 2008 04:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-287500</guid>
		<description>One of the best tutorials here! I have looked ~75% of your flash tutorials and I like the most of &#039;em&#039;. I&#039;m making a little game for this. I made now exit and falling function (when you fall out from level). And I know i can make enemies and something like pipes so you only hit them from left and right so you can go downwards trough them. But yea, ladders have some bugs.</description>
		<content:encoded><![CDATA[<p>One of the best tutorials here! I have looked ~75% of your flash tutorials and I like the most of &#8216;em&#8217;. I&#8217;m making a little game for this. I made now exit and falling function (when you fall out from level). And I know i can make enemies and something like pipes so you only hit them from left and right so you can go downwards trough them. But yea, ladders have some bugs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jai</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-286929</link>
		<dc:creator>Jai</dc:creator>
		<pubDate>Sun, 28 Sep 2008 08:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-286929</guid>
		<description>maybe, when going up ladders, it would be a good idea that you could only stay suspended on a ladder for a certain amount of time, or you fall down...?
Good tutorial :)</description>
		<content:encoded><![CDATA[<p>maybe, when going up ladders, it would be a good idea that you could only stay suspended on a ladder for a certain amount of time, or you fall down&#8230;?<br />
Good tutorial :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://www.emanueleferonato.com/2008/09/23/new-tile-based-platform-engine-part-6-ladders/#comment-286314</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Sat, 27 Sep 2008 04:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=532#comment-286314</guid>
		<description>many thanks, it&#039;s very useful</description>
		<content:encoded><![CDATA[<p>many thanks, it&#8217;s very useful</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.048 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 12:58:08 -->
