<?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>tweener Archives - Oxmond Technology</title>
	<atom:link href="https://oxmond.com/tag/tweener/feed/" rel="self" type="application/rss+xml" />
	<link>https://oxmond.com</link>
	<description>IT Development</description>
	<lastBuildDate>Wed, 18 Nov 2020 05:00:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.0</generator>
	<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>Create a Real Time Analog Wall Clock using C#</title>
		<link>https://oxmond.com/create-a-real-time-analog-wall-clock-using-c-unity-2018-intermediate-tutorial/</link>
					<comments>https://oxmond.com/create-a-real-time-analog-wall-clock-using-c-unity-2018-intermediate-tutorial/#comments</comments>
		
		<dc:creator><![CDATA[Oxmond Technology]]></dc:creator>
		<pubDate>Tue, 27 Nov 2018 05:46:46 +0000</pubDate>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[2018]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Clock]]></category>
		<category><![CDATA[clock face]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[game making]]></category>
		<category><![CDATA[hour hand]]></category>
		<category><![CDATA[itween]]></category>
		<category><![CDATA[lesson]]></category>
		<category><![CDATA[minute hand]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[second hand]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[tweener]]></category>
		<category><![CDATA[Unity3d]]></category>
		<guid isPermaLink="false">https://oxmond.com/?p=316</guid>

					<description><![CDATA[<p>Script an analog real time wall clock with C#. Rotate and animate the hands using the awesome iTween tool. ❤️ Subscribe to Oxmond Tutorials: https://bit.ly/SubscribeOxmondTutorials ✅ Download free Analog Wall Clock assets here: https://www.freepik.com/free-vector/designer-wall-clock-in-a-metal-casing_1310847.htm Designed by Iconicbestiary ✅ Download the free iTween tool here: https://assetstore.unity.com/packages/tools/animation/itween-84?aid=1100l4p9k...</p>
<p>The post <a rel="nofollow" href="https://oxmond.com/create-a-real-time-analog-wall-clock-using-c-unity-2018-intermediate-tutorial/">Create a Real Time Analog Wall Clock using C#</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Script an analog real time wall clock with C#. Rotate and animate the hands using the awesome 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 free Analog Wall Clock assets here:<br />
<a href="https://www.freepik.com/free-vector/designer-wall-clock-in-a-metal-casing_1310847.htm">https://www.freepik.com/free-vector/designer-wall-clock-in-a-metal-casing_1310847.htm</a><br />
Designed by Iconicbestiary</p>
<p><strong>✅ Download the free iTween tool here:</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>✅ 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>😷👕 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>
<hr />
<p><strong>Clock script:</strong></p>
<pre>using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Clock : MonoBehaviour {

    public GameObject secondHand;
    public GameObject minuteHand;
    public GameObject hourHand;
    string oldSeconds;

	void Update () {

        string seconds = System.DateTime.UtcNow.ToString("ss");
        

        if (seconds != oldSeconds) {
            UpdateTimer();
        }
        oldSeconds = seconds;
	}

    void UpdateTimer() {

        int secondsInt = int.Parse(System.DateTime.UtcNow.ToString("ss"));
        int minutesInt = int.Parse(System.DateTime.UtcNow.ToString("mm"));
        int hoursInt = int.Parse(System.DateTime.UtcNow.ToLocalTime().ToString("hh"));
        print(hoursInt + " : " + minutesInt +  " : " + secondsInt);

        iTween.RotateTo(secondHand, iTween.Hash("z", secondsInt * 6 * -1, "time", 1, "easetype", "easeOutQuint"));
        iTween.RotateTo(minuteHand, iTween.Hash("z", minutesInt * 6 * -1, "time", 1, "easetype", "easeOutElastic"));
        float hourDistance = (float)(minutesInt) / 60f;
        iTween.RotateTo(hourHand, iTween.Hash("z", (hoursInt + hourDistance) * 360 / 12 * -1, "time", 1, "easetype", "easeOutQuint"));

    }
}
</pre>
<p>The post <a rel="nofollow" href="https://oxmond.com/create-a-real-time-analog-wall-clock-using-c-unity-2018-intermediate-tutorial/">Create a Real Time Analog Wall Clock using C#</a> appeared first on <a rel="nofollow" href="https://oxmond.com">Oxmond Technology</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://oxmond.com/create-a-real-time-analog-wall-clock-using-c-unity-2018-intermediate-tutorial/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
