[ts][pixi-v8] Restored control bones example.

This commit is contained in:
Davide Tantillo 2025-10-15 12:56:20 +02:00
parent bd3c2cbf4b
commit f53a514bf8

View File

@ -46,13 +46,9 @@
// Create the spine display object // Create the spine display object
const stretchyman = spine.Spine.from({skeleton: "stretchymanData", atlas: "stretchymanAtlas", const stretchyman = spine.Spine.from({skeleton: "stretchymanData", atlas: "stretchymanAtlas",
scale: 1, scale: 0.75,
// scale: 0.75,
}); });
stretchyman.skeleton.scaleX = .5;
stretchyman.skeleton.scaleY = 1;
// Set the default mix time to use when transitioning // Set the default mix time to use when transitioning
// from one animation to the next. // from one animation to the next.
stretchyman.state.data.defaultMix = 0.2; stretchyman.state.data.defaultMix = 0.2;