Skip to content

Commit

Permalink
Release 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtcristo committed Jul 18, 2023
1 parent 8348a6a commit ecbc544
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Changelog

## [unreleased]
## [0.11.0] - 2023-07-18

### Changed
- Updated `bevy` to 0.11.
- Updated `pixels` to 0.12.
- Replaced `PixelsSet` with custom `Draw` and `Render` schedules defined in
`bevy_pixels::schedule`.
`bevy_pixels::schedule` and re-exported in `bevy_pixels::prelude`.

## [0.10.0] - 2023-05-01

Expand Down Expand Up @@ -118,7 +118,8 @@

Initial release.

[unreleased]: https://github.com/dtcristo/bevy_pixels/compare/v0.10.0...HEAD
[unreleased]: https://github.com/dtcristo/bevy_pixels/compare/v0.11.0...HEAD
[0.11.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.11.0
[0.10.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.10.0
[0.9.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.9.0
[0.8.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.8.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bevy_pixels"
description = "Bevy plugin that uses Pixels (a tiny pixel buffer) for rendering"
version = "0.10.0"
version = "0.11.0"
authors = ["David Cristofaro <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Add `bevy` and `bevy_pixels` to `Cargo.toml`. Be sure to disable `bevy`'s `rende

```toml
[dependencies]
bevy = { version = "0.10", default_features = false }
bevy_pixels = "0.10"
bevy = { version = "0.11", default_features = false }
bevy_pixels = "0.11"
```

Add `PixelsPlugin` to your Bevy project.
Expand All @@ -41,11 +41,10 @@ use bevy_pixels::prelude::*;

fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(PixelsPlugin::default())
// Add systems that draw to the buffer in `PixelsSet::Draw` set (or before)
.add_plugins((DefaultPlugins, PixelsPlugin::default()))
// Add systems that draw to the buffer to `Draw` schedule
// to ensure they are rendered in the current frame.
.add_system(draw.in_set(PixelsSet::Draw))
.add_systems(Draw, draw)
.run();
}
```
Expand All @@ -69,14 +68,15 @@ fn draw(mut wrapper_query: Query<&mut PixelsWrapper>) {

| bevy_pixels | bevy | pixels |
| ----------- | ----- | ------ |
| 0.1 | 0.5 | 0.3 |
| 0.2 | 0.5 | 0.8 |
| 0.3-0.4 | 0.6 | 0.9 |
| 0.5 | 0.7 | 0.9 |
| 0.6 | 0.8 | 0.10 |
| 0.7 | 0.9 | 0.10 |
| 0.8 | 0.9 | 0.11 |
| 0.11 | 0.11 | 0.13 |
| 0.9-0.10 | 0.10 | 0.12 |
| 0.8 | 0.9 | 0.11 |
| 0.7 | 0.9 | 0.10 |
| 0.6 | 0.8 | 0.10 |
| 0.5 | 0.7 | 0.9 |
| 0.3-0.4 | 0.6 | 0.9 |
| 0.2 | 0.5 | 0.8 |
| 0.1 | 0.5 | 0.3 |

## Examples

Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fn main() {
App::new()
.add_plugins((DefaultPlugins, PixelsPlugin::default()))
.add_systems(Update, bevy::window::close_on_esc)
// Add systems that draw to the buffer in `Draw` schedule
// Add systems that draw to the buffer to `Draw` schedule
// to ensure they are rendered in the current frame.
.add_systems(Draw, draw)
.run();
Expand Down

0 comments on commit ecbc544

Please sign in to comment.