<?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: APE &#8211; Actionscript Physics Engine for beginners</title>
	<atom:link href="http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/</link>
	<description>Blog &#124; Pablo Davi Faria da Silva</description>
	<lastBuildDate>Wed, 28 Jul 2010 07:51:22 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Blanche Langwell</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-873</link>
		<dc:creator>Blanche Langwell</dc:creator>
		<pubDate>Sat, 20 Mar 2010 15:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-873</guid>
		<description>Do you guys think that she would do well in this year ?</description>
		<content:encoded><![CDATA[<p>Do you guys think that she would do well in this year ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ellie Tasse</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-866</link>
		<dc:creator>Ellie Tasse</dc:creator>
		<pubDate>Thu, 18 Mar 2010 12:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-866</guid>
		<description>great post thanks for the info</description>
		<content:encoded><![CDATA[<p>great post thanks for the info</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-134</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Sun, 15 Mar 2009 19:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-134</guid>
		<description>Hi Adi, well... i tryed add dynamic content into my Displayobject and put it using setDisplay to my particle but with out success. You can add mouseEvent to particles but dynamic content i dont know yet but i will try other ideas and if have success i will post here to you. GoodLucky</description>
		<content:encoded><![CDATA[<p>Hi Adi, well&#8230; i tryed add dynamic content into my Displayobject and put it using setDisplay to my particle but with out success. You can add mouseEvent to particles but dynamic content i dont know yet but i will try other ideas and if have success i will post here to you. GoodLucky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ArcadeNano</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-132</link>
		<dc:creator>ArcadeNano</dc:creator>
		<pubDate>Sun, 15 Mar 2009 17:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-132</guid>
		<description>LOVE your site, will visit again :) Submitted this post to Google News Reader.</description>
		<content:encoded><![CDATA[<p>LOVE your site, will visit again <img src='http://blog.des84.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Submitted this post to Google News Reader.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-129</link>
		<dc:creator>Adi</dc:creator>
		<pubDate>Sun, 15 Mar 2009 00:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-129</guid>
		<description>neat demo! I am trying to add a canvas with buttons as my display for a particle but that does not seem to work... any suggestions for me?</description>
		<content:encoded><![CDATA[<p>neat demo! I am trying to add a canvas with buttons as my display for a particle but that does not seem to work&#8230; any suggestions for me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-123</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Thu, 12 Mar 2009 17:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-123</guid>
		<description>@Rashid : When you create your game show for us here.</description>
		<content:encoded><![CDATA[<p>@Rashid : When you create your game show for us here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashid</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-122</link>
		<dc:creator>Rashid</dc:creator>
		<pubDate>Thu, 12 Mar 2009 16:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-122</guid>
		<description>thanks alot Pablo, i was finally able to achive a semicircle using rectabgle particles joining them with spring constraints. I have actually done a hell lot of thngs with the APE :

1. Path maker
2. level editor
3. now a semicircle

Now m in to making springs as well.</description>
		<content:encoded><![CDATA[<p>thanks alot Pablo, i was finally able to achive a semicircle using rectabgle particles joining them with spring constraints. I have actually done a hell lot of thngs with the APE :</p>
<p>1. Path maker<br />
2. level editor<br />
3. now a semicircle</p>
<p>Now m in to making springs as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-117</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Wed, 11 Mar 2009 16:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-117</guid>
		<description>Hi and thansk for read and comment @Rashid, i dont see something to create the custom terrain or custom object like a semicircle, buuuuut you can try one simple solution that create a fixed circle sequence creating the custom object format that you want. I will continue reading and studing more about and if i find other solution i will post here.</description>
		<content:encoded><![CDATA[<p>Hi and thansk for read and comment @Rashid, i dont see something to create the custom terrain or custom object like a semicircle, buuuuut you can try one simple solution that create a fixed circle sequence creating the custom object format that you want. I will continue reading and studing more about and if i find other solution i will post here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rashid</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-115</link>
		<dc:creator>Rashid</dc:creator>
		<pubDate>Wed, 11 Mar 2009 16:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-115</guid>
		<description>hi there Pablo. I am a budding game developer and just a few weeks back i came across the APE. I have made a few applications. I have made a level Editor in APE which supports bridges, rectangles, circles and spring constraints.All you have to do is give the required paremeters through an XML. So that saves alot of time if u wanna generate a long level. I have a few issues though, hope you can help.

I also want that i can have a semicircle particle too,which will help to make slopes ( i know this can be done by rectangleparticle), but i wont be able to achive the curve. Hope u get my point bro. waiting 4 ur reply.</description>
		<content:encoded><![CDATA[<p>hi there Pablo. I am a budding game developer and just a few weeks back i came across the APE. I have made a few applications. I have made a level Editor in APE which supports bridges, rectangles, circles and spring constraints.All you have to do is give the required paremeters through an XML. So that saves alot of time if u wanna generate a long level. I have a few issues though, hope you can help.</p>
<p>I also want that i can have a semicircle particle too,which will help to make slopes ( i know this can be done by rectangleparticle), but i wont be able to achive the curve. Hope u get my point bro. waiting 4 ur reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-114</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Wed, 11 Mar 2009 11:25:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-114</guid>
		<description>@Nick: the reposition was done using a new function that verify the py of car. This function is called into the &lt;strong&gt;runAPE()&lt;/strong&gt; (an EnterFrame) and alway that the py is more than 700px i removeParticles and removeConstraint and run again the &lt;strong&gt;APECar()&lt;/strong&gt; to create it again.

About the SpringContraint you can try it:

&lt;pre lang=&quot;actionscript3&quot; line=&quot;1&quot;&gt;private function APECar():SpringConstraint
{
	wheelr = new WheelParticle(70,40,10,false,3);
	wheelr.setDisplay(rWheel);

	wheell = new WheelParticle(144,40,10,false,3);
	wheell.setDisplay(lWheel);

	wheelg = new SpringConstraint(wheelr,wheell,.5,true,2,1.6,true);
	wheelg.setDisplay(carBox,-1,15,180);

	return wheelg;
}&lt;/pre&gt;

Really i dont test this code but this will return a SpringContraint :)</description>
		<content:encoded><![CDATA[<p>@Nick: the reposition was done using a new function that verify the py of car. This function is called into the <strong>runAPE()</strong> (an EnterFrame) and alway that the py is more than 700px i removeParticles and removeConstraint and run again the <strong>APECar()</strong> to create it again.</p>
<p>About the SpringContraint you can try it:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> APECar<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span>SpringConstraint
<span style="color: #000000;">&#123;</span>
	wheelr = <span style="color: #0033ff; font-weight: bold;">new</span> WheelParticle<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">70</span>,<span style="color: #000000; font-weight:bold;">40</span>,<span style="color: #000000; font-weight:bold;">10</span>,<span style="color: #0033ff; font-weight: bold;">false</span>,<span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
	wheelr.setDisplay<span style="color: #000000;">&#40;</span>rWheel<span style="color: #000000;">&#41;</span>;
&nbsp;
	wheell = <span style="color: #0033ff; font-weight: bold;">new</span> WheelParticle<span style="color: #000000;">&#40;</span><span style="color: #000000; font-weight:bold;">144</span>,<span style="color: #000000; font-weight:bold;">40</span>,<span style="color: #000000; font-weight:bold;">10</span>,<span style="color: #0033ff; font-weight: bold;">false</span>,<span style="color: #000000; font-weight:bold;">3</span><span style="color: #000000;">&#41;</span>;
	wheell.setDisplay<span style="color: #000000;">&#40;</span>lWheel<span style="color: #000000;">&#41;</span>;
&nbsp;
	wheelg = <span style="color: #0033ff; font-weight: bold;">new</span> SpringConstraint<span style="color: #000000;">&#40;</span>wheelr,wheell,.5,<span style="color: #0033ff; font-weight: bold;">true</span>,<span style="color: #000000; font-weight:bold;">2</span>,<span style="color: #000000; font-weight:bold;">1.6</span>,<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>;
	wheelg.setDisplay<span style="color: #000000;">&#40;</span>carBox,<span style="color: #000000; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span>,<span style="color: #000000; font-weight:bold;">15</span>,<span style="color: #000000; font-weight:bold;">180</span><span style="color: #000000;">&#41;</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">return</span> wheelg;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Really i dont test this code but this will return a SpringContraint <img src='http://blog.des84.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-112</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 11 Mar 2009 00:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-112</guid>
		<description>ok, cool. what I was looking for was a confirmation that you cannot put px or py on Group and you did just that. Thanks!

Yeah, I am getting the px and py by digging into a particle that lives in the vehicle group as a &quot;work around&quot;, but I guess thats the way I have to do it :D

Can you give an example of returning a SpringConstraint or particle? Also, how did you reposition the Beatle above if you can&#039;t move the group?</description>
		<content:encoded><![CDATA[<p>ok, cool. what I was looking for was a confirmation that you cannot put px or py on Group and you did just that. Thanks!</p>
<p>Yeah, I am getting the px and py by digging into a particle that lives in the vehicle group as a &#8220;work around&#8221;, but I guess thats the way I have to do it <img src='http://blog.des84.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Can you give an example of returning a SpringConstraint or particle? Also, how did you reposition the Beatle above if you can&#8217;t move the group?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-110</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Tue, 10 Mar 2009 00:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-110</guid>
		<description>Hi Nick, thaks for the comment. 
Well reading the APE Doc in: http://www.cove.org/ape/docs/api/org/cove/ape/Group.html#Group() you will read that &quot;&lt;em&gt;Group class is the main organizational class for APE. Once groups are created and populated with particles, constraints, and composites, they are added to the APEngine. Groups may contain particles, constraints, and composites. Composites may only contain particles and constraints.&lt;/em&gt;&quot; 

eg. you can take the px and py of particles but not of group. One way to resolve your problem you can create your vehicle into your vehicle.as and return an SpringConstraint or individual particle. 
Try it XD i hope help you.</description>
		<content:encoded><![CDATA[<p>Hi Nick, thaks for the comment.<br />
Well reading the APE Doc in: <a href="http://www.cove.org/ape/docs/api/org/cove/ape/Group.html#Group()" rel="nofollow">http://www.cove.org/ape/docs/api/org/cove/ape/Group.html#Group()</a> you will read that &#8220;<em>Group class is the main organizational class for APE. Once groups are created and populated with particles, constraints, and composites, they are added to the APEngine. Groups may contain particles, constraints, and composites. Composites may only contain particles and constraints.</em>&#8221; </p>
<p>eg. you can take the px and py of particles but not of group. One way to resolve your problem you can create your vehicle into your vehicle.as and return an SpringConstraint or individual particle.<br />
Try it XD i hope help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-109</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 09 Mar 2009 21:56:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-109</guid>
		<description>Hi. Been using ape for a while now for some games that I&#039;ve made at work. Really cool tool.

I have a question for Pablo about the Group class. Best to ask as an example: 

SCENARIO: I have a document class called &quot;Main.as&quot; and a custom class that extends Group called Vehicle.as (this class makes all the parts of the vehicle in the game).

PROBLEM: In the constructor of Main.as I am doing this (private var vehicle:Vehicle; is above constructor.

vehicle = new Vehicle();
APEngine.addGroup(vehicle);

trace(vehicle.px);
trace(vehicle.py);

QUESTION: These traces are throwing a NULL error... WHY?

Any help is appreciated. Wasn&#039;t sure if you had problems checking on a Group&#039;s x and y location.</description>
		<content:encoded><![CDATA[<p>Hi. Been using ape for a while now for some games that I&#8217;ve made at work. Really cool tool.</p>
<p>I have a question for Pablo about the Group class. Best to ask as an example: </p>
<p>SCENARIO: I have a document class called &#8220;Main.as&#8221; and a custom class that extends Group called Vehicle.as (this class makes all the parts of the vehicle in the game).</p>
<p>PROBLEM: In the constructor of Main.as I am doing this (private var vehicle:Vehicle; is above constructor.</p>
<p>vehicle = new Vehicle();<br />
APEngine.addGroup(vehicle);</p>
<p>trace(vehicle.px);<br />
trace(vehicle.py);</p>
<p>QUESTION: These traces are throwing a NULL error&#8230; WHY?</p>
<p>Any help is appreciated. Wasn&#8217;t sure if you had problems checking on a Group&#8217;s x and y location.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Davi</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-100</link>
		<dc:creator>Pablo Davi</dc:creator>
		<pubDate>Sat, 28 Feb 2009 17:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-100</guid>
		<description>Well @John Barret if you need more help only talk here. Im studing too the APE and other Physic Engines, but i like so much more APE. Soon i will post other samples and maybe simples games using physics.</description>
		<content:encoded><![CDATA[<p>Well @John Barret if you need more help only talk here. Im studing too the APE and other Physic Engines, but i like so much more APE. Soon i will post other samples and maybe simples games using physics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Barrett</title>
		<link>http://blog.des84.com/2009/02/ape-actionscript-physics-engine-for-beginners/comment-page-1/#comment-98</link>
		<dc:creator>John Barrett</dc:creator>
		<pubDate>Sat, 28 Feb 2009 07:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.des84.com/?p=171#comment-98</guid>
		<description>Hi Pablo, thanks for your help,and yes your solution was the key to get it going. I got a blank swf file but no errors`-` Now I have to figure out how to access the as example file from your site. I am checking the other post that you posted tonight and hopefully I can figure this out.

Thanks so much for your help,
Johnny</description>
		<content:encoded><![CDATA[<p>Hi Pablo, thanks for your help,and yes your solution was the key to get it going. I got a blank swf file but no errors`-` Now I have to figure out how to access the as example file from your site. I am checking the other post that you posted tonight and hopefully I can figure this out.</p>
<p>Thanks so much for your help,<br />
Johnny</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.700 seconds -->
