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

Pepa489
 Share

Recommended Posts

i don't think smoothed even works on a tileSprite if you use it initially, never mind changing it later

 

the source says it @extends Phaser.Component.Smoothed

https://github.com/photonstorm/phaser/blob/master/src/gameobjects/TileSprite.js#L50

 

so it could be a PIXI issue.

 

whilst the dirty() approach i used is not a public API, i would raise an issue about the initial value not working

 

however also note if you update the baseTexture (in the sprite example) it affects all sprites using this texture obviously

http://phaser.io/sandbox/OIfuRInI/play

Link to comment
Share on other sites

i don't think smoothed even works on a tileSprite if you use it initially, never mind changing it later

 

the source says it @extends Phaser.Component.Smoothed

https://github.com/photonstorm/phaser/blob/master/src/gameobjects/TileSprite.js#L50

 

so it could be a PIXI issue.

 

whilst the dirty() approach i used is not a public API, i would raise an issue about the initial value not working

 

however also note if you update the baseTexture (in the sprite example) it affects all sprites using this texture obviously

http://phaser.io/sandbox/OIfuRInI/play

What is the solution?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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