andrenajordan Posted June 3 Share Posted June 3 This is my code copied from pixi/opengames. private spine: Spine; /** Inner container for internal animations */ private container: Container; constructor() { super(); this.container = new Container(); this.addChild(this.container); this.spine = Spine.from({ skeleton: './Assets/dragon-skeleton.json', atlas: './Assets/dragon-skeleton.atlas', }); // this.spine.autoUpdate = true; this.spine.scale.set(0.3); this.spine.x = -30; this.spine.y = 130; this.container.addChild(this.spine); this.playIdle(); } and this one happened. Asset id ./Assets/dragon-skeleton.atlas was not found in the Cache. Cannot read properties of undefined (reading 'skeleton'). I got a pixijs v8.1.15 Is there any help for me? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.