<?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: Playhaven, Unity and Snowferno</title>
	<atom:link href="http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/</link>
	<description>Do you have a snowball's chance?</description>
	<lastBuildDate>Thu, 08 Jul 2010 00:37:32 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: benbritten</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-80</link>
		<dc:creator>benbritten</dc:creator>
		<pubDate>Wed, 11 Nov 2009 22:50:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-80</guid>
		<description>Hey Matt,

The thing with UIWindows is that you really should never make your own, and your app should really never need to make a new window. The UIKit is designed so that you should be able to do 99.9% of what you need using view controllers and views.  The reason we are using a window in this case is to keep a nice separation between then Unity views and the hacked overlay views.  This way if Unity is doing something funky with their views and their window we wont break it.  

However, remember that windows are actually view subclasses.  and views dont necessarily clip their subviews, so changing the size of the window will not effect the size of the subviews (at least not the way we are doing it in the code here)  so: make sure that all your views are resized to smaller frame rects, make sure that your window is clipping to it&#039;s bounds and has a clear background and is not opaque. 

Then, (as I said before) add the webview into your window, but make sure it&#039;s rectangle is also smaller.

Good luck!
Cheers!
-B</description>
		<content:encoded><![CDATA[<p>Hey Matt,</p>
<p>The thing with UIWindows is that you really should never make your own, and your app should really never need to make a new window. The UIKit is designed so that you should be able to do 99.9% of what you need using view controllers and views.  The reason we are using a window in this case is to keep a nice separation between then Unity views and the hacked overlay views.  This way if Unity is doing something funky with their views and their window we wont break it.  </p>
<p>However, remember that windows are actually view subclasses.  and views dont necessarily clip their subviews, so changing the size of the window will not effect the size of the subviews (at least not the way we are doing it in the code here)  so: make sure that all your views are resized to smaller frame rects, make sure that your window is clipping to it&#8217;s bounds and has a clear background and is not opaque. </p>
<p>Then, (as I said before) add the webview into your window, but make sure it&#8217;s rectangle is also smaller.</p>
<p>Good luck!<br />
Cheers!<br />
-B</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Johnson</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-79</link>
		<dc:creator>Matt Johnson</dc:creator>
		<pubDate>Wed, 11 Nov 2009 21:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-79</guid>
		<description>Hey Ben... 

Thanks for the great tutorial!  I&#039;m not versed in ObjC... but this helped alot.  I am currently trying to integrate a webview in my Unity project.  With this I have the webview coming up on top of Unity, but I&#039;m trying to limit the view to a small portion of the screen.  I thought that changing the overlayWindow rect might have an effect, but no luck.

overlayWindow = [[UIWindow alloc] initWithFrame:CGRectMake(0, 431.0, 320, 49.0)];

Any suggestions?

Thanks,
Matt</description>
		<content:encoded><![CDATA[<p>Hey Ben&#8230; </p>
<p>Thanks for the great tutorial!  I&#8217;m not versed in ObjC&#8230; but this helped alot.  I am currently trying to integrate a webview in my Unity project.  With this I have the webview coming up on top of Unity, but I&#8217;m trying to limit the view to a small portion of the screen.  I thought that changing the overlayWindow rect might have an effect, but no luck.</p>
<p>overlayWindow = [[UIWindow alloc] initWithFrame:CGRectMake(0, 431.0, 320, 49.0)];</p>
<p>Any suggestions?</p>
<p>Thanks,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks for September 18th through October 8th</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-60</link>
		<dc:creator>Bookmarks for September 18th through October 8th</dc:creator>
		<pubDate>Wed, 14 Oct 2009 11:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-60</guid>
		<description>[...] Unity Playhaven and Snowferno - There is a new player in the iPhone-support website game: PlayHaven. They are similar to Openfeint and Agon in that they provide some 3rd-party support for your game. Unlike OF and Agon, Playhaven does not provide leaderboards and that sort of thing, instead they are trying to build a gaming community around guides, hints, and forums. [...]</description>
		<content:encoded><![CDATA[<p>[...] Unity Playhaven and Snowferno &#8211; There is a new player in the iPhone-support website game: PlayHaven. They are similar to Openfeint and Agon in that they provide some 3rd-party support for your game. Unlike OF and Agon, Playhaven does not provide leaderboards and that sort of thing, instead they are trying to build a gaming community around guides, hints, and forums. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Opening a UIWebView from within Unity3d&#160;&#124;&#160;Devferno</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-50</link>
		<dc:creator>Opening a UIWebView from within Unity3d&#160;&#124;&#160;Devferno</dc:creator>
		<pubDate>Fri, 25 Sep 2009 14:00:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-50</guid>
		<description>[...] http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/  [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/" rel="nofollow">http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/</a>  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benbritten</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-49</link>
		<dc:creator>benbritten</dc:creator>
		<pubDate>Thu, 24 Sep 2009 22:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-49</guid>
		<description>Hey Jeff,

That should be all fixed now, thanks for pointing that out!

Cheers!
-B</description>
		<content:encoded><![CDATA[<p>Hey Jeff,</p>
<p>That should be all fixed now, thanks for pointing that out!</p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-48</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 24 Sep 2009 21:52:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-48</guid>
		<description>Can&#039;t download the zip file.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t download the zip file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Opening a UIWebView from within Unity3d&#160;&#124;&#160;Escape Factory</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-47</link>
		<dc:creator>Opening a UIWebView from within Unity3d&#160;&#124;&#160;Escape Factory</dc:creator>
		<pubDate>Thu, 24 Sep 2009 02:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-47</guid>
		<description>[...] http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/  [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/" rel="nofollow">http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/</a>  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UIWebview overlay for Unity3d on the iPhone&#160;&#124;&#160;benbritten.com</title>
		<link>http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/comment-page-1/#comment-46</link>
		<dc:creator>UIWebview overlay for Unity3d on the iPhone&#160;&#124;&#160;benbritten.com</dc:creator>
		<pubDate>Thu, 24 Sep 2009 02:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.snowferno.com/?p=104#comment-46</guid>
		<description>[...] http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/" rel="nofollow">http://www.snowferno.com/2009/09/23/playhaven-unity-and-snowferno/</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
