bevy_tween

v0.12.0

Flexible tweening plugin library for Bevy

Profile

What problem does this crate solve?

Advertised as a procedural and keyframe animation library but it provides methods to tween almost anything.

Features

  • Interpolation of bevy_asset, bevy_render, bevy_sprite, bevy_ui
  • Provides API to tween any value
  • Geared towards keyframe-style animating

Showcase

The API is straightforward. Here is an example:

let sprite_id = commands.spawn(Sprite { ... }).id();
let sprite = sprite_id.into_target();
commands.animation()
    .insert(tween(
        Duration::from_secs(1),
        EaseKind::Linear,
        sprite.with(translation(pos0, pos1))
    ));

Reviews

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

Downloads 37473
Cages 0
Rating Unrated
License MIT OR Apache-2.0
Added by ffmulks
Owner
Multirious