Jump to content

Extend Sprite - Without Texture/ With Phaser Atlas

Matthias Elephant

Recommended Posts


i would like to extend the Sprite, but without a texture or a texture loaded from atlas. Someone know how to do this?

MonsterBunny = function (game, x, y) {

    Phaser.Sprite.call(this, game, x, y, 'bunny'); //how to initialize without a texture


One trial:  Phaser.Sprite.call(FallBall.game, 50,50, PIXI.Texture.emptyTexture) //didn't work

I use texture atlas, so i can't do it like the example.


Thanks for help.


Link to comment
Share on other sites


  • Recently Browsing   0 members

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