Game stats that reset every frame, inspired by immediate mode GUI.
gamedev bevy stats
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #17 from AlephCubed/0.2.0-release

Documentation Fixes for `0.2.0` release.

authored by

AlephCubed and committed by
GitHub
e3887be0 3ff9be22

+9 -9
+2 -2
Cargo.lock
··· 1003 1003 1004 1004 [[package]] 1005 1005 name = "immediate_stats" 1006 - version = "0.2.0-beta.1" 1006 + version = "0.2.0" 1007 1007 dependencies = [ 1008 1008 "bevy", 1009 1009 "bevy-butler", ··· 1016 1016 1017 1017 [[package]] 1018 1018 name = "immediate_stats_macros" 1019 - version = "0.2.0-beta.1" 1019 + version = "0.2.0" 1020 1020 dependencies = [ 1021 1021 "darling", 1022 1022 "proc-macro-error",
+2 -2
README.md
··· 65 65 // `StatContainer` derive hooks into the existing `auto_component` and `auto_resource` macros. 66 66 #[derive(StatContainer, Component, Resource)] 67 67 #[auto_component(plugin = MyPlugin)] // Adds `reset_component_modifiers` system. 68 - #[auto_init_resource(plugin = MyPlugin)] // Adds `reset_resource_modifiers` system. 68 + #[auto_resource(plugin = MyPlugin)] // Adds `reset_resource_modifiers` system. 69 69 struct Speed(Stat); 70 70 ``` 71 71 72 72 ### Version Compatibility 73 73 | Bevy | Immediate Stats | 74 74 |--------|-----------------| 75 - | `0.16` | `0.1` | 75 + | `0.16` | `0.1` - `0.2` |
+2 -2
immediate_stats/Cargo.toml
··· 1 1 [package] 2 2 name = "immediate_stats" 3 - version = "0.2.0-beta.1" 3 + version = "0.2.0" 4 4 edition = "2024" 5 5 description = "Game stats that reset every frame, inspired by immediate mode GUI." 6 6 categories = ["game-development", "data-structures"] ··· 37 37 "bevy_reflect", 38 38 ] } 39 39 bevy_reflect = { version = "0.16.0", default-features = false, optional = true } 40 - immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.2.0-beta.1", default-features = false } 40 + immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.2.0", default-features = false } 41 41 42 42 [dev-dependencies] 43 43 bevy = { version = "0.16.0", default-features = false }
+1 -1
immediate_stats/examples/simple_bevy.rs
··· 1 1 //! A very simple example using Bevy. Requires the `bevy` feature flag. 2 - //! There are two other versions of this example, one using a simple main loop and the other using Bevy Butler. 2 + //! There are two other versions of this example, one using a simple main loop and the other using Bevy Auto Plugin. 3 3 4 4 use bevy::prelude::*; 5 5 use immediate_stats::*;
+1 -1
immediate_stats/src/lib.rs
··· 78 78 //! ### Version Compatibility 79 79 //! | Bevy | Immediate Stats | 80 80 //! |--------|-----------------| 81 - //! | `0.16` | `0.1` | 81 + //! | `0.16` | `0.1` - `0.2` | 82 82 83 83 #[cfg(feature = "bevy")] 84 84 mod bevy;
+1 -1
immediate_stats_macros/Cargo.toml
··· 1 1 [package] 2 2 name = "immediate_stats_macros" 3 - version = "0.2.0-beta.1" 3 + version = "0.2.0" 4 4 edition = "2024" 5 5 description = "Game stats that reset every frame, inspired by immediate mode GUI." 6 6 categories = ["game-development", "data-structures"]