Skip to content

Commit

Permalink
Merge pull request #311 from StarArawn/prepare-release
Browse files Browse the repository at this point in the history
Updated version in cargo and updated README.
  • Loading branch information
StarArawn authored Oct 10, 2022
2 parents edaa754 + 61a7827 commit 0946012
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
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_ecs_tilemap"
description = "A tilemap rendering plugin for bevy which is more ECS friendly by having an entity per tile."
version = "0.7.0"
version = "0.8.0"
authors = ["John Mitchell"]
homepage = "https://github.com/StarArawn/bevy_ecs_tilemap"
repository = "https://github.com/StarArawn/bevy_ecs_tilemap"
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ struct Damage {
}

fn update_damage(
mut query: Query<(&mut Tile, &Damage), Changed<Damage>>,
mut query: Query<(&mut TileTexture, &Damage), Changed<Damage>>,
) {
for (mut tile, damage) in query.iter_mut() {
tile.texture_index = TILE_DAMAGE_OFFSET + damage.amount;
for (mut tile_texture, damage) in query.iter_mut() {
tile_texture.0 = TILE_DAMAGE_OFFSET + damage.amount;
}
}
```
Expand Down Expand Up @@ -84,6 +84,7 @@ cargo serve --example animation --release --features atlas

|bevy|bevy_ecs_tilemap|
|---|---|
|0.8|0.8|
|0.8|0.7|
|0.7|0.6|
|0.6|0.5|
Expand Down

0 comments on commit 0946012

Please sign in to comment.