<?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>animation Archives - Oxmond Technology</title>
	<atom:link href="https://oxmond.com/tag/animation/feed/" rel="self" type="application/rss+xml" />
	<link>https://oxmond.com/tag/animation/</link>
	<description>IT Development</description>
	<lastBuildDate>Thu, 29 Dec 2022 13:07:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0.2</generator>
	<item>
		<title>iTween Animation Examples</title>
		<link>https://oxmond.com/itween-animation-examples/</link>
					<comments>https://oxmond.com/itween-animation-examples/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Fri, 15 Jan 2021 10:58:13 +0000</pubDate>
				<category><![CDATA[2D]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[C# Lesson]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[animations]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[gameobject]]></category>
		<category><![CDATA[itween]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[script animation]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=906</guid>

					<description><![CDATA[<p>Using iTween animations in your Unity game Need to script an animation in Unity, but can not remember exactly how? Look no further. Here is an overview of the most used iTween animation features. So was is iTween exactly? iTween is a great script animation...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/itween-animation-examples/">iTween Animation Examples</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Using iTween animations in your Unity game</strong><br />
Need to script an animation in Unity, but can not remember exactly how? Look no further. Here is an overview of the most used iTween animation features.</p>
<p><strong>So was is iTween exactly?<br />
</strong>iTween is a great script animation framework which you can download for free from the <a href="https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k">Unity Asset Store</a><br />
With iTween you can move, rotate, fade, scale, control variables, colors and more!</p>
<p>If you are new to Unity/iTween or scripting I strongly recommend that you watch the video tutorial first &#8211; otherwise, just have fun with the examples. You&#8217;ll find iTween download links etc. at the bottom of this page.</p>
<hr />
<p><strong>Basic MOVE animation:</strong></p>
<pre>// Move the gameobject to x-position 5.0 in 1 second 
iTween.MoveTo(gameObject, iTween.Hash("x", 5, "time", 1, "islocal", true));    
</pre>
<hr />
<p><strong>Basic SCALE animation:</strong></p>
<pre>// Scale the gameobject to 2.0 in 1 second 
iTween.ScaleTo(gameObject, iTween.Hash("x", 2, "y", 2, "time", 1));
</pre>
<hr />
<p><strong>Basic FADE animation:</strong></p>
<pre>// Fade the gameobject to half transparent in 1 second 
iTween.FadeTo(gameObject, iTween.Hash("alpha", 0.5, "time", 1));
</pre>
<hr />
<p><strong>Basic ROTATE animation:</strong></p>
<pre>// Rotage the gameobject 45 degrees in 2 seconds 
iTween.RotateTo(gameObject, iTween.Hash("z", 45, "time", 2));
</pre>
<hr />
<p><strong>Using EASE IN/EASE OUT:</strong></p>
<pre>// Move gameobject using EASE OUT animation
iTween.MoveTo(gameObject, iTween.Hash("x", 3, "time", 2,"easetype", iTween.EaseType.easeOutElastic));
</pre>
<hr />
<p><strong>Get a list of all the easeTypes in the Inspector:</strong><br />
<img loading="lazy" class="alignnone size-full wp-image-942" src="https://oxmond.com/wp/wp-content/uploads/2021/01/Unity_tutorial_iTween_easetypes.png" alt="" width="272" height="131" /></p>
<pre>// Make a public variable to select the easeType from the inspector:
public iTween.EaseType easeType;

// Using the variable:
iTween.MoveTo(gameObject, iTween.Hash("x", 3, "time", 2,"easetype", easeType));
</pre>
<hr />
<p><strong>Calling a function after the animation using ONCOMPLETE:</strong><br />
(Don&#8217;t forget the &#8220;oncompletetarget&#8221; parameter. Otherwise it won&#8217;t work)</p>
<pre>void OnCompleteExample() {
   // Move the gameobject and call another function when done:
   iTween.MoveTo(gameObject, iTween.Hash("x", 5, "time", 2 ,"oncomplete", "ActionAfterTweenComplete", "oncompletetarget", gameObject));
}

void ActionAfterTweenComplete()    {
   print("Tween is DONE!");
}
</pre>
<hr />
<p><strong>Animation DELAY:</strong></p>
<pre>// Animate the gameobject after 3 seconds:
print("Waiting 3 seconds...");
iTween.MoveTo(gameObject, iTween.Hash("x", 5, "time", 1, "delay", 3, "islocal", true));
</pre>
<hr />
<p><strong>Create animation LOOPS:</strong></p>
<pre>// Animate the gameobject up and down in an endless loop:
iTween.MoveTo(gameObject, iTween.Hash("y", 3, "time", 1.4, "looptype", "pingpong", "easetype", iTween.EaseType.easeInOutQuad));
</pre>
<hr />
<p><strong>Tween a VARIABLE:</strong></p>
<pre>void TweenVariableExample()  {
   // Count to 100 over 3 seconds:
   iTween.ValueTo(gameObject, iTween.Hash("from", 1, "to", 100, "time", 2, "onupdatetarget", gameObject, "onupdate", "UpdateCounter"));
}

void UpdateCounter(int newValue) {
   print(newValue);
}
</pre>
<hr />
<p><strong>Fade/animate COLORS:</strong></p>
<pre>// Will fade the gameObject to RED:
private void TweenToColorToRed()
{
     iTween.ColorTo(myGameObject, Color.red, 1.0f);
}

// Will fade the gameboject to pink hex color:
private void TweenToColorToPinkHex()
{
     Color myColor;
     ColorUtility.TryParseHtmlString("#fc00c4", out myColor);
     iTween.ColorTo(BG, myColor, 1.0f);
}
</pre>
<hr />
<p><strong>STOP tweens/animations:</strong></p>
<pre>// Stop and destroy all tweens on a GAMEOBJECT:
iTween.Stop(gameObject);

// Stop and destroy all tweens in current SCENE:
iTween.Stop();
</pre>
<hr />
<p><strong>Links:</strong></p>
<p>🤓 <strong>Stay sharp! Subscribe to Oxmond Tutorials!</strong><br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>✅ <strong>Download iTween (yes, it&#8217;s free):</strong><br />
<a href="https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k">https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k</a></p>
<p>✅ <strong>Download 2D Game Starter Assets from the video tutorial above:<br />
</strong><a href="https://assetstore.unity.com/packages/2d/environments/2d-game-starter-assets-24626?aid=1100l4p9k">https://assetstore.unity.com/packages/2d/environments/2d-game-starter-assets-24626?aid=1100l4p9k</a><strong><br />
</strong></p>
<p>🎱 <strong>More Free Assets from the Unity Assets Store:</strong><br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>Some links might be affiliate links. This means that if you buy something via these links we might get a small payment too.<br />
Thanks for the support, it is truly appreciated so we can keep on making high quality content 😎👍</p>
<hr />
<p>The post <a rel="nofollow" href="https://oxmond.com/itween-animation-examples/">iTween Animation Examples</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/itween-animation-examples/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Glowing Orb Visual Effects VFX</title>
		<link>https://oxmond.com/glowing-orb-visual-effects-vfx/</link>
					<comments>https://oxmond.com/glowing-orb-visual-effects-vfx/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Mon, 23 Sep 2019 18:50:42 +0000</pubDate>
				<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Special Effect]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[asset]]></category>
		<category><![CDATA[assets]]></category>
		<category><![CDATA[ball]]></category>
		<category><![CDATA[bitmap]]></category>
		<category><![CDATA[bloom]]></category>
		<category><![CDATA[circle]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[emission]]></category>
		<category><![CDATA[energy]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game effects vfx]]></category>
		<category><![CDATA[glowing]]></category>
		<category><![CDATA[glowing orb effect]]></category>
		<category><![CDATA[gradient. light]]></category>
		<category><![CDATA[halo]]></category>
		<category><![CDATA[Hans Oxmond]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[materials]]></category>
		<category><![CDATA[orb]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[pack]]></category>
		<category><![CDATA[particles]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[sfx]]></category>
		<category><![CDATA[special]]></category>
		<category><![CDATA[sphere]]></category>
		<category><![CDATA[texture]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unity 3d effect tutorial]]></category>
		<category><![CDATA[unity glowing orb effect tutorial]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[vfx]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[visual]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=617</guid>

					<description><![CDATA[<p>Special effect tutorial! How to create a glowing orb using Unity&#8217;s particle effects! In this tutorial we build a blue electric sphere visual effect by combining different types of particles. ❤️ Subscribe to Oxmond Tutorials YouTube Channel. New tutorials every day! Stay tuned! https://bit.ly/SubscribeOxmondTutorials 🔔...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/glowing-orb-visual-effects-vfx/">Glowing Orb Visual Effects VFX</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Special effect tutorial! How to create a glowing orb using Unity&#8217;s particle effects! In this tutorial we build a blue electric sphere visual effect by combining different types of particles.</p>
<hr />
<p>❤️ Subscribe to Oxmond Tutorials YouTube Channel. New tutorials every day! Stay tuned!<br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>🔔 &#8211; and don&#8217;t forget hit that little bell to turn on notifications!</p>
<hr />
<p>✅ Download the bitmaps for this tutorial:<br />
<a href="https://oxmond.com/download/tutorials/unity/glowing_orb_bitmaps.zip">https://oxmond.com/download/tutorials/unity/glowing_orb_bitmaps.zip</a></p>
<p>✅ Download free assets from the Unity Assets Store for your game:<br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:<br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p>The post <a rel="nofollow" href="https://oxmond.com/glowing-orb-visual-effects-vfx/">Glowing Orb Visual Effects VFX</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/glowing-orb-visual-effects-vfx/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Modify The Pivot Point!</title>
		<link>https://oxmond.com/how-to-modify-the-pivot-point/</link>
					<comments>https://oxmond.com/how-to-modify-the-pivot-point/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Sun, 01 Sep 2019 21:50:06 +0000</pubDate>
				<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[adjust]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[around]]></category>
		<category><![CDATA[asset]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[change pivot point]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[correct pivot point]]></category>
		<category><![CDATA[cube]]></category>
		<category><![CDATA[custom pivots in unity]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[gameobject]]></category>
		<category><![CDATA[Hans Oxmond]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[modify pivot point]]></category>
		<category><![CDATA[not working]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[pivot]]></category>
		<category><![CDATA[pivot point of an object]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[point change]]></category>
		<category><![CDATA[point move]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[quad pivot]]></category>
		<category><![CDATA[rotate]]></category>
		<category><![CDATA[rotate around point]]></category>
		<category><![CDATA[rotatearound]]></category>
		<category><![CDATA[rotation]]></category>
		<category><![CDATA[sprite]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[transform]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[video games]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=586</guid>

					<description><![CDATA[<p>How to change the pivot point in Unity. ❤️ Subscribe to Oxmond Tutorials. New tutorials every day! Stay tuned! https://bit.ly/SubscribeOxmondTutorials ✅ Download the free Sunny Land asset here: https://assetstore.unity.com/packages/2d/characters/sunny-land-103349?aid=1100l4p9k ✅ Other free assets from the Unity Assets Store: https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k 😷👕 Need a face mask /...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-modify-the-pivot-point/">How To Modify The Pivot Point!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>How to change the pivot point in Unity.</p>
<hr />
<p><strong>❤️ Subscribe to Oxmond Tutorials. New tutorials every day! Stay tuned!</strong><br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p><strong>✅ Download the free Sunny Land asset here:</strong><br />
<a href="https://assetstore.unity.com/packages/2d/characters/sunny-land-103349?aid=1100l4p9k">https://assetstore.unity.com/packages/2d/characters/sunny-land-103349?aid=1100l4p9k</a></p>
<p><strong>✅ Other free assets from the Unity Assets Store:</strong><br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-modify-the-pivot-point/">How To Modify The Pivot Point!</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-modify-the-pivot-point/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Create a Perfect Bouncing Ball</title>
		<link>https://oxmond.com/how-to-create-a-perfect-bouncing-ball/</link>
					<comments>https://oxmond.com/how-to-create-a-perfect-bouncing-ball/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Thu, 22 Aug 2019 16:25:45 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[ball]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[bouncing]]></category>
		<category><![CDATA[bouncy]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[collision]]></category>
		<category><![CDATA[constant]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[demo]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[essentials]]></category>
		<category><![CDATA[falling]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game development]]></category>
		<category><![CDATA[Hans Oxmond]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[How To Create a Perfect Bouncing Ball]]></category>
		<category><![CDATA[jump]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[movement]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[Oxmond Unity Tutorials]]></category>
		<category><![CDATA[perfect bounce]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[rigidbody]]></category>
		<category><![CDATA[rigidbody 2D]]></category>
		<category><![CDATA[rubber ball]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Unity3d]]></category>
		<category><![CDATA[video games]]></category>
		<category><![CDATA[wall]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=532</guid>

					<description><![CDATA[<p>In this Unity tutorial we create a bouncing ball that keeps a constant jumping height. ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game! https://bit.ly/SubscribeOxmondTutorials ✅ Download the free background used in the tutorial here: https://assetstore.unity.com/packages/2d/environments/free-2d-adventure-beach-background-82090?aid=1100l4p9k ✅ Other Free Assets from the Unity Assets...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-create-a-perfect-bouncing-ball/">How To Create a Perfect Bouncing Ball</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this Unity tutorial we create a bouncing ball that keeps a constant jumping height.</p>
<hr />
<p>❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game!<br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></p>
<p>✅ Download the free background used in the tutorial here:<br />
<a href="https://assetstore.unity.com/packages/2d/environments/free-2d-adventure-beach-background-82090?aid=1100l4p9k">https://assetstore.unity.com/packages/2d/environments/free-2d-adventure-beach-background-82090?aid=1100l4p9k</a></p>
<p>✅ Other Free Assets from the Unity Assets Store:<br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:<br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-create-a-perfect-bouncing-ball/">How To Create a Perfect Bouncing Ball</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-create-a-perfect-bouncing-ball/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Animations Basics! How to Rotate Objects</title>
		<link>https://oxmond.com/animations-basics-how-to-rotate-objects/</link>
					<comments>https://oxmond.com/animations-basics-how-to-rotate-objects/#comments</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Fri, 14 Dec 2018 12:41:20 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coin]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dotween]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[itween]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[rotate]]></category>
		<category><![CDATA[rotation]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[tween]]></category>
		<category><![CDATA[tweens]]></category>
		<category><![CDATA[Unity3d]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=404</guid>

					<description><![CDATA[<p>Animation Tutorial for beginners. How to rotate objects in Unity. Using the Update() method, Unity Animation tools or a Tween tool like iTween or DOTween (HOTween v2) ❤️ Subscribe to Oxmond Tutorials: https://bit.ly/SubscribeOxmondTutorials ✅ Download the free iTween tool here: https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k ✅ iTween documentation: http://www.pixelplacement.com/itween/documentation.php...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/animations-basics-how-to-rotate-objects/">Animations Basics! How to Rotate Objects</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span style="font-weight: 400;">Animation Tutorial for beginners. How to rotate objects in Unity. Using the Update() method, Unity Animation tools or a Tween tool like iTween or DOTween </span><span style="font-weight: 400;">(HOTween v2)</span></p>
<hr />
<p><span style="font-weight: 400;"><strong>❤️ Subscribe to Oxmond</strong> Tutorials:<br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></span></p>
<p><strong>✅ Download the free iTween tool here:</strong><br />
<a href="https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k"><span style="font-weight: 400;">https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k</span></a></p>
<p><strong>✅ iTween documentation:<br />
</strong><a href="http://www.pixelplacement.com/itween/documentation.php">http://www.pixelplacement.com/itween/documentation.php</a></p>
<p><span style="font-weight: 400;"><strong>✅ Other free Asset Packages at the Unity Assets Store:<br />
</strong></span><a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<hr />
<p><strong>Rotate script:</strong></p>
<pre>/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Rotate : MonoBehaviour {

	void Update () {
        transform.Rotate(new Vector3(0f, 0f, 100f) * Time.deltaTime);
	}
}
</pre>
<p><strong>Set rotation:</strong></p>
<pre>
transform.eulerAngles = new Vector3(0, 100f, 0);
</pre>
<p><strong>Rotate iTween script:</strong></p>
<pre>/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RotateTween : MonoBehaviour {

    public iTween.EaseType easeType;
    public iTween.LoopType loopType;
	
	void Start () {
        iTween.RotateTo(this.gameObject, iTween.Hash("z", 180, "time", 1.5f, "easetype", easeType, "looptype", loopType));
	}
}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/animations-basics-how-to-rotate-objects/">Animations Basics! How to Rotate Objects</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/animations-basics-how-to-rotate-objects/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Tank Game Basics! How to build, animate and control a tank</title>
		<link>https://oxmond.com/tank-game-basics-how-to-build-animate-and-control-a-tank/</link>
					<comments>https://oxmond.com/tank-game-basics-how-to-build-animate-and-control-a-tank/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 05:46:32 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[2D]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Animator]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[tank]]></category>
		<category><![CDATA[tanks]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Unity3d]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=352</guid>

					<description><![CDATA[<p>Create a small tank game. Learn how to build, animate and control 2D tanks using free assets. Full C# script included. ❤️ Subscribe to Oxmond Tutorials: https://bit.ly/SubscribeOxmondTutorials ✅ Download the free Tank Constructor tool here: https://assetstore.unity.com/packages/2d/textures-materials/tank-constructor-131316?aid=1100l4p9k ✅ Other free Asset Packages at the Unity Assets...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/tank-game-basics-how-to-build-animate-and-control-a-tank/">Tank Game Basics! How to build, animate and control a tank</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Create a small tank game. Learn how to build, animate and control 2D tanks using free assets. Full C# script included.</p>
<hr />
<p><span style="font-weight: 400;"><strong>❤️ Subscribe to Oxmond Tutorials:<br />
</strong><a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></span></p>
<p>✅ Download the free Tank Constructor tool here:<br />
<a href="https://assetstore.unity.com/packages/2d/textures-materials/tank-constructor-131316?aid=1100l4p9k">https://assetstore.unity.com/packages/2d/textures-materials/tank-constructor-131316?aid=1100l4p9k</a></p>
<p><span style="font-weight: 400;"><strong>✅ Other free Asset Packages at the Unity Assets Store:</strong><br />
</span><a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k"><span style="font-weight: 400;">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k </span></a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<hr />
<p><strong>Tank script:</strong></p>
<pre>/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using UnityEngine;

public class Tank : MonoBehaviour
{

    /////*******************************************/////
    /////                   VARS                    /////  
    /////*******************************************/////

    public Track trackLeft;
    public Track trackRight;

    public string keyMoveForward;
    public string keyMoveReverse;
    public string keyRotateRight;
    public string keyRotateLeft;

    bool moveForward = false;
    bool moveReverse = false;
    float moveSpeed = 0f;
    float moveSpeedReverse = 0f;
    float moveAcceleration = 0.1f;
    float moveDeceleration = 0.20f;
    float moveSpeedMax = 2.5f;

    bool rotateRight = false;
    bool rotateLeft = false;
    float rotateSpeedRight = 0f;
    float rotateSpeedLeft = 0f;
    float rotateAcceleration = 4f;
    float rotateDeceleration = 10f;
    float rotateSpeedMax = 130f;


    /////*******************************************/////
    /////                 UPDATE                    /////  
    /////*******************************************/////

    void Update()
    {

        rotateLeft = (Input.GetKeyDown(keyRotateLeft)) ? true : rotateLeft;
        rotateLeft = (Input.GetKeyUp(keyRotateLeft)) ? false : rotateLeft;
        if (rotateLeft)
        {
            rotateSpeedLeft = (rotateSpeedLeft &lt; rotateSpeedMax) ? rotateSpeedLeft + rotateAcceleration : rotateSpeedMax; } else { rotateSpeedLeft = (rotateSpeedLeft &gt; 0) ? rotateSpeedLeft - rotateDeceleration : 0;
        }
        transform.Rotate(0f, 0f, rotateSpeedLeft * Time.deltaTime);

        rotateRight = (Input.GetKeyDown(keyRotateRight)) ? true : rotateRight;
        rotateRight = (Input.GetKeyUp(keyRotateRight)) ? false : rotateRight;
        if (rotateRight)
        {
            rotateSpeedRight = (rotateSpeedRight &lt; rotateSpeedMax) ? rotateSpeedRight + rotateAcceleration : rotateSpeedMax; } else { rotateSpeedRight = (rotateSpeedRight &gt; 0) ? rotateSpeedRight - rotateDeceleration : 0;
        }
        transform.Rotate(0f, 0f, rotateSpeedRight * Time.deltaTime * -1f);

        moveForward = (Input.GetKeyDown(keyMoveForward)) ? true : moveForward;
        moveForward = (Input.GetKeyUp(keyMoveForward)) ? false : moveForward;
        if (moveForward)
        {
            moveSpeed = (moveSpeed &lt; moveSpeedMax) ? moveSpeed + moveAcceleration : moveSpeedMax; } else { moveSpeed = (moveSpeed &gt; 0) ? moveSpeed - moveDeceleration : 0;
        }
        transform.Translate(0f, moveSpeed * Time.deltaTime, 0f);

        moveReverse = (Input.GetKeyDown(keyMoveReverse)) ? true : moveReverse;
        moveReverse = (Input.GetKeyUp(keyMoveReverse)) ? false : moveReverse;
        if (moveReverse)
        {
            moveSpeedReverse = (moveSpeedReverse &lt; moveSpeedMax) ? moveSpeedReverse + moveAcceleration : moveSpeedMax; } else { moveSpeedReverse = (moveSpeedReverse &gt; 0) ? moveSpeedReverse - moveDeceleration : 0;
        }
        transform.Translate(0f, moveSpeedReverse * Time.deltaTime * -1f, 0f);

        if (moveForward | moveReverse | rotateRight | rotateLeft)
        {
            trackStart();
        }
        else
        {
            trackStop();
        }

    }

    /////*******************************************/////
    /////                METHODS                    /////  
    /////*******************************************/////

    void trackStart()
    {
        trackLeft.animator.SetBool("isMoving", true);
        trackRight.animator.SetBool("isMoving", true);
    }

    void trackStop()
    {
        trackLeft.animator.SetBool("isMoving", false);
        trackRight.animator.SetBool("isMoving", false);
    }

}


</pre>
<p><strong>Tracks script:</strong></p>
<pre>/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Track : MonoBehaviour {

    public Animator animator;

}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/tank-game-basics-how-to-build-animate-and-control-a-tank/">Tank Game Basics! How to build, animate and control a tank</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/tank-game-basics-how-to-build-animate-and-control-a-tank/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Create easy and cool animations using classic tweener techniques</title>
		<link>https://oxmond.com/create-easy-and-cool-animations-using-classic-tweener-techniques/</link>
					<comments>https://oxmond.com/create-easy-and-cool-animations-using-classic-tweener-techniques/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Thu, 29 Nov 2018 07:05:02 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[animate]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[animations]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making]]></category>
		<category><![CDATA[itween]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[script animation]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[tweener]]></category>
		<category><![CDATA[tweens]]></category>
		<category><![CDATA[Unity3d]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=330</guid>

					<description><![CDATA[<p>Create fast and beautiful animations using the free iTween tool. ❤️ Subscribe to Oxmond Tutorials: https://bit.ly/SubscribeOxmondTutorials ✅ Download the free iTween tool here: https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k ✅ iTween documentation: http://www.pixelplacement.com/itween/documentation.php ✅ Other free Asset Packages at the Unity Assets Store: https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k 😷👕 Need a face mask /...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/create-easy-and-cool-animations-using-classic-tweener-techniques/">Create easy and cool animations using classic tweener techniques</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Create fast and beautiful animations using the free iTween tool.</p>
<hr />
<p><strong><span style="font-weight: 400;">❤️ <strong>Subscribe to Oxmond Tutorials:</strong><br />
<a href="https://bit.ly/SubscribeOxmondTutorials">https://bit.ly/SubscribeOxmondTutorials</a></span></strong></p>
<p>✅ Download the free iTween tool here:<br />
<a href="https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k">https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k</a></p>
<p><strong>✅ iTween documentation:</strong><br />
<a href="http://www.pixelplacement.com/itween/documentation.php">http://www.pixelplacement.com/itween/documentation.php</a></p>
<p><strong>✅ Other free Asset Packages at the Unity Assets Store:</strong><br />
<a href="https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k">https://assetstore.unity.com/lists/top-free-packages-13201?aid=1100l4p9k</a></p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<hr />
<p><strong>Cube script:</strong></p>
<pre>/*   .-------.                             .--.    .-------.     .--.            .--.     .--.        
     |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
     |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
     |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
     Author: Oxmond Tutorials / www.oxmond.com  */


using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Cube : MonoBehaviour {

    public float animationTime = 1.0f;
    public iTween.EaseType easetype;

    private bool jumpReady = true;

	void Update () {
        if (Input.GetKeyDown(KeyCode.Space) &amp;&amp; jumpReady == true) CubeJump();	
	}

    void CubeJump() {
        jumpReady = false;
        iTween.MoveTo(this.gameObject, iTween.Hash("y", 3.5, "time", 0.4, "easetype", "easeOutSine"));		
        iTween.MoveTo(this.gameObject, iTween.Hash("y", 0, "time", 0.4, "easetype", "easeInSine", "delay", 0.4));		
        iTween.RotateTo(this.gameObject, iTween.Hash("z", transform.rotation.eulerAngles.z - 90, "time", 0.8, "easetype", "easeOutQuint", "oncomplete", "SetJumpReady"));		
    }

    void SetJumpReady() {
        jumpReady = true;
    }
}</pre>
<hr />
<p><strong>Obstacle script:</strong></p>
<pre>/*   .-------.                             .--.    .-------.     .--.            .--.     .--.        
     |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
     |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
     |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
     Author: Oxmond Tutorials / www.oxmond.com  */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Obstacle : MonoBehaviour {

void Start () {
        iTween.MoveTo(this.gameObject, iTween.Hash("x", -6.5, "time", 1.4, "easetype", "linear", "looptype", "pingpong"));
    }
}

</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/create-easy-and-cool-animations-using-classic-tweener-techniques/">Create easy and cool animations using classic tweener techniques</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/create-easy-and-cool-animations-using-classic-tweener-techniques/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to control an animated 2D helicopter sprite with the mouse</title>
		<link>https://oxmond.com/how-to-control-an-animated-2d-helicopter-sprite-with-the-mouse-unity-c-tutorial-for-beginners/</link>
					<comments>https://oxmond.com/how-to-control-an-animated-2d-helicopter-sprite-with-the-mouse-unity-c-tutorial-for-beginners/#respond</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Tue, 20 Nov 2018 00:04:34 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[coding pirates]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making 2D]]></category>
		<category><![CDATA[helicopter]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[tutorials]]></category>
		<guid isPermaLink="false">https://demo.oxmond.com/?p=224</guid>

					<description><![CDATA[<p>Unity beginner tutorial. Learn how to animate and control a 2D sprite using only mouse input. ❤️ Subscribe to Oxmond Tutorials. Stay ahead of the game: https://bit.ly/SubscribeOxmondTutorials ✅ Download free helicopter animation sprites here: http://paulmakegames.blogspot.com/2017/04/attack-helicopter-animated-sprite.html (by Paul Chin) ✅ Download Unity here: https://unity3d.com/get-unity/download 🎵 Music...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-control-an-animated-2d-helicopter-sprite-with-the-mouse-unity-c-tutorial-for-beginners/">How to control an animated 2D helicopter sprite with the mouse</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Unity beginner tutorial. Learn how to animate and control a 2D sprite using only mouse input.</p>
<hr />
<p><span style="font-weight: 400;">❤️ <strong>Subscribe to Oxmond Tutorials. Stay ahead of the game:</strong></span><span style="font-weight: 400;"><br />
</span><a href="https://bit.ly/SubscribeOxmondTutorials"><span style="font-weight: 400;">https://bit.ly/SubscribeOxmondTutorials</span></a></p>
<p>✅ <strong>Download free helicopter animation sprites here:</strong><br />
<a href="http://paulmakegames.blogspot.com/2017/04/attack-helicopter-animated-sprite.html">http://paulmakegames.blogspot.com/2017/04/attack-helicopter-animated-sprite.html</a> (by Paul Chin)</p>
<p>✅ <strong>Download Unity here:</strong><br />
<a class="yt-simple-endpoint style-scope yt-formatted-string" spellcheck="false" href="https://unity3d.com/get-unity/download" rel="nofollow">https://unity3d.com/get-unity/download</a></p>
<p>🎵 <strong>Music by:</strong><br />
Max McFerren</p>
<p>😷👕 <strong>Need a face mask / developer T-shirt? Drop by our shop and get a 20% DISCOUNT on your first purchase by using the discount code OXMONDSALE. Click here:</strong><br />
<a href="https://shop.oxmond.com/discount/OXMONDSALE">https://shop.oxmond.com/discount/OXMONDSALE</a></p>
<hr />
<p><strong>Helicopter script:</strong></p>
<pre>/* .-------.                             .--.    .-------.     .--.            .--.     .--.        
   |       |--.--.--------.-----.-----.--|  |    |_     _|--.--|  |_.-----.----|__|---.-|  |-----.
   |   -   |_   _|        |  _  |     |  _  |      |   | |  |  |   _|  _  |   _|  |  _  |  |__ --|
   |_______|__.__|__|__|__|_____|__|__|_____|      |___| |_____|____|_____|__| |__|___._|__|_____|
   © OXMOND / www.oxmond.com */

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Helicopter : MonoBehaviour {

	void Update () {

        if (Input.GetMouseButton(0))
        {
            transform.Translate(0f, 0.1f, 0f);
        }
        else {
            transform.Translate(0f, -0.1f, 0f);
        }
		
	}
}
</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/how-to-control-an-animated-2d-helicopter-sprite-with-the-mouse-unity-c-tutorial-for-beginners/">How to control an animated 2D helicopter sprite with the mouse</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/how-to-control-an-animated-2d-helicopter-sprite-with-the-mouse-unity-c-tutorial-for-beginners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
