| Crates.io | spine2d-wgpu |
| lib.rs | spine2d-wgpu |
| version | 0.2.0 |
| created_at | 2025-12-21 04:44:14.440299+00 |
| updated_at | 2025-12-21 15:22:10.992744+00 |
| description | wgpu renderer integration for the spine2d runtime |
| homepage | https://github.com/Latias94/spine2d |
| repository | https://github.com/Latias94/spine2d |
| max_upload_size | |
| id | 1997390 |
| size | 166,400 |
Experimental, pure Rust runtime for Spine 4.3 (unofficial).

spine-c / spine-cpp runtimes.
Compatibility and behavioural parity are an explicit goal, but you should treat this as an
experimental implementation and manage the integration risk accordingly.wasm32-unknown-unknown (web) and native targets.spine-c, spine-cpp).spine2d: core runtime + parsing + renderer-agnostic render output.
spine2d-wgpu: wgpu renderer integration built on top of spine2d.
spine2d-web: Trunk + wgpu web demo/viewer (wasm32-unknown-unknown).
spine-runtimes and import example exports into assets/ for testing/demos.
Make sure you comply with the Spine license terms for your usage and redistribution.
Import examples locally: python3 ./scripts/prepare_spine_runtimes_web_assets.py --scope tests
Some smoke tests can parse official exported example JSON files from the upstream spine-runtimes repository.
These files are not committed here by default.
python3 ./scripts/fetch_spine_runtimes_examples.py --mode json --scope tests./scripts/import_spine_runtimes_examples.zsh --mode json --scope testscargo test -p spine2d --features json,upstream-smoke.skel parsing): cargo test -p spine2d --features json,binary,upstream-smokecargo run -p spine2d-wgpu --example basic --features json--mode export):python3 ./scripts/fetch_spine_runtimes_examples.py --mode export --scope testscargo run -p spine2d-wgpu --example spine_runtimes --features json -- spineboy run --speed 1.0
AnimationState::apply to avoid accumulated constraint drift.rustup target add wasm32-unknown-unknowncargo install trunk --lockedcd spine2d-web && trunk serve
assets/spine-runtimes/web_manifest.json exists (generated by script; not committed).devicePixelRatio and reconfigures the surface on resize.python3 ./scripts/prepare_spine_runtimes_web_assets.py --scope testscd spine2d-web && trunk serve
assets/spine-runtimes/web_manifest.json and populate the Example dropdown.?example=spineboy&anim=runDual-licensed under MIT OR Apache-2.0. See LICENSE-MIT and LICENSE-APACHE.
Spine is developed by Esoteric Software. This project is not affiliated with them. Using Spine runtimes and Spine data generally requires a Spine Editor license. See the official license terms: https://esotericsoftware.com/spine-editor-license