<?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>mobile &#8211; INCD021</title>
	<atom:link href="https://incd021.com/tag/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>https://incd021.com</link>
	<description>Programming, thoughts, life  and art.</description>
	<lastBuildDate>Sun, 27 Oct 2024 18:03:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>Seagull Hunt</title>
		<link>https://incd021.com/2014/04/09/seagull-hunt/</link>
					<comments>https://incd021.com/2014/04/09/seagull-hunt/#comments</comments>
		
		<dc:creator><![CDATA[INC $D021]]></dc:creator>
		<pubDate>Wed, 09 Apr 2014 18:58:34 +0000</pubDate>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[DevLog]]></category>
		<category><![CDATA[Game development]]></category>
		<category><![CDATA[Indie Game]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Untiy]]></category>
		<guid isPermaLink="false">http://incd021.com/?p=524</guid>

					<description><![CDATA[A lot is and has happened over the last months, and not much time have been spend on game development. But I have been working on a small android game....]]></description>
										<content:encoded><![CDATA[<p>A lot is and has happened over the last months, and not much time have been spend on game development. But I have been working on a small android game from time to time.<br />
It&#8217;s a small frustrating game, where you are to keep the beach ball in the air and make it hit the seagulls by hitting the beach ball with wather from a super soaker.</p>
<p>Here is what I started out with, and what I ended up with so far.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00001-20140212191923.png"><img fetchpriority="high" decoding="async" class="size-medium wp-image-525 aligncenter" alt="BFSH - 00001" src="https://incd021.com/wp-content/uploads/2014/04/00001-20140212191923-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;"><span style="line-height: 1.5;">Started out with a ball on a screen. Had no idea what the game should be about.. Didn&#8217;t even know it would become a game.</span></p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00032-20140212201231.png"><img decoding="async" class="alignnone size-medium wp-image-526" alt="BFSH - 00032" src="https://incd021.com/wp-content/uploads/2014/04/00032-20140212201231-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Then made the ball fall under the influence of gravity, and added a small static cannon capable of shooting small red balls.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00040-20140212203434.png"><img decoding="async" class="alignnone size-medium wp-image-527" alt="BFSH - 00040" src="https://incd021.com/wp-content/uploads/2014/04/00040-20140212203434-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Added colliders to the balls, so the red balls could hit the red ball and then, to make a bit of a game out of it, I added some spikes, that killed the yellow ball on impact.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00082-20140215151140.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-528" alt="BFSH - 00082" src="https://incd021.com/wp-content/uploads/2014/04/00082-20140215151140-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Added some graphics, and changed the mail ball to a beach ball.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00110-20140220194920.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-529" alt="BFSH - 00110" src="https://incd021.com/wp-content/uploads/2014/04/00110-20140220194920-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">At this time I did my small <a href="https://incd021.com/spriter-by-brashmonkey/">crap animation project</a>, so of cause that was added to the project. I also did the super soaker graphics while trying out different vector based drawing programs and that was added as well.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00119-20140220200848.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-530" alt="BFSH - 00119" src="https://incd021.com/wp-content/uploads/2014/04/00119-20140220200848-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">The red balls was replaced by a water ball/splash texture.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00173-20140221213929.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-531" alt="BFSH - 00173" src="https://incd021.com/wp-content/uploads/2014/04/00173-20140221213929-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Added a basic score, so each time you hit the beach ball with a ball of water you got a point, and game when the beach ball hit the sand.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00175-20140222102450.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-532" alt="BFSH - 00175" src="https://incd021.com/wp-content/uploads/2014/04/00175-20140222102450-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">I got the idea to add something to hit instead of just having to hit the beach ball, which was to easy.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00204-20140222143702.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-533" alt="BFSH - 00204" src="https://incd021.com/wp-content/uploads/2014/04/00204-20140222143702-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">I wanted to have a really fast game over to new game cycle, so all I wanted was a single start button in the middle of the screen. At first I would have liked to be able to share scores on Facebook, but as I haven&#8217;t gotten it to work 100% I discarded it for now. Maybe in a later version.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00254-20140223085640.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-534" alt="BFSH - 00254" src="https://incd021.com/wp-content/uploads/2014/04/00254-20140223085640-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Just changed some of the background graphics, and added best score to the score display.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00402-20140301090756.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-535" alt="BFSH - 00402" src="https://incd021.com/wp-content/uploads/2014/04/00402-20140301090756-169x300.png" width="169" height="300" /></a></p>
<p style="text-align: left;">Added sand to the beach.</p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00421-20140309180437.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-536" alt="BFSH - 00421" src="https://incd021.com/wp-content/uploads/2014/04/00421-20140309180437-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">Completely new graphics, made by a nice fellow that I&#8217;m teaching to program, and in exchange his making me some pleasant graphics <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p style="text-align: center;"><a href="https://incd021.com/wp-content/uploads/2014/04/00428-20140312164745.png"><img loading="lazy" decoding="async" class="alignnone size-medium wp-image-537" alt="BFSH - 00428" src="https://incd021.com/wp-content/uploads/2014/04/00428-20140312164745-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">New button and font added, that matches the rest of the theme better. The basic font is called Floraless and is made by <a href="http://moorstation.org/typoasis/designers/gaut/">Daniel Gauthier</a>.</p>
<p style="text-align: left;"><a href="https://incd021.com/wp-content/uploads/2014/04/00454-20140316200543.png"><img loading="lazy" decoding="async" class="size-medium wp-image-538 aligncenter" alt="BFSH - 00454" src="https://incd021.com/wp-content/uploads/2014/04/00454-20140316200543-168x300.png" width="168" height="300" /><br />
</a>Small but very visual change, I made the score use the new font, by having a bitmap for each number and one for the slash, and then added code to convert the string into an array of the correct sprites.</p>
<p><a href="https://incd021.com/wp-content/uploads/2014/04/00481-20140409184300.png"><img loading="lazy" decoding="async" class="size-medium wp-image-539 aligncenter" alt="BFSH - 00481" src="https://incd021.com/wp-content/uploads/2014/04/00481-20140409184300-168x300.png" width="168" height="300" /></a></p>
<p>The last change was the graphics for the crab that now looks a lot more organic and less flat. <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The two thing keeping me from uploading it to the android store is the seagull- and the crap-animation. I will work on the crap animation as soon as everything thats happening in my life right now, settles down a bit.</p>
<p>If you want to try the current (Android only) version of &#8220;Beach Fun Seagull Hunt&#8221; just click the link below.<br />
<del>Old version April 9th : md5 : aad8aee9879d29ad0e8bf32cc451b097 *Beach-Fun-Seagull-Hunt.apk<br />
</del>New version April 12th : md5 : 5f145660cae4dab6d5c4fea869403f36 *<a href="https://incd021.com/Games/Beach-Fun-Seagull-Hunt/Beach-Fun-Seagull-Hunt.apk">Beach-Fun-Seagull-Hunt.apk</a></p>
<p><span style="line-height: 1.5;">Now go make games! <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span></p>
<p>&#8211; Henning</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://incd021.com/2014/04/09/seagull-hunt/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Unity Remote</title>
		<link>https://incd021.com/2013/09/12/unity-remote/</link>
					<comments>https://incd021.com/2013/09/12/unity-remote/#comments</comments>
		
		<dc:creator><![CDATA[INC $D021]]></dc:creator>
		<pubDate>Thu, 12 Sep 2013 10:00:41 +0000</pubDate>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Unity Remote]]></category>
		<guid isPermaLink="false">http://incd021.com/?p=407</guid>

					<description><![CDATA[Got Unity Remote working on my LG E975 mobile phone today, so development time has been drastically shortened. 🙂 As I&#8217;m new to mobile/touch development, I started out with the....]]></description>
										<content:encoded><![CDATA[<p>Got Unity Remote working on my LG E975 mobile phone today, so development time has been drastically shortened. <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> As I&#8217;m new to mobile/touch development, I started out with the old compile, copy, install and test cycle. SLOW!!! I knew there had to be a better way, and Unity Remote was the answer <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
I did fail to make it work on my own, but this one line &#8220;<em>On your android device ensure that in Application Settings that USB Debugging, Stay Awake and Allow Mock Locations are all enabled.</em>&#8221; from the <a href="http://answers.unity3d.com/questions/198853/unity-remote-for-android-not-working-solution.html">Unity Forum</a> made all the difference. <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> And starting Remote app <em>before</em> Unity also helped <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Now, go and make games! <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&#8211; Henning</p>
]]></content:encoded>
					
					<wfw:commentRss>https://incd021.com/2013/09/12/unity-remote/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Unity touch input</title>
		<link>https://incd021.com/2013/09/10/unity-touch-input/</link>
					<comments>https://incd021.com/2013/09/10/unity-touch-input/#comments</comments>
		
		<dc:creator><![CDATA[INC $D021]]></dc:creator>
		<pubDate>Tue, 10 Sep 2013 18:52:07 +0000</pubDate>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Unity Touch Input]]></category>
		<guid isPermaLink="false">http://incd021.com/?p=402</guid>

					<description><![CDATA[My first encounter with Unity touch input didn&#8217;t go as I wanted it to.. After some failed attempt and a test scene in Unity, it did started to make sense.....]]></description>
										<content:encoded><![CDATA[<p>My first encounter with Unity touch input didn&#8217;t go as I wanted it to.. After some failed attempt and a test scene in Unity, it did started to make sense. And finding out that touch has phases and FingerId&#8217;s helped a lot. <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> So here&#8217;s my take on a controller and firing script for my current project.</p>
<pre class="brush: csharp; gutter: true">private shieldFingerId = -1;

...
// If nothing is touched, the shield controller has been released
// Know I should test for the shieldFingerId to be released, but this works for my purpose.
if (Input.touchCount == 0)
{
	shieldFingerId = -1;
}

foreach (Touch touch in Input.touches)
{
	// Fire
	if(touch.phase == TouchPhase.Began &amp;&amp; !withinShieldController)
	{
		Fire();
	}

	// &quot;Grap&quot; shield
	if (touch.phase == TouchPhase.Began &amp;&amp; withinShieldController)
	{
		shieldFingerId = touch.fingerId;
		UpdateSheldAngle(touch.position);
	}

	// Move shield
	if (touch.phase == TouchPhase.Moved &amp;&amp; touch.fingerId == shieldFingerId)
	{
		UpdateSheldAngle(touch.position);
	}
}</pre>
<p>As you can see, when I got hold of the information about touch.phase and .fingerId, everything turned out to be very simple indeed.</p>
<p>I found the Unity Script Reference pages to be very limited on the subject of touch input, e.g. information about touch.fingerId only says &#8220;The unique index for touch.&#8221; no examples, or explanation. But by asking Google, and searching the Unity forums, great resource I might add, it finally made sense. <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Working with touch has forced me to use my LG E975 mobile for testing, which is a slow process. :/ I guess I have to figure out how to make Unity Remote work with my phone. If not, development is going to take forever!</p>
<p>Hope the above code makes sense? Now go make games! <img src="https://s.w.org/images/core/emoji/15.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&#8211; Henning</p>
]]></content:encoded>
					
					<wfw:commentRss>https://incd021.com/2013/09/10/unity-touch-input/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Page Caching using Disk: Enhanced 

Served from: incd021.com @ 2025-05-17 20:48:15 by W3 Total Cache
-->