File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## [ unreleased ]
3
+ ## [ 0.11.0 ] - 2023-07-18
4
4
5
5
### Changed
6
6
- Updated ` bevy ` to 0.11.
7
7
- Updated ` pixels ` to 0.12.
8
8
- 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 ` .
10
10
11
11
## [ 0.10.0] - 2023-05-01
12
12
118
118
119
119
Initial release.
120
120
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
122
123
[ 0.10.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.10.0
123
124
[ 0.9.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.9.0
124
125
[ 0.8.0 ] : https://github.com/dtcristo/bevy_pixels/releases/tag/v0.8.0
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " bevy_pixels"
3
3
description = " Bevy plugin that uses Pixels (a tiny pixel buffer) for rendering"
4
- version = " 0.10 .0"
4
+ version = " 0.11 .0"
5
5
authors = [
" David Cristofaro <[email protected] >" ]
6
6
edition = " 2021"
7
7
license = " 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
29
29
30
30
``` toml
31
31
[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 "
34
34
```
35
35
36
36
Add ` PixelsPlugin ` to your Bevy project.
@@ -41,11 +41,10 @@ use bevy_pixels::prelude::*;
41
41
42
42
fn main () {
43
43
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
47
46
// to ensure they are rendered in the current frame.
48
- . add_system ( draw . in_set ( PixelsSet :: Draw ) )
47
+ . add_systems ( Draw , draw )
49
48
. run ();
50
49
}
51
50
```
@@ -69,14 +68,15 @@ fn draw(mut wrapper_query: Query<&mut PixelsWrapper>) {
69
68
70
69
| bevy_pixels | bevy | pixels |
71
70
| ----------- | ----- | ------ |
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 |
79
72
| 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 |
80
80
81
81
## Examples
82
82
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ fn main() {
5
5
App :: new ( )
6
6
. add_plugins ( ( DefaultPlugins , PixelsPlugin :: default ( ) ) )
7
7
. 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
9
9
// to ensure they are rendered in the current frame.
10
10
. add_systems ( Draw , draw)
11
11
. run ( ) ;
You can’t perform that action at this time.
0 commit comments