<?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: How to make a Rope using Box2D in Javascript	</title>
	<atom:link href="https://www.binarytides.com/make-rope-box2d-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/make-rope-box2d-javascript/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Fri, 13 Jan 2023 07:17:22 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Friksel		</title>
		<link>https://www.binarytides.com/make-rope-box2d-javascript/comment-page-1/#comment-65775</link>

		<dc:creator><![CDATA[Friksel]]></dc:creator>
		<pubDate>Wed, 23 Oct 2013 14:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4164#comment-65775</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/make-rope-box2d-javascript/comment-page-1/#comment-65704&quot;&gt;Sadaf Noor&lt;/a&gt;.

this demo shows box2d&#039;s debugview. I don&#039;t know if it&#039;s possible to change colors in debugview, but the endresult normaly isn&#039;t debugview, but a view with rendered graphics, for example with EaselJS]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/make-rope-box2d-javascript/comment-page-1/#comment-65704">Sadaf Noor</a>.</p>
<p>this demo shows box2d&#8217;s debugview. I don&#8217;t know if it&#8217;s possible to change colors in debugview, but the endresult normaly isn&#8217;t debugview, but a view with rendered graphics, for example with EaselJS</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Friksel		</title>
		<link>https://www.binarytides.com/make-rope-box2d-javascript/comment-page-1/#comment-65774</link>

		<dc:creator><![CDATA[Friksel]]></dc:creator>
		<pubDate>Wed, 23 Oct 2013 14:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4164#comment-65774</guid>

					<description><![CDATA[Thanks a lot for your example! It was really helpful!

Not sure if you did it on purpose, but maybe you could change the variables e.pageX and e.pageY inside the mousemove handler into e.offsetX and e.offsetY to get the local canvas-position instead of the full webpage-position.

var p = get_real(new b2Vec2(e.offsetX/scale, e.offsetY/scale));

On this website it makes no difference, &#039;cause the animation plays inside an iframe, but if you&#039;re having the code and canvas on the page itself and the canvas is not positioned at the exact top-left corner of the page, mouse interactions are not working correct.



But again, thanks a lot for sharing your knowledge! It helped me a lot and your demo looks great! Even without the actual rope-joints!]]></description>
			<content:encoded><![CDATA[<p>Thanks a lot for your example! It was really helpful!</p>
<p>Not sure if you did it on purpose, but maybe you could change the variables e.pageX and e.pageY inside the mousemove handler into e.offsetX and e.offsetY to get the local canvas-position instead of the full webpage-position.</p>
<p>var p = get_real(new b2Vec2(e.offsetX/scale, e.offsetY/scale));</p>
<p>On this website it makes no difference, &#8217;cause the animation plays inside an iframe, but if you&#8217;re having the code and canvas on the page itself and the canvas is not positioned at the exact top-left corner of the page, mouse interactions are not working correct.</p>
<p>But again, thanks a lot for sharing your knowledge! It helped me a lot and your demo looks great! Even without the actual rope-joints!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sadaf Noor		</title>
		<link>https://www.binarytides.com/make-rope-box2d-javascript/comment-page-1/#comment-65704</link>

		<dc:creator><![CDATA[Sadaf Noor]]></dc:creator>
		<pubDate>Wed, 11 Sep 2013 11:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=4164#comment-65704</guid>

					<description><![CDATA[I want to color the rope! Can you help me regarding this?]]></description>
			<content:encoded><![CDATA[<p>I want to color the rope! Can you help me regarding this?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
