<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Getting the smooth zoom value (in float)?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=292</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=292&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Getting the smooth zoom value (in float)?.]]></description>
		<lastBuildDate>Fri, 30 Sep 2016 06:16:52 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Getting the smooth zoom value (in float)?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1331#p1331</link>
			<description><![CDATA[<p>Thank you for the quick reply!</p>]]></description>
			<author><![CDATA[null@example.com (Mridul)]]></author>
			<pubDate>Fri, 30 Sep 2016 06:16:52 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1331#p1331</guid>
		</item>
		<item>
			<title><![CDATA[Re: Getting the smooth zoom value (in float)?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1330#p1330</link>
			<description><![CDATA[<p>Hello.</p><p>You can calculate the float zoom based on transform.localScale:<br /></p><div class="codebox"><pre><code>float floatZoom = OnlineMaps.instance.zoom + Mathf.Log(OnlineMaps.instance.transform.localScale.x, 2);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 30 Sep 2016 06:01:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1330#p1330</guid>
		</item>
		<item>
			<title><![CDATA[Getting the smooth zoom value (in float)?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1329#p1329</link>
			<description><![CDATA[<p>Hey,<br />There is an attack ring around the player of about 1 km diameter , it depicts the players you can attack (the player has to be inside it) I am changing the scale of the attack ring based on the zoom level to match the 1km radius. right now it snaps from scale x to scale y when zoom level is changed from say 14 to 15, and as I am using the smooth zoom feature I was wondering if I can maybe get the in between values so I can scale the attack ring more smoothly.</p><p>Thanks,<br />Mridul</p>]]></description>
			<author><![CDATA[null@example.com (Mridul)]]></author>
			<pubDate>Fri, 30 Sep 2016 05:43:06 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1329#p1329</guid>
		</item>
	</channel>
</rss>
