Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Problem with spritetesheet


Recommended Posts

Hello, I've just started using this framework and it's fantastic, but I'm having a problem with the spritesheet function - I'm getting this error when I try to add a new spritesheet:

Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight

And the image is not showing on the game:





This is how I'm adding the spritesheet:

game.load.spritesheet('kamel', 'assets/sprite_kamel.png', 40, 69);

The image is 274x69.


Am I doing something wrong?



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...