bevy v0.2.0 Release Notes
Release Date: 2020-09-19 // over 3 years ago-
โ Added
- Task System for Bevy
- Replaces rayon with a custom designed task system that consists of several "TaskPools".
- Exports
IOTaskPool
,ComputePool
, andAsyncComputePool
inbevy_tasks
crate.
- Parallel queries for distributing work over with the
ParallelIterator
trait.- e.g.
query.iter().par_iter(batch_size).for_each(/* ... */)
- e.g.
- ๐ Added gamepad support using Gilrs
- ๐ Implement WASM support for bevy_winit
- Create winit canvas under WebAssembly
- โฑ Implement single threaded task scheduler for WebAssembly
- ๐ Support for binary glTF (.glb).
- ๐ Support for
Or
in ECS queries. - Added methods
unload()
andunload_sync()
onSceneSpawner
for unloading scenes.. - Custom rodio source for audio.
AudioOuput
is now able to play anythingDecodable
.
Color::hex
for creatingColor
from string hex values.- Accepts the forms RGB, RGBA, RRGGBB, and RRGGBBAA.
Color::rgb_u8
andColor::rgba_u8
.- Added
bevy_render::pass::ClearColor
to prelude. - 0๏ธโฃ
SpriteResizeMode
may choose howSprite
resizing should be handled.Automatic
by default. - Added methods on
Input<T>
for iterator access to keys.get_pressed()
,get_just_pressed()
,get_just_released()
- Derived
Copy
forMouseScrollUnit
. - ๐ฏ Derived
Clone
for UI component bundles. - ๐ Some examples of documentation
- โก๏ธ Update docs for Updated, Changed and Mutated
- ๐ Tips for faster builds on macOS: #312, #314, #433
- โ Added and documented cargo features
- โ Added more instructions for Linux dependencies
- Arch / Manjaro, NixOS, Ubuntu and Solus
- Provide shell.nix for easier compiling with nix-shell
- Add
AppBuilder::add_startup_stage_|before/after
๐ Changed
- Transform rewrite
- Use generational entity ids and other optimizations
- โก๏ธ Optimize transform systems to only run on changes.
- Send an AssetEvent when modifying using
get_id_mut
- Rename
Assets::get_id_mut
->Assets::get_with_id_mut
- ๐ Support multiline text in
DrawableText
- iOS: use shaderc-rs for glsl to spirv compilation
- 0๏ธโฃ Changed the default node size to Auto instead of Undefined to match the Stretch implementation.
- ๐ฑ Load assets from root path when loading directly
- Add
render
feature, which makes the entire render pipeline optional.
๐ Fixed
- ๐ Properly track added and removed RenderResources in RenderResourcesNode.
- Fixes issues where entities vanished or changed color when new entities were spawned/despawned.
- ๐ Fixed sprite clipping at same depth
- Transparent sprites should no longer clip.
- Check asset path existence
- ๐ Fixed deadlock in hot asset reloading
- ๐ Fixed hot asset reloading on Windows
- Allow glTFs to be loaded that don't have uvs and normals
- โก๏ธ Fixed archetypes_generation being incorrectly updated for systems
- ๐ Remove child from parent when it is despawned
- โฑ Initialize App.schedule systems when running the app
- ๐ Fix missing asset info path for synchronous loading
- fix font atlas overflow
- ๐ฑ do not assume font handle is present in assets
Internal Improvements
- Task System for Bevy