<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Sound bug]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=61</link>
		<description><![CDATA[The most recent posts in Sound bug.]]></description>
		<lastBuildDate>Tue, 08 Mar 2011 14:22:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Sound bug]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=200#p200</link>
			<description><![CDATA[<p>That&#039;s working perfect, thanks <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Tue, 08 Mar 2011 14:22:17 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=200#p200</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sound bug]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=198#p198</link>
			<description><![CDATA[<p>The collision test is returning true when there is a collision, so since you objects are in collision you send a &quot;playSound&quot; order and the sound play from the beginning.</p><p>In script, you should do something like :</p><br /><br /><br /><p>collision = 0</p><p>function onSceneUpdate()</p><p>&nbsp; &nbsp; if isCollisionBetween(A, B) then<br />&nbsp; &nbsp; &nbsp; &nbsp; if collision == 0 then<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; playSound(sound)<br />&nbsp; &nbsp; &nbsp; &nbsp; end<br />&nbsp; &nbsp; &nbsp; &nbsp; collision = 1<br />&nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; collision = 0<br />&nbsp; &nbsp; end</p><p>end</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Tue, 08 Mar 2011 06:28:30 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=198#p198</guid>
		</item>
		<item>
			<title><![CDATA[Sound bug]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=192#p192</link>
			<description><![CDATA[<p>Hello,</p><p>I have a problem with sounds, for example, i want to play a sound when theres a collision between objects.<br />All is working perfect except on collision, it looks like the sound is playing 50 times at once, resulting in a crazy noise.<br />I havn&#039;t found a script or option in the editor to make the sound only play 1 time so i guess its a bug ?</p><p>if not i&#039;m sorry !</p>]]></description>
			<author><![CDATA[dummy@example.com (Vegas)]]></author>
			<pubDate>Mon, 07 Mar 2011 06:29:48 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=192#p192</guid>
		</item>
	</channel>
</rss>
