bevy_parallaxation2d
Crate providing simple 2D parallax layers in Bevy.
Features
ParallaxPlugin- Plugin required for the parallax functionality.ParallaxCamera- Component for marking the parallax camera. Only one camera can use parallax layers.ParallaxLayer- Component for creating a parallax layer.ParallaxFlags- Bit flags for defining attributes of a parallax layer.
Examples
This is a simple example of how to use the crate.
use *;
// Import `bevy_parallaxation2d`
use *;
This crate features an example you can run with
cargo run --example mountains
Compatibility
| bevy | bevy_parallaxation2d |
|---|---|
| 0.13 | 0.1 |