#bevy-plugin #bevy #state-transition #gamedev

iyes_progress

Bevy plugin to help implement loading states

15 releases (breaking)

new 0.13.0 Dec 1, 2024
0.13.0-rc.1 Nov 21, 2024
0.12.0 Jul 5, 2024
0.11.0 Feb 18, 2024
0.4.0 Jul 31, 2022

#82 in Game dev

Download history 276/week @ 2024-08-16 309/week @ 2024-08-23 297/week @ 2024-08-30 313/week @ 2024-09-06 292/week @ 2024-09-13 414/week @ 2024-09-20 340/week @ 2024-09-27 163/week @ 2024-10-04 199/week @ 2024-10-11 317/week @ 2024-10-18 246/week @ 2024-10-25 314/week @ 2024-11-01 149/week @ 2024-11-08 214/week @ 2024-11-15 516/week @ 2024-11-22 455/week @ 2024-11-29

1,384 downloads per month
Used in 12 crates (7 directly)

MIT/Apache

50KB
929 lines

Progress Tracking Helper Crate

Crates.io docs MIT/Apache 2.0

This crate was formerly known as bevy_loading!

Bevy Compatibility:

Bevy Version Plugin Version
main N/A
0.15 0.13
0.14 0.12
0.13 0.11
0.12 0.10
0.11 0.9
0.10 0.8
0.9 0.7
0.8 0.4,0.5, 0.6
0.7 0.3
0.6 bevy_loading = 0.2
0.5 bevy_loading = 0.1

This crate helps you in cases where you need to track when a bunch of work has been completed, and perform a state transition.

The most typical use case are loading screens, where you might need to load assets, prepare the game world, etc… and then transition to the in-game state when everything is done.

You can have any number of systems doing different things during your loading state, and they can report their progress to this crate.

See the example for an overview of how to use this crate.


There is also an optional feature (assets) implementing basic asset loading tracking. Just add your handles to the AssetsLoading resource.

If you need something more advanced, I recommend the bevy_asset_loader crate, which can integrate with this crate. :)

Dependencies

~10–23MB
~341K SLoC