File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- ## [ unreleased ]
3+ ## [ 0.11.0 ] - 2023-07-18
44
55### Changed
66- Updated ` bevy ` to 0.11.
77- Updated ` pixels ` to 0.12.
88- Replaced ` PixelsSet ` with custom ` Draw ` and ` Render ` schedules defined in
9- ` bevy_pixels::schedule ` .
9+ ` bevy_pixels::schedule ` and re-exported in ` bevy_pixels::prelude ` .
1010
1111## [ 0.10.0] - 2023-05-01
1212
118118
119119Initial release.
120120
121- [ unreleased ] : https://github.com/dtcristo/bevy_pixels/compare/v0.10.0...HEAD
121+ [ unreleased ] : https://github.com/dtcristo/bevy_pixels/compare/v0.11.0...HEAD
122+ [ 0.11.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.11.0
122123[ 0.10.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.10.0
123124[ 0.9.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.9.0
124125[ 0.8.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.8.0
Original file line number Diff line number Diff line change 11[package ]
22name = " bevy_pixels"
33description = " Bevy plugin that uses Pixels (a tiny pixel buffer) for rendering"
4- version = " 0.10 .0"
4+ version = " 0.11 .0"
55authors = [" David Cristofaro <david@dtcristo.com>" ]
66edition = " 2021"
77license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ Add `bevy` and `bevy_pixels` to `Cargo.toml`. Be sure to disable `bevy`'s `rende
2929
3030``` toml
3131[dependencies ]
32- bevy = { version = " 0.10 " , default_features = false }
33- bevy_pixels = " 0.10 "
32+ bevy = { version = " 0.11 " , default_features = false }
33+ bevy_pixels = " 0.11 "
3434```
3535
3636Add ` PixelsPlugin ` to your Bevy project.
@@ -41,11 +41,10 @@ use bevy_pixels::prelude::*;
4141
4242fn main () {
4343 App :: new ()
44- . add_plugins (DefaultPlugins )
45- . add_plugin (PixelsPlugin :: default ())
46- // Add systems that draw to the buffer in `PixelsSet::Draw` set (or before)
44+ . add_plugins ((DefaultPlugins , PixelsPlugin :: default ()))
45+ // Add systems that draw to the buffer to `Draw` schedule
4746 // to ensure they are rendered in the current frame.
48- . add_system ( draw . in_set ( PixelsSet :: Draw ) )
47+ . add_systems ( Draw , draw )
4948 . run ();
5049}
5150```
@@ -69,14 +68,15 @@ fn draw(mut wrapper_query: Query<&mut PixelsWrapper>) {
6968
7069| bevy_pixels | bevy | pixels |
7170| ----------- | ----- | ------ |
72- | 0.1 | 0.5 | 0.3 |
73- | 0.2 | 0.5 | 0.8 |
74- | 0.3-0.4 | 0.6 | 0.9 |
75- | 0.5 | 0.7 | 0.9 |
76- | 0.6 | 0.8 | 0.10 |
77- | 0.7 | 0.9 | 0.10 |
78- | 0.8 | 0.9 | 0.11 |
71+ | 0.11 | 0.11 | 0.13 |
7972| 0.9-0.10 | 0.10 | 0.12 |
73+ | 0.8 | 0.9 | 0.11 |
74+ | 0.7 | 0.9 | 0.10 |
75+ | 0.6 | 0.8 | 0.10 |
76+ | 0.5 | 0.7 | 0.9 |
77+ | 0.3-0.4 | 0.6 | 0.9 |
78+ | 0.2 | 0.5 | 0.8 |
79+ | 0.1 | 0.5 | 0.3 |
8080
8181## Examples
8282
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ fn main() {
55 App :: new ( )
66 . add_plugins ( ( DefaultPlugins , PixelsPlugin :: default ( ) ) )
77 . add_systems ( Update , bevy:: window:: close_on_esc)
8- // Add systems that draw to the buffer in `Draw` schedule
8+ // Add systems that draw to the buffer to `Draw` schedule
99 // to ensure they are rendered in the current frame.
1010 . add_systems ( Draw , draw)
1111 . run ( ) ;
You can’t perform that action at this time.
0 commit comments