Upgrade to Bevy 0.12#33
Conversation
|
The issue seems to be that no In the failing tests (
Since So, ultimately, I am not sure whether this PR needs to (1) update the tests to execute Here is the Bevy commit that introduces Anwyay -- I'd be happy to implement a solution here but I'm afraid I can't tell what direction would be "correct":
(It seems at first glance that, in some game repository writing tests related to input events, the choice between the latter three questions would depend heavily on how the game is structured, which is interesting to me.) I should finally state that have not tried this on bevy's |
|
Ah -- perhaps we should remove the resource in tests? |
I have implemented this solution for the time being. Seems like we will have to revisit this in 0.13 anyway. Please let me know if you prefer another intermediate solution, and I can make the change. (also, apologies for the spam) |
|
Awesome, thank you <3 |
Changes
This PR upgrades Bevy to version 0.12.
Most changes are required by updates to Bevy's API:
add_plugin->add_pluginsadd_system->add_systemsand removingin_base_setin favor of ScheduleEventReader::iter->EventReader::readEntity::PLACEHOLDERas the window entity for input events in testsTODOs
Some tests are currently failing in
tests/input_playback.rs:repeated_playbackplayback_strategy_frame_range_onceplayback_strategy_frame_range_loopThis is definitely due to changes to
Eventsin the last two versions, but I haven't figured out the correct solution yet. I'll take another look soon to try to figure it out if no one else gets to it before me.Misc Notes
devbranch mentioned in the contribution guide.