Bevy 0.13 update
ChristopherBiscardi opened this issue · comments
Code and workshop lessons should both be updated.
https://bevyengine.org/news/bevy-0-13/
Notably, this includes the automatic apply_deferred
that will address #1 .
bevy_easings is released on crates.io with 0.13 compatibility and is the only major dependency for this workshop.
Base updates for 0.13 that result in a running program again:
Input
is nowButtonInput
alignment
is nowjustify
- KeyCode::Left is now KeyCode::ArrowLeft
- likely due to winit upgrades around keycode handling: https://bevyengine.org/news/bevy-0-13/#winit-upgrade
add_state
is nowinit_state
- bevyengine/bevy#11043
- The requirement to have a
Default
implementation was also removed, so does it make more sense to use the newinsert_state
?
The program runs and all functionality seems to be working, however some of the issues seen in #1 seem much more easily triggerable in 0.13.
2048-with-tile-misplacement-and-crash-due-to-easings.mov
Changes were made in 447b621
Added a new section on testing, especially around detecting game over (without having to play an entire game) -- 1687150