Jump to content

Phaser and creature


abutkus
 Share

Recommended Posts

Hi,

 

im just playing about with the creature functionality of phaser. it doesnt act quite like a normal sprite in that it doesnt have anchor points and you cant set the height and width, only set the scale, am i missing something? seems quite limiting for use in games if you cant do the above?

 


      this.hero = this.game.add.creature(x, y, 'abby', 'abbyMesh');

      this.hero.height = 500;
      this.hero.width = 500;

this.hero.width and height get set back to 0, and the this.hero.scale.x/y is still set to just 1

Link to comment
Share on other sites

  • 4 weeks later...
 Share

  • Recently Browsing   0 members

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