<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Veli.ws &#187; Unity3D</title>
	<atom:link href="http://veli.ws/category/unity3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://veli.ws</link>
	<description>Veli&#039;s Portfolio and Personal Blog</description>
	<lastBuildDate>Fri, 20 May 2011 09:53:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>7-bit Pirates Released for iPad and iPhone</title>
		<link>http://veli.ws/2011/05/7-bit-pirates-released-for-ipad-and-iphone/</link>
		<comments>http://veli.ws/2011/05/7-bit-pirates-released-for-ipad-and-iphone/#comments</comments>
		<pubDate>Fri, 20 May 2011 09:52:42 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=509</guid>
		<description><![CDATA[Get it from the AppStore]]></description>
			<content:encoded><![CDATA[<p><a href="http://itunes.apple.com/us/app/7-bit-pirates/id434570332?mt=8&amp;ls=1">Get it from the AppStore</a></p>
<p><a href="http://veli.ws/wp-content/uploads/2011/05/Screenshot4.png"><img class="alignleft size-medium wp-image-510" title="Screenshot4" src="http://veli.ws/wp-content/uploads/2011/05/Screenshot4-300x225.png" alt="" width="270" height="203" /></a><a href="http://veli.ws/wp-content/uploads/2011/05/Screenshot2.png"><img class="alignleft size-medium wp-image-511" title="Screenshot2" src="http://veli.ws/wp-content/uploads/2011/05/Screenshot2-300x225.png" alt="" width="270" height="203" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2011/05/7-bit-pirates-released-for-ipad-and-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avaruus: Testing stuff out</title>
		<link>http://veli.ws/2010/08/avaruus-testing-stuff-out/</link>
		<comments>http://veli.ws/2010/08/avaruus-testing-stuff-out/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 18:20:32 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[3D Artwork]]></category>
		<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=435</guid>
		<description><![CDATA[I&#8217;ve been on a bit of a break from my main project, 7-bit Pirates. Just taking a bit of distance to it and avoiding nervous breakdown. Here is something little I&#8217;ve been working on mostly on weekends. I mainly just wanted to test the new features of Untiy 3 so I made the hangar in]]></description>
			<content:encoded><![CDATA[<p><object width="600" height="475"><param name="movie" value="http://www.youtube.com/v/SiJ_w0jZi8E?fs=1&amp;hl=fi_FI&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SiJ_w0jZi8E?fs=1&amp;hl=fi_FI&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="600" height="475"></embed></object></p>
<p>I&#8217;ve been on a bit of a break from my main project, <a href="http://7-bitpirates.com/">7-bit Pirates</a>. Just taking a bit of distance to it and avoiding nervous breakdown.</p>
<p>Here is something little I&#8217;ve been working on mostly on weekends. I mainly just wanted to test the new features of Untiy 3 so I made the hangar in about 2 weekends. I made the ship building script today and it took about 6 hours to get it right.</p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2010/08/avaruus-testing-stuff-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7-bit Pirates</title>
		<link>http://veli.ws/2010/08/7-bit-pirates/</link>
		<comments>http://veli.ws/2010/08/7-bit-pirates/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 10:56:21 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[7-bit Pirates]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=426</guid>
		<description><![CDATA[7-bit Pirates is a game that I&#8217;ve been working on for bit over 2 months now. I am the game designer and I&#8217;ve also done most of the coding for the game. Here is a (bit outdated) video of the game: Here is some pictures from the latest build:]]></description>
			<content:encoded><![CDATA[<p>7-bit Pirates is a game that I&#8217;ve been working on for bit over 2 months now. I am the game designer and I&#8217;ve also done most of the coding for the game.</p>
<p>Here is a (bit outdated) video of the game:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="475" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/KSMCZztO51M&amp;hl=fi_FI&amp;fs=1?rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="475" src="http://www.youtube.com/v/KSMCZztO51M&amp;hl=fi_FI&amp;fs=1?rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Here is some pictures from the latest build:</p>
<p><a href="http://veli.ws/wp-content/uploads/2010/08/ShipShop.jpg"><img class="alignleft size-medium wp-image-425" title="ShipShop" src="http://veli.ws/wp-content/uploads/2010/08/ShipShop-300x231.jpg" alt="" width="270" height="208" /></a><a href="http://veli.ws/wp-content/uploads/2010/08/Island.jpg"><img class="alignleft size-medium wp-image-424" title="Island" src="http://veli.ws/wp-content/uploads/2010/08/Island-300x231.jpg" alt="" width="270" height="208" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2010/08/7-bit-pirates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Pay what you want&#8221; for Forklift Hazard in June 2010!</title>
		<link>http://veli.ws/2010/05/pay-what-you-want-for-forklift-hazard-in-june-2010/</link>
		<comments>http://veli.ws/2010/05/pay-what-you-want-for-forklift-hazard-in-june-2010/#comments</comments>
		<pubDate>Mon, 31 May 2010 16:35:36 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[forklift hazard]]></category>

		<guid isPermaLink="false">http://veli.ws/2010/05/pay-what-you-want-for-forklift-hazard-in-june-2010/</guid>
		<description><![CDATA[Well, sort of a &#8220;pay what you want&#8221;. Since I AppStore doesn&#8217;t have a such feature, I needed to fiddle around with the prices a bit. For June 2010, the price of Forklift Hazard at Apple&#8217;s AppStore will change daily: After that, the price drops back to free and the whole thing starts again. If]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-103 alignnone" style="margin: 10px;" title="ForkliftHazard-PayWhatYouWant" src="http://veepeli.fi/wp-content/uploads/2010/05/ForkliftHazard-PayWhatYouWant.png" alt="" width="603" height="117" /></p>
<p style="padding-left: 30px;">Well, sort of a &#8220;pay what you want&#8221;. Since I AppStore doesn&#8217;t have a such feature, I needed to fiddle around with the prices a bit.</p>
<p style="padding-left: 30px;">For June 2010, the price of <a href="http://veli.ws/2009/12/forklift-hazard-iphone/">Forklift Hazard</a> at Apple&#8217;s AppStore will change daily:</p>
<p style="padding-left: 30px;"><img class="alignnone" style="margin-right: 10px; margin-left: 10px;" src="http://veepeli.fi/wp-content/uploads/2010/05/Prices-ForkliftHazard2.jpg" alt="Prices" width="558" height="230" /></p>
<p style="padding-left: 30px;">After that, the price drops back to free and the whole thing starts again.</p>
<p style="padding-left: 30px;">If you want to get the game for free, get it on a Monday. If you want to <strong>support</strong> the maker of the game, buy it on a later weekday.</p>
<p style="padding-left: 30px;">Here&#8217;s the link to Appstore:</p>
<p style="text-align: center;"><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=339393525&amp;mt=8"><img class="aligncenter" title="Available on the App Store" src="http://veepeli.fi/wp-content/uploads/2009/12/App_Store_Badge_EN_Cropped.png" alt="Forklift Hazard in AppStore" width="302" height="104" /></a></p>
<p style="padding-left: 30px;">Thanks in advance!</p>
<p style="padding-left: 30px;">PS. If the price on the app store is not what&#8217;s listed in the table above, just wait a bit. Sometimes the AppStore doesn&#8217;t know the day has changed yet or it just hasn&#8217;t had time to update.</p>
<p style="padding-left: 30px;">PSS. Feel feel to post this to your twitter, facebook or otherwise share  it with your friends and family <img src='http://veli.ws/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2010/05/pay-what-you-want-for-forklift-hazard-in-june-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forklift Hazard for iPhone is out!</title>
		<link>http://veli.ws/2009/12/forklift-hazard-iphone/</link>
		<comments>http://veli.ws/2009/12/forklift-hazard-iphone/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 11:46:27 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[forklift hazard]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=366</guid>
		<description><![CDATA[New and improved version of Forklift Hazard hit the App Store today. The iPhone version has many new features and improvements New and improved forklift! Awesome tilt controls for the camera Remade scores system (instead of competing against each other with milliseconds, you know how well you compare against other players world wide). New levels]]></description>
			<content:encoded><![CDATA[<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=339393525&amp;mt=8"><img class="alignright" style="margin: 10px;" title="Available on the App Store" src="http://veepeli.fi/wp-content/uploads/2009/12/App_Store_Badge_EN_Cropped.png" alt="" width="242" height="83" /></a>New and improved version of Forklift Hazard hit the App Store today. The iPhone version has many new features and improvements</p>
<ul>
<li>New and improved forklift!</li>
<li>Awesome tilt controls for the camera</li>
<li>Remade scores system (instead of competing against each other with milliseconds, you know how well you compare against other players world wide).</li>
<li>New levels</li>
</ul>
<p>And of course all the goodies of the earlier version (realtime physics, great gameplay and <strong>the Mole</strong>). Here is some pictures of the new version:</p>

<a href='http://veli.ws/2009/12/forklift-hazard-iphone/promo1/' title='promo1'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/promo1-150x150.jpg" class="attachment-thumbnail" alt="promo1" title="promo1" /></a>
<a href='http://veli.ws/2009/12/forklift-hazard-iphone/untitled-5/' title='Untitled-5'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/Untitled-5-150x150.jpg" class="attachment-thumbnail" alt="Untitled-5" title="Untitled-5" /></a>
<a href='http://veli.ws/2009/12/forklift-hazard-iphone/untitled-4/' title='Untitled-4'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/Untitled-4-150x150.jpg" class="attachment-thumbnail" alt="Untitled-4" title="Untitled-4" /></a>
<a href='http://veli.ws/2009/12/forklift-hazard-iphone/untitled-3/' title='Untitled-3'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/Untitled-3-150x150.jpg" class="attachment-thumbnail" alt="Untitled-3" title="Untitled-3" /></a>
<a href='http://veli.ws/2009/12/forklift-hazard-iphone/untitled-2/' title='Untitled-2'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/Untitled-2-150x150.jpg" class="attachment-thumbnail" alt="Untitled-2" title="Untitled-2" /></a>
<a href='http://veli.ws/2009/12/forklift-hazard-iphone/untitled-1/' title='Untitled-1'><img width="150" height="150" src="http://veli.ws/wp-content/uploads/2009/12/Untitled-1-150x150.jpg" class="attachment-thumbnail" alt="Untitled-1" title="Untitled-1" /></a>

<p style="text-align: center; font-size= 32px;"><a style="text-align: center; font-size= 32px;" href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=339393525&amp;mt=8"></a><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=339393525&amp;mt=8"><img class="aligncenter" title="Available" src="http://veli.ws/wp-content/uploads/2009/12/App_Store_Badge_EN.png" alt="" width="400" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2009/12/forklift-hazard-iphone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Profiles to Unity3D?</title>
		<link>http://veli.ws/2009/05/wordpress-profiles-to-unity3d/</link>
		<comments>http://veli.ws/2009/05/wordpress-profiles-to-unity3d/#comments</comments>
		<pubDate>Mon, 25 May 2009 19:12:47 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=320</guid>
		<description><![CDATA[You read correctly. If you want to have a good community around your game (blogs, forums, etc), you need to find the best tools for that. And for blogging, the best tool is by far WordPress. One of WordPress&#8217; main strengths is the plugin system, which allows you to write your own &#8220;hacks&#8221; or use]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://s3.amazonaws.com/twitter_production/profile_images/108827212/wordpress_bigger.jpg" alt="" width="180" height="180" />You read correctly. If you want to have a good community around your game (blogs, forums, etc), you need to find the best tools for that. And for blogging, the best tool is by far <a href="http://wordpress.org/">WordPress</a>. One of WordPress&#8217; main strengths is the plugin system, which allows you to write your own &#8220;hacks&#8221; or use plugins made by others without having to edit the core files directly. This ensures a safe and upgradeable framework around which one can build their community.</p>
<p>But enough of that rambling. Here is how I managed to fetch wordpress user profiles into unity.</p>
<p><strong>Unity JS</strong></p>
<pre name="code" class="js">function Awake() {
	GetCookie (display_name);
	//This is what you are fetching.
	//See http://codex.wordpress.org/Database_Description#Table:_wp_users
}

function GetCookie (query:String){
	//Path to your PHP file
	var url = "http://domain.com/cookiecheck.php?q=";
	var getCookie = WWW(url+query);
		yield getCookie; // Wait until the download is done

    if(getCookie.error) {
        Debug.Log("There was an error getting cookies: "
				+ getCookie.error);
    } else {
		result = getCookie.data;
    }
}

function OnGui () {
	if (result != null) {
		GUI.Label (Rect (10,50,280,20), result);
	}
	else
		GUI.Label (Rect (10,50,280,20), "Waiting for yummy cookies!");
}</pre>
<p><strong>Server side  PHP</strong> cookiecheck.php</p>
<pre name="code" class="php">$query=$_GET["q"];

require_once('/path/to/your/wp-config.php');

global $current_user;
      get_currentuserinfo();

if ('' == $user_ID) {
        print("invalid User");
      }
else {
	print($current_user-&gt;$query);
}</pre>
<p>It is nothing major, but I spent a good amount of trial and error to get it right. Hopefully this article will save someone else from that trouble. Oh, and big thanks once again to the guys (and gals) at <a href="irc://#unity3d@irc.freenode.irc.freenode.net" target="_blank">#unity3d@irc.freenode.irc.freenode.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2009/05/wordpress-profiles-to-unity3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forklift Hazard is live! At last!</title>
		<link>http://veli.ws/2009/04/forklift-hazard-is-live-at-last/</link>
		<comments>http://veli.ws/2009/04/forklift-hazard-is-live-at-last/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 19:26:44 +0000</pubDate>
		<dc:creator>Veli</dc:creator>
				<category><![CDATA[My Projects]]></category>
		<category><![CDATA[Unity3D]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://veli.ws/?p=169</guid>
		<description><![CDATA[I got bored of waiting the portals to contact me so I decided to go ahead and post my game on some more friendlier portals. Here is some screenshots: You can play it at Wooglie! Oh and rate it there as well! Grrr&#8230;]]></description>
			<content:encoded><![CDATA[<p>I got bored of waiting the portals to contact me so I decided to go ahead and post my game on some more friendlier portals.</p>
<p style="text-align: center;">Here is some screenshots:</p>
<p style="text-align: center;"><a href="http://veli.ws/wp-content/uploads/2009/04/1.jpg"><img class="size-thumbnail wp-image-182 alignnone" title="1" src="http://veli.ws/wp-content/uploads/2009/04/1-150x150.jpg" alt="1" width="150" height="150" /></a><a href="http://veli.ws/wp-content/uploads/2009/04/3.jpg"><img class="size-thumbnail wp-image-172 alignnone" title="3" src="http://veli.ws/wp-content/uploads/2009/04/3-150x150.jpg" alt="3" width="150" height="150" /></a><a href="http://veli.ws/wp-content/uploads/2009/04/2.jpg"><img class="size-thumbnail wp-image-171 alignnone" title="2" src="http://veli.ws/wp-content/uploads/2009/04/2-150x150.jpg" alt="2" width="150" height="150" /></a><strong><strong><a href="http://veli.ws/wp-content/uploads/2009/04/4.jpg"><img class="size-thumbnail wp-image-173 alignnone" title="4" src="http://veli.ws/wp-content/uploads/2009/04/4-150x150.jpg" alt="4" width="150" height="150" /></a></strong></strong></p>
<p style="text-align: center; size:20px;"><a style="text-align: center; size:40px;" href="http://www.wooglie.com/playgame.php?gameID=16" target="_self">You can play it at Wooglie!</a></p>
<p style="text-align: center; size:20px;">Oh and rate it there as well! Grrr&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://veli.ws/2009/04/forklift-hazard-is-live-at-last/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

