-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Create release notes for 0.9.4
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# [`bevy_mod_scripting`](https://github.com/makspll/bevy_mod_scripting/) 0.9.4 is out! | ||
|
||
 | ||
|
||
## Summary | ||
- Adds macro for generating namespace builder instantiations including docstrings and argument names like so: | ||
```rust | ||
#[script_bindings(name = "test_functions")] | ||
impl TestStruct { | ||
/// My docs !! | ||
fn test_fn(_self: Ref<TestStruct>, mut _arg1: usize) {} | ||
} | ||
|
||
fn main() { | ||
let mut world = ... | ||
register_test_functions(&mut world); | ||
} | ||
``` | ||
- Fixes compilation issues with `tracy` enabled | ||
- Initial work on `Language Agnostic Declaration` (LAD) file format for doc-gen | ||
- Adds ability to create static scripts, which do not need to be attached to an entity to run: | ||
```rust | ||
commands.queue(AddStaticScript::new("my_static_script.lua")); | ||
``` | ||
- Fixes asset loader issues (asset loaders now specify extensions) when working with `bevy_asset_loader` and other asset loading crates | ||
- And more | ||
|
||
## Changelog | ||
See a detailed changelog [here](https://github.com/makspll/bevy_mod_scripting/blob/main/CHANGELOG.md) |