Skip to content

Commit 95dbcfa

Browse files
authored
Release v0.45.0 (dimforge#396)
* Release v0.45.0 * chore: update website examples list * fix 2D sprite/tilemap demos on the web
1 parent f30d089 commit 95dbcfa

21 files changed

Lines changed: 381 additions & 66 deletions

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
run: cargo build --verbose -p kiss3d;
4040
- name: Build kiss3d (+ egui)
4141
run: cargo build --verbose -p kiss3d --features egui;
42+
- name: Build examples (+ egui)
43+
run: cargo build --verbose --examples --features egui;
4244
- name: Run tests
4345
run: cargo test
4446
build-wasm:

.run/sprites2d (web).run.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="sprites2d (web)" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
3+
<option name="buildProfileId" value="dev" />
34
<option name="command" value="run --package kiss3d --example sprites2d --target wasm32-unknown-unknown" />
45
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
56
<envs />
@@ -16,4 +17,4 @@
1617
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
1718
</method>
1819
</configuration>
19-
</component>
20+
</component>

.run/tilemap2d (web).run.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="tilemap2d (web)" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
3+
<option name="buildProfileId" value="dev" />
34
<option name="command" value="run --package kiss3d --example tilemap2d --target wasm32-unknown-unknown" />
45
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
6+
<envs />
57
<option name="emulateTerminal" value="true" />
68
<option name="channel" value="DEFAULT" />
79
<option name="requiredFeatures" value="true" />
810
<option name="allFeatures" value="false" />
911
<option name="withSudo" value="false" />
1012
<option name="buildTarget" value="REMOTE" />
1113
<option name="backtrace" value="SHORT" />
12-
<envs />
1314
<option name="isRedirectInput" value="false" />
1415
<option name="redirectInputPath" value="" />
1516
<method v="2">
1617
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
1718
</method>
1819
</configuration>
19-
</component>
20+
</component>

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Unreleased
1+
# v0.45.0
22

33
## Breaking Changes
44

@@ -35,6 +35,7 @@ A suite of new 2D features, all sharing the existing `SceneNode2d` scene graph,
3535

3636
- Fixed rendered content appearing see-through against the page (a white background) on browsers that composite the canvas with the page (Firefox): the on-screen surface now forces opaque output alpha, while offscreen / snapshot / embedding targets keep the scene's real alpha.
3737
- Fixed `GpuVector` not reallocating its buffer when an existing allocation lacked a newly-required usage flag.
38+
- Fixed egui text inputs on wasm ([#https://github.com/dimforge/kiss3d/pull/394]).
3839

3940
# v0.44.0
4041

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Sébastien Crozet <developer@crozet.re>"]
33
name = "kiss3d"
4-
version = "0.44.0"
4+
version = "0.45.0"
55

66
autoexamples = true
77
description = "Keep it simple, stupid, 2D and 3D graphics engine for Rust."

examples/media/characters.png

1.94 KB
Loading

examples/media/credits.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
skybox.png - https://freestylized.com/skybox/sky_96/
2+
tiny_town.png - Kenney "Tiny Town" (CC0) - https://kenney.nl/assets/tiny-town
3+
characters.png - Kenney "Pixel Platformer" (CC0) - https://kenney.nl/assets/pixel-platformer
4+
ui_panel.png - Kenney "UI Pack" (CC0) - https://kenney.nl/assets/ui-pack

examples/media/tiny_town.png

4.92 KB
Loading

examples/media/ui_panel.png

306 Bytes
Loading

examples/parallax.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ fn load(data: &[u8], srgb: bool, invert: bool, flip_green: bool) -> Arc<Texture>
8383
img.as_raw(),
8484
format,
8585
wgpu::AddressMode::ClampToEdge,
86+
wgpu::FilterMode::Linear,
8687
true,
8788
)
8889
}

0 commit comments

Comments
 (0)