<?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 ball game with visual from above tutorial part 3</title>
	<atom:link href="http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/</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: N.E.O.</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-956051</link>
		<dc:creator>N.E.O.</dc:creator>
		<pubDate>Tue, 04 Oct 2011 02:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-956051</guid>
		<description>sorry 
so is better ;-)

function ball_die() {
    xspeed = 0;
    yspeed = 0;
    power = 0;
    ball._xscale -= 5;
    ball._yscale = ball._xscale;
    if (ball._yscale &lt;= 0) {
        bricks._x = 240-(80*_root.ball_start_x);
        bricks._y = 220-(80*_root.ball_start_y);
        ball._xscale = 100;
        ball._yscale = 100;
        draw_level(lev);
    }  
}</description>
		<content:encoded><![CDATA[<p>sorry<br />
so is better ;-)</p>
<p>function ball_die() {<br />
    xspeed = 0;<br />
    yspeed = 0;<br />
    power = 0;<br />
    ball._xscale -= 5;<br />
    ball._yscale = ball._xscale;<br />
    if (ball._yscale &lt;= 0) {<br />
        bricks._x = 240-(80*_root.ball_start_x);<br />
        bricks._y = 220-(80*_root.ball_start_y);<br />
        ball._xscale = 100;<br />
        ball._yscale = 100;<br />
        draw_level(lev);<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: N.E.O.</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-955878</link>
		<dc:creator>N.E.O.</dc:creator>
		<pubDate>Mon, 03 Oct 2011 23:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-955878</guid>
		<description>make this and the ball falling ;-)

function ball_die() {
    xspeed = 0;
    yspeed = 0;
    ball._xscale -= 5;
    ball._yscale = ball._xscale;
    if (ball._yscale &lt;= 0) {
        bricks._x = 240-(80*_root.ball_start_x);
        bricks._y = 220-(80*_root.ball_start_y);
        ball._xscale = 100;
        ball._yscale = 100;
        draw_level(lev);
    }  
}</description>
		<content:encoded><![CDATA[<p>make this and the ball falling ;-)</p>
<p>function ball_die() {<br />
    xspeed = 0;<br />
    yspeed = 0;<br />
    ball._xscale -= 5;<br />
    ball._yscale = ball._xscale;<br />
    if (ball._yscale &lt;= 0) {<br />
        bricks._x = 240-(80*_root.ball_start_x);<br />
        bricks._y = 220-(80*_root.ball_start_y);<br />
        ball._xscale = 100;<br />
        ball._yscale = 100;<br />
        draw_level(lev);<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SG</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-832365</link>
		<dc:creator>SG</dc:creator>
		<pubDate>Wed, 11 May 2011 15:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-832365</guid>
		<description>Thanks for the great tutorials!  Here&#039;s a way to get a smoother death when the ball hits an empty tile (obviously my ball is bigger than yours):

default :
		//empty space
		friction = .7;
		power = 0;
		this._width = this._width-15;
		this._height = this._height-15;
		if(this._width &lt;= 10){
			this._height = 280;
			this._width = 280;
			ball_die();
		}
		break;

I&#039;ve also gave it a teleport sequence when it hits the exit tile and explode when it hits an active lava tile :D</description>
		<content:encoded><![CDATA[<p>Thanks for the great tutorials!  Here&#8217;s a way to get a smoother death when the ball hits an empty tile (obviously my ball is bigger than yours):</p>
<p>default :<br />
		//empty space<br />
		friction = .7;<br />
		power = 0;<br />
		this._width = this._width-15;<br />
		this._height = this._height-15;<br />
		if(this._width &lt;= 10){<br />
			this._height = 280;<br />
			this._width = 280;<br />
			ball_die();<br />
		}<br />
		break;</p>
<p>I&#039;ve also gave it a teleport sequence when it hits the exit tile and explode when it hits an active lava tile :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chaos</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-639867</link>
		<dc:creator>chaos</dc:creator>
		<pubDate>Mon, 13 Sep 2010 16:40:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-639867</guid>
		<description>heyy,
very good tutorial but i have a question.
If i want to create m own level,then when the new level should came the next ones come and not the ones that i have made.

i finish level 1.
i created level 2...
but then level 3 comes and not level 2 that i made.

help me pls?
:(</description>
		<content:encoded><![CDATA[<p>heyy,<br />
very good tutorial but i have a question.<br />
If i want to create m own level,then when the new level should came the next ones come and not the ones that i have made.</p>
<p>i finish level 1.<br />
i created level 2&#8230;<br />
but then level 3 comes and not level 2 that i made.</p>
<p>help me pls?<br />
:(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randylin26</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-585446</link>
		<dc:creator>Randylin26</dc:creator>
		<pubDate>Wed, 02 Jun 2010 21:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-585446</guid>
		<description>Mat Saunders..... Your right.......</description>
		<content:encoded><![CDATA[<p>Mat Saunders&#8230;.. Your right&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lucky</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-505071</link>
		<dc:creator>lucky</dc:creator>
		<pubDate>Fri, 02 Oct 2009 07:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-505071</guid>
		<description>its awesome! Emanuele...
i really enjoyed playing it. kindly send me more tutorials on games. 
hav a nice day</description>
		<content:encoded><![CDATA[<p>its awesome! Emanuele&#8230;<br />
i really enjoyed playing it. kindly send me more tutorials on games.<br />
hav a nice day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Saunders</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-454283</link>
		<dc:creator>Matt Saunders</dc:creator>
		<pubDate>Fri, 29 May 2009 00:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-454283</guid>
		<description>If you want to make your levels bigger than 5x5..

}
	_root.createEmptyMovieClip(&quot;bricks&quot;, 2);
	bricks._x = 240-(80*ball_start_x);
	bricks._y = 220-(80*ball_start_y);
	for (y=0; y&lt;=4; y++) {
		for (x=0; x0) {
				depth = y*12+x;
				place_brick = bricks.attachMovie(&quot;brick&quot;, &quot;brick_&quot;+depth, bricks.getNextHighestDepth(), {_x:x*80, _y:y*80});
				place_brick.gotoAndStop(level[y][x]);
			}
		}
	}
}

localte this and then change the 4s is this bit..
for (y=0; y&lt;=4; y++) {
		for (x=0; x&lt;=4; x++) {

to whatever you want :) if you make it 1000 you dont have to use all the squares.

GREAT tutorial btw.</description>
		<content:encoded><![CDATA[<p>If you want to make your levels bigger than 5&#215;5..</p>
<p>}<br />
	_root.createEmptyMovieClip(&#8220;bricks&#8221;, 2);<br />
	bricks._x = 240-(80*ball_start_x);<br />
	bricks._y = 220-(80*ball_start_y);<br />
	for (y=0; y&lt;=4; y++) {<br />
		for (x=0; x0) {<br />
				depth = y*12+x;<br />
				place_brick = bricks.attachMovie(&#8220;brick&#8221;, &#8220;brick_&#8221;+depth, bricks.getNextHighestDepth(), {_x:x*80, _y:y*80});<br />
				place_brick.gotoAndStop(level[y][x]);<br />
			}<br />
		}<br />
	}<br />
}</p>
<p>localte this and then change the 4s is this bit..<br />
for (y=0; y&lt;=4; y++) {<br />
		for (x=0; x&lt;=4; x++) {</p>
<p>to whatever you want :) if you make it 1000 you dont have to use all the squares.</p>
<p>GREAT tutorial btw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zuhair</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-433861</link>
		<dc:creator>Zuhair</dc:creator>
		<pubDate>Fri, 17 Apr 2009 10:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-433861</guid>
		<description>@phore_eyes: On lines 219 and 220, change the &quot;4&quot;s to the amount of tiles you want going across and going up.

@Emanuele: This is a great tutorial. Your site has taught me loads, thanks. I am developing a game with this engine, do I need to put credit to you in it?</description>
		<content:encoded><![CDATA[<p>@phore_eyes: On lines 219 and 220, change the &#8220;4&#8243;s to the amount of tiles you want going across and going up.</p>
<p>@Emanuele: This is a great tutorial. Your site has taught me loads, thanks. I am developing a game with this engine, do I need to put credit to you in it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nachoman</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-223077</link>
		<dc:creator>nachoman</dc:creator>
		<pubDate>Wed, 09 Jul 2008 19:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-223077</guid>
		<description>great tutorial

I just have 2 question. i need a code to be able to make a tile in the last level that sends the player to the next frame where is says something like
â€œCongrats! You win!!â€”â€” Replay?â€
I just donâ€™t know how?
and the other one is how to add a score so when you pass a level you get points</description>
		<content:encoded><![CDATA[<p>great tutorial</p>
<p>I just have 2 question. i need a code to be able to make a tile in the last level that sends the player to the next frame where is says something like<br />
â€œCongrats! You win!!â€”â€” Replay?â€<br />
I just donâ€™t know how?<br />
and the other one is how to add a score so when you pass a level you get points</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laxaria</title>
		<link>http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-215052</link>
		<dc:creator>Laxaria</dc:creator>
		<pubDate>Wed, 02 Jul 2008 14:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2007/12/13/create-a-flash-ball-game-with-visual-from-above-tutorial-part-3/#comment-215052</guid>
		<description>Just a question. Is there a way to make it such that instead of going to the next class of the frame, could you make it go to another frame instead? Thanks.</description>
		<content:encoded><![CDATA[<p>Just a question. Is there a way to make it such that instead of going to the next class of the frame, could you make it go to another frame instead? Thanks.</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.032 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 14:12:30 -->
