Skip to content

Transform your simple, bland transitions and movement into juicy springy movement!

License

Notifications You must be signed in to change notification settings

llamacademy/juicy-springs

Repository files navigation

Juicy Springs

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. In this tutorial repository and accompanying video you'll learn about Springs how to use them, and 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!

Youtube Tutorial

📚 References

👉 Toyful Games Video (inspiration): https://youtu.be/bFOAipGJGA0

👉 Thaminn Unity Spring (foundation): https://github.com/thammin/unity-spring

👉 Springs In Depth (foundation): https://www.ryanjuckett.com/damped-springs/

👉 Simple Harmonic Motion on Wikipedia (foundation): https://en.wikipedia.org/wiki/Simple_harmonic_motion

Patreon Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.

Phenomenal Supporter Tier

  • Andrew Bowen
  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Gerald Anderson
  • AudemKay
  • Matt Parkin
  • Ivan
  • YOUR NAME HERE!

Supporters

  • Bastian
  • Trey Briggs
  • YOUR NAME HERE!

Other Projects

Interested in other AI Topics in Unity, or other tutorials on Unity in general?

Socials

Requirements

  • Requires Unity 2020.3 LTS or higher.