Skip to content

Commit c737a9b

Browse files
committed
upgrade to bevy 0.16
1 parent 0c886cb commit c737a9b

6 files changed

Lines changed: 13 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Changed
11+
* upgrade to bevy `0.16`
12+
1013
## [0.3.2] - 2024-12-12
1114

1215
### Changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_libgdx_atlas"
3-
version = "0.3.2"
3+
version = "0.4.0"
44
edition = "2021"
55
authors = ["Rustunit <mail@rustunit.com>"]
66
description = "Support loading `libgdx.atlas` files (used for sprite sheets and such) as Bevy assets."
@@ -19,13 +19,13 @@ expect_used = "deny"
1919
panic = "deny"
2020

2121
[dependencies]
22-
bevy = { version = "0.15", default-features = false, features = [
22+
bevy = { version = "0.16", default-features = false, features = [
2323
"bevy_asset",
2424
"bevy_sprite",
2525
] }
26-
bevy_internal = { version = "0.15", features = ["bevy_image"] }
26+
bevy_internal = { version = "0.16", features = ["bevy_image"] }
2727
thiserror = "1.0"
2828

2929
[dev-dependencies]
3030
pretty_assertions = "1"
31-
bevy = "0.15"
31+
bevy = "0.16"

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ Now when you load files with the `.libgdx.atlas` extension through the asset ser
5656

5757
## Compatible Bevy Versions
5858

59-
|bevy|bevy_libgdx_atlas|
59+
|bevy|crate|
6060
|-|-|
61+
|0.16|0.4,main|
62+
|0.15|0.3|
6163
|0.14|0.2|
6264
|0.13|0.1|
6365

examples/animation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fn setup(
8888
width: 16.,
8989
height: 16.,
9090
};
91-
commands.spawn((Camera2d, projection));
91+
commands.spawn((Camera2d, Projection::Orthographic(projection)));
9292
}
9393

9494
#[derive(Component)]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mod assetformat;
2222
mod error;
2323
mod loader;
2424

25-
use bevy::{prelude::*, utils::HashMap};
25+
use bevy::{platform::collections::HashMap, prelude::*};
2626
pub use error::LibGdxAtlasAssetError;
2727
use loader::LibGdxAtlasAssetLoader;
2828

src/loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use bevy::{
22
asset::{AssetLoader, AsyncReadExt},
3+
platform::collections::HashMap,
34
prelude::*,
4-
utils::HashMap,
55
};
66

77
use crate::{assetformat::AssetFile, LibGdxAtlasAsset, LibGdxAtlasAssetError};

0 commit comments

Comments
 (0)