bevy_tweening

v0.15.0

Tweening animation plugin for the Bevy game engine

Profile

What problem does this crate solve?

Tweening is the gamedev's favorite. This means gradually changing values either linearly or following some sort of curve. Consequently, this is the best way to make anything transition smoothly while avoiding to think about complex math. Think bouncing, rotating, growing of an enemy, ... This crate is the epitome of that: It allows tweening any value in any field on any component!

Features

  • Tween any field
  • Easing curves
  • Fire an event on finishing the tween
  • Repeating
  • Queuing

Showcase

Plenty of nice examples are given in the example gifs, showing scale, rotation, speed, and more tweens.

Get started

Clone the repo and run this example

cargo run --example sequence --features="bevy/bevy_winit"

Many effects are combined here, so you can nicely see in the code how they all work

Screenshots

Reviews

No reviews yet. Be the first to review this crate!

Downloads 160977
Cages 1
Rating Unrated
License MIT OR Apache-2.0
Added by ffmulks
Owner
djeedai