Closed ChristopherBiscardi closed 4 months ago
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 now ButtonInput
alignment
is now justify
add_state
is now init_state
Default
implementation was also removed, so does it make more sense to use the new insert_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.
https://github.com/rust-adventure/2048/assets/551247/25e44eb4-193a-42fc-bb3e-2ce77d8896ce
Changes were made in https://github.com/rust-adventure/2048/commit/447b6218dd1ee2284cdf0ace89af640b503f37e6
Added a new section on testing, especially around detecting game over (without having to play an entire game) -- https://github.com/rust-adventure/2048/commit/1687150903f99a892ec1ee971a74cc6da874029a
added sprites now that 9-slice scaling is in bevy releases
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 .