Add JUICE to Your Game with Springs
Published: 04 Aug 2022
Full Tutorial: https://youtu.be/6mR7NSsi91Y
Something a lot of young indies skip over is the "juice factor" of their game. Simple, bland transitions and movement leaves the game feeling boring. This week you can not only learn about Springs and how to use them, but also get a framework to use them in your game today!
Springs allow us to move, rotate, and scale objects in a, well, springy way that just ends up feeling a lot more satisfying than the simple Vector3.Lerp or Quaternion.Slerp you may be using today. They also achieve this without any animation keyframes or Animation Curve definitions so they're really fast to implement!
They're not just limited to scaling, translating, or rotating objects either. You can use this on any arbitrary value. Why not fade an object in using a springy alpha? Need to transition a color? Maybe that might feel better if it were springy!
Not all objects always need to be springy, but probably you'll find something in your game that just feels better if it had a little more juice!
As always, all code from this video is available on GitHub: https://github.com/llamacademy/juicy-springs
📱 Let's stay connected
YouTube: https://youtube.com/c/LlamAcademy
Patreon: https://www.patreon.com/llamacademy
Facebook: https://facebook.com/LlamAcademyOfficial
Twitter: https://twitter.com/TheLlamAcademy
TikTok: https://tiktok.com/@LlamAcademy
Instagram: https://instagram.com/LlamAcademy
----
Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: https://www.patreon.com/llamacademy
----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets (affiliate link): https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC