diff --git a/.cargo/config_fast_builds b/.cargo/config_fast_builds
index b92e77e95884a..4d1ff9c1e3b38 100644
--- a/.cargo/config_fast_builds
+++ b/.cargo/config_fast_builds
@@ -10,10 +10,10 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"]
# NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager:
# `brew install michaeleisel/zld/zld`
[target.x86_64-apple-darwin]
-rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
+rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]
[target.aarch64-apple-darwin]
-rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld", "-Zshare-generics=y"]
+rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld", "-Zshare-generics=y"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5b7e1949a5bc2..c49157a7fd824 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,7 +23,7 @@ jobs:
toolchain: nightly
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
@@ -49,7 +49,7 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
@@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
needs: ci
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
@@ -100,7 +100,7 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
@@ -124,7 +124,7 @@ jobs:
build-android:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -151,7 +151,7 @@ jobs:
needs: check-missing-examples-in-docs
if: always()
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
@@ -169,7 +169,7 @@ jobs:
needs: markdownlint
if: always()
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: check dead links
continue-on-error: true
id: run1
@@ -227,7 +227,7 @@ jobs:
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
@@ -253,7 +253,7 @@ jobs:
done
zip traces.zip trace*.json
- name: save traces
- uses: actions/upload-artifact@v1
+ uses: actions/upload-artifact@v3
with:
name: example-traces.zip
path: traces.zip
@@ -263,7 +263,7 @@ jobs:
needs: check-markdown-links
if: always()
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -281,7 +281,7 @@ jobs:
check-missing-examples-in-docs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Check that examples are present in both README and Cargo
uses: Weibye/action-internal-link-consistency@1.0.0
with:
@@ -294,7 +294,7 @@ jobs:
check-unused-dependencies:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
index 619d2115a10a9..9ef408201a54a 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -22,7 +22,7 @@ jobs:
check-advisories:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -35,7 +35,7 @@ jobs:
check-bans:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -48,7 +48,7 @@ jobs:
check-licenses:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -61,7 +61,7 @@ jobs:
check-sources:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 4c24217d5e57d..f3db038aaa191 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -11,7 +11,7 @@ jobs:
build:
runs-on: macos-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml
index 24f2c637e16c3..fd16a55d86efe 100644
--- a/.github/workflows/label.yml
+++ b/.github/workflows/label.yml
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/labeler@v3
+ - uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/label-config.yml
diff --git a/Cargo.toml b/Cargo.toml
index 76130b0a1a8f7..5efa16115826e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,7 @@ tga = ["bevy_internal/tga"]
jpeg = ["bevy_internal/jpeg"]
bmp = ["bevy_internal/bmp"]
-# Audio format support (MP3 is enabled by default)
+# Audio format support (vorbis is enabled by default)
flac = ["bevy_internal/flac"]
mp3 = ["bevy_internal/mp3"]
vorbis = ["bevy_internal/vorbis"]
@@ -98,7 +98,9 @@ bevy_dylib = { path = "crates/bevy_dylib", version = "0.6.0", default-features =
bevy_internal = { path = "crates/bevy_internal", version = "0.6.0", default-features = false }
[target.'cfg(target_arch = "wasm32")'.dependencies]
-bevy_internal = { path = "crates/bevy_internal", version = "0.6.0", default-features = false, features = ["webgl"] }
+bevy_internal = { path = "crates/bevy_internal", version = "0.6.0", default-features = false, features = [
+ "webgl",
+] }
[dev-dependencies]
anyhow = "1.0.4"
@@ -128,7 +130,7 @@ name = "move_sprite"
path = "examples/2d/move_sprite.rs"
[[example]]
-name = "2d_rotation"
+name = "rotation"
path = "examples/2d/rotation.rs"
[[example]]
@@ -304,6 +306,10 @@ path = "examples/async_tasks/external_source_external_thread.rs"
name = "audio"
path = "examples/audio/audio.rs"
+[[example]]
+name = "audio_control"
+path = "examples/audio/audio_control.rs"
+
# Diagnostics
[[example]]
name = "log_diagnostics"
@@ -424,6 +430,10 @@ path = "examples/input/mouse_input.rs"
name = "mouse_input_events"
path = "examples/input/mouse_input_events.rs"
+[[example]]
+name = "mouse_grab"
+path = "examples/input/mouse_grab.rs"
+
[[example]]
name = "touch_input"
path = "examples/input/touch_input.rs"
@@ -467,6 +477,10 @@ path = "examples/shader/shader_defs.rs"
name = "shader_material"
path = "examples/shader/shader_material.rs"
+[[example]]
+name = "shader_material_screenspace_texture"
+path = "examples/shader/shader_material_screenspace_texture.rs"
+
[[example]]
name = "shader_material_glsl"
path = "examples/shader/shader_material_glsl.rs"
@@ -514,6 +528,10 @@ path = "examples/ui/ui.rs"
name = "clear_color"
path = "examples/window/clear_color.rs"
+[[example]]
+name = "low_power"
+path = "examples/window/low_power.rs"
+
[[example]]
name = "multiple_windows"
path = "examples/window/multiple_windows.rs"
diff --git a/assets/branding/banner-text.png b/assets/branding/banner-text.png
deleted file mode 100644
index 2f8b2198b4ddb..0000000000000
Binary files a/assets/branding/banner-text.png and /dev/null differ
diff --git a/assets/branding/banner.png b/assets/branding/banner.png
index 1d5fad437bdc3..3c5db79ac20f8 100644
Binary files a/assets/branding/banner.png and b/assets/branding/banner.png differ
diff --git a/assets/branding/bevy_bird_simpleicons.svg b/assets/branding/bevy_bird_simpleicons.svg
index 25597d418ac69..dc9c07bb9db74 100644
--- a/assets/branding/bevy_bird_simpleicons.svg
+++ b/assets/branding/bevy_bird_simpleicons.svg
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/assets/branding/bevy_logo_dark.png b/assets/branding/bevy_logo_dark.png
index b7fcdd7ba40d6..3e2cbdf519829 100644
Binary files a/assets/branding/bevy_logo_dark.png and b/assets/branding/bevy_logo_dark.png differ
diff --git a/assets/branding/bevy_logo_dark.svg b/assets/branding/bevy_logo_dark.svg
index ab9bf8a71919d..241509d32d06b 100644
--- a/assets/branding/bevy_logo_dark.svg
+++ b/assets/branding/bevy_logo_dark.svg
@@ -1,19 +1,18 @@