<?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: Experimenting with cocos2d + physics engine</title>
	<atom:link href="http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=experimenting-with-cocos2d-physics-engine</link>
	<description>Professional tools for iOS game developers</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:12:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Zach</title>
		<link>http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/comment-page-1/#comment-214</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Thu, 11 Feb 2010 00:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://174.129.192.29/blog/?p=64#comment-214</guid>
		<description>Use Box2D + Chipmunk (v5) + SpaceManager.</description>
		<content:encoded><![CDATA[<p>Use Box2D + Chipmunk (v5) + SpaceManager.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric H</title>
		<link>http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/comment-page-1/#comment-78</link>
		<dc:creator>Eric H</dc:creator>
		<pubDate>Wed, 12 Aug 2009 22:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://174.129.192.29/blog/?p=64#comment-78</guid>
		<description>I&#039;ve been building a game using Box2D for active objects and tilemapatlas for the fully destructible ground/envrionment. I agree with the sprite size != boxee object size issue, and have wrestled with that myself.&lt;br /&gt;&lt;br /&gt;So far it is working very well. I haven&#039;t checked the integration recently, but I had to do a little bit of framework stuff to make the Box2D objects integrate well with cocos2d objects, but now it is running smoothly and it&#039;s easy to add new objects!</description>
		<content:encoded><![CDATA[<p>I&#39;ve been building a game using Box2D for active objects and tilemapatlas for the fully destructible ground/envrionment. I agree with the sprite size != boxee object size issue, and have wrestled with that myself.</p>
<p>So far it is working very well. I haven&#39;t checked the integration recently, but I had to do a little bit of framework stuff to make the Box2D objects integrate well with cocos2d objects, but now it is running smoothly and it&#39;s easy to add new objects!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: riq</title>
		<link>http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/comment-page-1/#comment-77</link>
		<dc:creator>riq</dc:creator>
		<pubDate>Wed, 12 Aug 2009 20:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://174.129.192.29/blog/?p=64#comment-77</guid>
		<description>syncing movement between box2d (or chipmunk) and cocos2d is more or less easy.&lt;br /&gt;&lt;br /&gt;If you want to sync the cocos2d objects based on the box2d objects, you need to query the objects, and then update the cocos2d properties (box2dtest.m shows how to do it).&lt;br /&gt;&lt;br /&gt;If you want to update the box2d objects based on the cocos2d objects, you might want to create a Box2dSprite that overrides setPosition and setRotation.&lt;br /&gt;&lt;br /&gt;center of gravity can be changed by using [sprite setAnchorPoint:ccp(x,y)];</description>
		<content:encoded><![CDATA[<p>syncing movement between box2d (or chipmunk) and cocos2d is more or less easy.</p>
<p>If you want to sync the cocos2d objects based on the box2d objects, you need to query the objects, and then update the cocos2d properties (box2dtest.m shows how to do it).</p>
<p>If you want to update the box2d objects based on the cocos2d objects, you might want to create a Box2dSprite that overrides setPosition and setRotation.</p>
<p>center of gravity can be changed by using [sprite setAnchorPoint:ccp(x,y)];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cocos2d user</title>
		<link>http://www.sapusmedia.com/2009/08/experimenting-with-cocos2d-physics-engine/comment-page-1/#comment-76</link>
		<dc:creator>cocos2d user</dc:creator>
		<pubDate>Wed, 12 Aug 2009 19:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://174.129.192.29/blog/?p=64#comment-76</guid>
		<description>I am working towards a game based on cocos2d 0.8 with Box2D. I switched from v0.7.2 mainly because I had seen some issues with Chipmunk, so wanted to switch to Box2D, which I hear is more mature, stable and widely used.&lt;br /&gt;&lt;br /&gt;Box2D was definitely a great addition to cocos2d, although you have to work through little quirks of using C++ with Objective-C. The API for Box2D is definitely more mature  and detailed and more attuned to the needs of the programmer, I would say.&lt;br /&gt;&lt;br /&gt;Now, on their own, both cocos2d Sprites/AtlasSprites and Box2d are awesome APIs. But there is always this need for bridging the two and make them work together. It would be nice to see Box2D well integrated with Sprites.&lt;br /&gt;&lt;br /&gt;For example, if I have a set of physical bodies with arbitrary shapes attached to it, the following work is needed:&lt;br /&gt;- define Sprite textures that are identical in dimensions to the shapes.&lt;br /&gt;- move/rotate the sprites as and when the bodies move/rotate.&lt;br /&gt;- (more specific) keep track of the center of gravity of a body so that the Sprite can be positioned/rotated around the center of gravity, and not just around the texture image&#039;s center.&lt;br /&gt;&lt;br /&gt;If these correlations and others can be offloaded a bit, that will lead to a closer integration of cocos2d and Box2d.</description>
		<content:encoded><![CDATA[<p>I am working towards a game based on cocos2d 0.8 with Box2D. I switched from v0.7.2 mainly because I had seen some issues with Chipmunk, so wanted to switch to Box2D, which I hear is more mature, stable and widely used.</p>
<p>Box2D was definitely a great addition to cocos2d, although you have to work through little quirks of using C++ with Objective-C. The API for Box2D is definitely more mature  and detailed and more attuned to the needs of the programmer, I would say.</p>
<p>Now, on their own, both cocos2d Sprites/AtlasSprites and Box2d are awesome APIs. But there is always this need for bridging the two and make them work together. It would be nice to see Box2D well integrated with Sprites.</p>
<p>For example, if I have a set of physical bodies with arbitrary shapes attached to it, the following work is needed:<br />- define Sprite textures that are identical in dimensions to the shapes.<br />- move/rotate the sprites as and when the bodies move/rotate.<br />- (more specific) keep track of the center of gravity of a body so that the Sprite can be positioned/rotated around the center of gravity, and not just around the texture image&#39;s center.</p>
<p>If these correlations and others can be offloaded a bit, that will lead to a closer integration of cocos2d and Box2d.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

