mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
scale SkeletonJson object to 0.5
This commit is contained in:
parent
ff62c847f2
commit
ef6140e4c1
@ -19,6 +19,7 @@ bool ExampleScene::init() {
|
||||
|
||||
Atlas *atlas = new Atlas("spineboy.txt");
|
||||
SkeletonJson json(atlas);
|
||||
json.scale = 0.5;
|
||||
SkeletonData *skeletonData = json.readSkeletonDataFile("spineboy-skeleton.json");
|
||||
Animation *animation = json.readAnimationFile("spineboy-walk.json", skeletonData);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user