Silom

Members
  • Content Count

    5
  • Joined

  • Last visited

About Silom

  • Rank
    Newbie

Contact Methods

  • Twitter
    @ThisSilom
  1. Silom

    Sprite loader error

    Well, I still have the same issue. And I cant tell you something new at all. I still have this error: Uncaught Error: Spine data must be preloaded using PIXI.SpineLoader or PIXI.AssetLoader: spine/papapino_spine.json Maybe, it is the spine data itself. Maybe it is corrupted, I will try something new. All in all, I think the whole spine usage thing is quite difficult to handle. Could you or someone else write a plugin, that make it easier to handle. I would like to have a simple method call with the urls that loads, constructs and returns the spine object. new SpineObject({spritesheet: 'papapino_spritesheet.png', spinedata: 'papapino_spine.json', spinesheet: 'papapino_spritesheet.json'});//Does this plus animation handler//game.addAsset('papapino_spritesheet.png');//game.addAsset('papapino_spine.json');//game.addAsset('papapino_spritesheet.json');//return new game.Spine('papapino_spine.json');I think handling this is something very time consuming in every spine using project.
  2. Silom

    Sprite loader error

    Alright keyboard plugin done. I rewrote KeyboardJS, or should I say replaced... https://github.com/Silom/KeyboardJS
  3. Silom

    Sprite loader error

    Hey Enpu, thanks for the reply. The last time I tried it, I used 1.4. I will update panda.js and try it again. But first I finish the advanced keyboard plugin .
  4. Hey guys, I just started with panda.js and have some problems using spine. My code causes a loading error, but as far as I know 'game.addAsset' is preloading, right? I would be glad if someone could help me out, maybe I just cant see it... Error: Uncaught Error: Spine data must be preloaded using PIXI.SpineLoader or PIXI.AssetLoader: spine/papapino_spine.json My code: game.module( 'panda.animation').require( 'engine.core').body(function() { // Load assets game.addAsset('spine/papapino_spine.json'); game.addAsset('spine/papapino_spritesheet.png'); game.addAsset('spine/papapino_spritesheet.json'); Panda = game.Class.extend({ init: function(x, y) { this.sprite = new PIXI.Spine('spine/papapino_spine.json'); // Loading Error here // ... and so on } )}};
  5. Silom

    Spine fps

    Could you post some code please. I have the same problem atm.