MCPcopy Index your code
hub / github.com/IyesGames/iyes_progress

github.com/IyesGames/iyes_progress @v0.17.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.17.0 ↗ · + Follow
124 symbols 182 edges 13 files 69 documented · 56% updated 16d ago★ 1621 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.18 0.16
0.17 0.15
0.16 0.14
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. :)

Extension points exported contracts — how you extend this code

ApplyProgress (Interface)
(no doc) [3 implementers]
src/tracker.rs
ProgressReturningSystem (Interface)
Extension trait to add the APIs for handling systems that return progress. [1 implementers]
src/system.rs

Core symbols most depended-on inside this repo

msg
called by 12
src/send.rs
set_total
called by 5
src/send.rs
id
called by 4
src/send.rs
add_done
called by 4
src/send.rs
is_ready
called by 4
src/assets.rs
set_done
called by 2
src/send.rs
with_state_transition
called by 2
src/plugin.rs
is_ready
called by 2
src/tracker.rs

Shape

Method 73
Function 28
Class 18
Enum 3
Interface 2

Languages

Rust100%

Modules by API surface

src/tracker.rs40 symbols
src/send.rs18 symbols
examples/full.rs15 symbols
src/plugin.rs14 symbols
src/assets.rs7 symbols
src/entity.rs6 symbols
src/system.rs5 symbols
src/state.rs5 symbols
src/progress.rs4 symbols
src/debug.rs4 symbols
src/utils.rs3 symbols
examples/async.rs3 symbols

For agents

$ claude mcp add iyes_progress \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact