In the previous framework I played with, I used tweens all the time to:
- Rotate a sprite by x amout in 2 seconds
- Grow a sprite by 2x in 0.5 seconds, then scale it back down
- Decrease the volume of the music to 0 in 10 seconds
- Move an object around the screen
- Etc.
How can I do this type of things in Unity2D? Do I have to use some plugins from the asset store? If so, which one do you recommend?
Thanks!
The most popular tweening engine is iTween. It is available for free from the Asset store. There are several add-on for iTween available both in the Asset Store and on the iTween web site. There are also a number of other tweening packages as well. Note that even doing 2D apps, Unity is a 3D engine. iTween is a 3D package. The only thing I can think of that might cause you issues with using iTween is if you use ‘orientopath’ when path following. One of the big differences between 3D apps and 2D apps is that front for 3D is the positive ‘z’ side. For 2D the front is usually on the right, though sometimes it is the top.