<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Obtaining &#039;area&#039; information from &#039;pictslider&#039;</title>
		<atom:link href="http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 08:58:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-53645</guid>
					<title><![CDATA[Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-53645</link>
					<pubDate>Tue, 30 Nov 2010 15:55:03 +0000</pubDate>
					<dc:creator>LiamD</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there!</p>
<p>I&#39;m creating simple visuals and game-play mechanics for a darts game as part of my masters degree (focused on audio for interactivity). I&#39;m using a pictslider for the dart board, using the knob as the cross-hair for aiming your dart. So far I&#39;ve got a system that will add the darts together as you go through each turn, automatically subtract the input scores and switch between the two players at the end of their go.</p>
<p>What I&#39;m currently struggling to do is figure out a way to calculate which number you have hit from the two pictslider outputs.</p>
<p>I&#39;ve been trying to use &#39;if&#39; statements to determine if the player is within a certain area of the dartboard but am having trouble defining these areas in the first place. For example I have only been able to make a square area for the bullseye when ideally I&#39;d need a more circular one. </p>
<p>This may just be my lack of understanding of mathematical functions but does anyone know a way that I can define the separate triangular and circular areas of the dart board from the pictslider outputs, or alternatively if there is a better object to use than a pictslider to achieve what I am trying to do?</p>
<p>Thanks!</p>
<p>Liam</p>
<p> [attachment=147544,1460] [attachment=147544,1461]</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192886</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192886</link>
					<pubDate>Tue, 30 Nov 2010 16:53:56 +0000</pubDate>
					<dc:creator>spf006</dc:creator>

					<description>
						<![CDATA[
						<p>Switch to polar coordinates&#8230; cartopol and poltocar&#8230; look into your old geometry text.  Then you&#8217;ll just be working with angles and radii, which is exactly how a dartboard is laid out to begin with!</p>
<p>Cheers,<br />
SPF</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192887</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192887</link>
					<pubDate>Tue, 30 Nov 2010 17:59:23 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>I started putting together some abstraction to deal with simple geometry. I am attaching them here. Have a look at the MRpointInCircle helpfile.<br />
Hope this is helpful. Let me know if there are any questions, requests, bugs&#8230;</p>
<p>Other than that, spf006&#8242;s suggestion is the way to go.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192888</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192888</link>
					<pubDate>Tue, 30 Nov 2010 20:36:22 +0000</pubDate>
					<dc:creator>seejayjames</dc:creator>

					<description>
						<![CDATA[
						<p>Looking forward to seeing what you&#8217;ve got in there MIB. Dealing with non-rectangular areas is a pain unless you can work with different colors for every area. So if you had a hidden second dartboard that was color-corrected, so each and every area was a unique color, you could use [suckah] and compare to a master list. Other than that, definitely look to polar coordinates.</p>
<p>It would be really nice to have a built-in way to define non-rectangular areas in Max, that&#8217;s one place where Flash wins big time. Even if all you had was rectangles, circles, and a line tool (like defining &#8220;hot areas&#8221; on an image map for a web page), that would be great for certain applications.</p>
<p>Anyway, best of luck. Darts fun&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192889</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192889</link>
					<pubDate>Tue, 30 Nov 2010 20:51:20 +0000</pubDate>
					<dc:creator>Luke Woodbury</dc:creator>

					<description>
						<![CDATA[
						<p>Now there&#8217;s some handy, clever little things! Thanks MIB</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192890</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192890</link>
					<pubDate>Tue, 30 Nov 2010 21:10:53 +0000</pubDate>
					<dc:creator>LiamD</dc:creator>

					<description>
						<![CDATA[
						<p>Wow, thanks everyone! Really helpful stuff. If anyone&#8217;s interested I&#8217;ll upload the working patch when it&#8217;s finished.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192891</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192891</link>
					<pubDate>Tue, 30 Nov 2010 23:51:37 +0000</pubDate>
					<dc:creator>MIB</dc:creator>

					<description>
						<![CDATA[
						<p>Just realized that one set of abstractions is missing&#8230; sorry. This should be it though.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192892</guid>
					<title><![CDATA[Re: Obtaining &#039;area&#039; information from &#039;pictslider&#039;]]></title>
					<link>http://cycling74.com/forums/topic/obtaining-area-information-from-pictslider/#post-192892</link>
					<pubDate>Wed, 01 Dec 2010 07:52:23 +0000</pubDate>
					<dc:creator>lyly10388</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks you for sharing<br />
_________________</p>
<p><a href="http://moviesonlinefree.biz" rel="nofollow">http://moviesonlinefree.biz</a></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

