Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to bevy 0.14.0 #325

Merged
merged 16 commits into from
Jul 20, 2024
Merged

Update to bevy 0.14.0 #325

merged 16 commits into from
Jul 20, 2024

Conversation

MScottMcBee
Copy link
Contributor

@MScottMcBee MScottMcBee commented Jun 28, 2024

resolves #324

Basic support for 0.14, tested on 0.14.0-rc.4.

CI passes, but there's probably extraneous casting.

Bevy 0.14 deprecates SpriteSheetBundle, saying to just add a texture atlas to a sprite bundle, so I recreated it as LdtkSpriteSheetBundle

Trouv added a commit that referenced this pull request Jul 8, 2024
…a git branch patch (#326)

Closes #321

Currently, we're using a patch to depend on `bevy_ecs_tilemap`. This
places a burden on the user to use a similar patch in their own
`Cargo.toml`. We're also using the `main` branch of `bevy_ecs_tilemap`
in this patch. This can lead to issues when updates occur to that branch
of the `bevy_ecs_tilemap` repository, as new users and `cargo update`rs
will pull in any new changes to that repo, even breaking ones. This is
currently affecting our CI.

This PR's changes will ultimately be overwritten soon by an update to
bevy 0.14 (#325), but merging this sooner will help set the standard for
development of this project inbetween `bevy_ecs_tilemap` releases in the
future, and also unblock other PRs whose CI checks are affected (#306).
@MScottMcBee MScottMcBee marked this pull request as ready for review July 14, 2024 00:23
Copy link
Owner

@Trouv Trouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a few extra things that there isn't a great place to put a comment for:

  • unfortunately, the mdbook CI check produces false positives, but it's failing here (a couple code snippets in tutorials/tile-based-game/spawn-your-ldtk-project-in-bevy.md need to be updated): https://github.com/Trouv/bevy_ecs_ldtk/actions/runs/9999446181/job/27640460200?pr=325#step:7:586
  • a new 0.14 mdbook migration guide chapter for breaking changes introduced here would be much appreciated, but I can do it in a follow-up PR if its too difficult to try to follow the format of previous migration guide chapters
    • macro changes
    • LdtkSpriteSheetBundle vs SpriteSheetBundle
  • Update compatibility chart in README.md (map main of bevy_ecs_ldtk to bevy 0.14/ bevy_ecs_tilemap 0.14)

I still have yet to try out the examples

src/ldtk/color.rs Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
src/app/ldtk_entity.rs Outdated Show resolved Hide resolved
@MScottMcBee
Copy link
Contributor Author

Added a migration guide but I wasn't quite sure how to frame it. I set it up as a 0.9 to 0.10 guide, but I'm not sure if that's what you'd want. I can change it if you wish

Copy link
Owner

@Trouv Trouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed up a few docs-related things after trying to render the book and api ref.

Examples all seem to be working great! Will merge on green.

@PraxTube
Copy link

Ported one of my games from Bevy 0.12.1 to 0.14 and this branch worked flawlessly.

@Trouv Trouv merged commit d888535 into Trouv:main Jul 20, 2024
5 checks passed
This was referenced Jul 20, 2024
Trouv added a commit that referenced this pull request Jul 20, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](v0.9.0...v0.10.0)
(2024-07-20)


### ⚠ BREAKING CHANGES

* upgrade to bevy and bevy_ecs_ldtk 0.14
([#325](#325))
* upgrade to bevy 0.13
([#302](#302))

### Features

* add #[default] attribute to LdtkEntity and LdtkIntCell derive macros
([#306](#306))
([416a46e](416a46e))
* upgrade to bevy 0.13
([#302](#302))
([2ee602f](2ee602f)),
closes [#301](#301)
* upgrade to bevy and bevy_ecs_ldtk 0.14
([#325](#325))
([d888535](d888535))


### Documentation Changes

* remove unused AssetServer param in *Game logic integration* chapter
([#318](#318))
([617b108](617b108))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to Bevy 0.14
3 participants