Jump to content

Recommended Posts

Hello 

First of all. I m so glad to see Panda on the road again :-) I have just bought the full version and playing around with Spritesheets developed in Spine 3.6.52 professional. It seems like mesh is not supported in panda 2 version 1.5.0. When I export from spine as a spritesheet with mesh animations it won´t show the spritesheet, If i remove the Mesh animation it shows the animation fine:

 

game.module(
    'game.main'
)

.require(
    'plugin.spine'
)
    
.body(function() {
    
    //game.addAsset('panda.png');
    
game.addAsset('sheep.atlas');
game.addAsset('sheep.json');

game.createScene('Main', {
    init: function() {
        
        var player = new game.Player();
        player.sprite.addTo(this.stage);
        
    }
});

game.createClass('Player', {
    init: function() {
        
      
        
        //this.sprite = new game.Sprite('panda.png');
        
         this.sprite = new game.Spine('sheep.json');
        this.sprite.position.x = 200;
        this.sprite.position.y = 800;
        this.sprite.play('idle', true);
        
        
        
    }
});

});

 

Link to post
Share on other sites
  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...