{"repo":"djeedai/bevy_tweening","free":true,"listed":false,"github":"https://github.com/djeedai/bevy_tweening","clone":"git clone https://github.com/djeedai/bevy_tweening.git","description":"Tweening animation plugin for the Bevy game engine.","language":"Rust","stars":565,"topics":["rust","animation","bevy","bevy-plugin","tween","tweening","tweening-library"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"🍃 Bevy Tweening Tweening animation plugin for the Bevy game engine. Features - [x] Animate any field of any component or asset, including custom ones. - [x] Run multiple tweens (animations) per component/asset in parallel. - [x] Chain multiple tweens (animations) one after the other for complex animations. - [x] Raise a Bevy event or invoke a one-shot system when an animation completed. Usage Dependency Add to Cargo.toml : This crate supports the following features: Feature Default Description --- --- --- bevy sprite Yes Includes built-in lenses for some Sprite -related components. bevy ui Yes Includes built-in lenses for some UI-related components. bevy text Yes Includes built-in lenses for some Text -related components. System setup Add the TweeningPlugin to your app: This provides enough setup for using 🍃 Bevy Tweening and animating any Bevy built-in or custom component or asset. Animations update as part of the Update schedule of Bevy. Animate a component Animate the transform position of an entity by creating a Tween animation for the transform, and enqueuing the animation with the tween() command extension: This example shows the general pattern to add animations for any component or asset. Since moving the position of an object is a very common task, 🍃 Bevy Tweening provides a shortcut for it. The above example can be rewritten more concicely as: Chaining animations Bevy Tweening supports several types of tweenables , building blocks that can be combined to form com","default_branch":null,"files":null,"tree":[],"storefront":"/r/djeedai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/djeedai/bevy_tweening/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}