mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts][pixi-v8] Restored control bones example.
This commit is contained in:
parent
bd3c2cbf4b
commit
f53a514bf8
@ -46,13 +46,9 @@
|
||||
|
||||
// Create the spine display object
|
||||
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
|
||||
// from one animation to the next.
|
||||
stretchyman.state.data.defaultMix = 0.2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user