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

Smoothed bug?


Maras
 Share

Recommended Posts

I have a (TypeScript) class extending Phaser.Sprite. This new sprite have another sprite in it called backgroundImage with this.backgroundImage.smoothed set to false. I also tried applying it to the whole image (this.smoothed = false), and it have the same result.

 

Smoothing works, but it is applied to everything after the game enters the state where the extended sprite is and even after every other state which starts after that.

 

Am I just doing it wrong or is it a bug?

 

Thanks!

Link to comment
Share on other sites

I have a (TypeScript) class extending Phaser.Sprite. This new sprite have another sprite in it called backgroundImage with this.backgroundImage.smoothed set to false. I also tried applying it to the whole image (this.smoothed = false), and it have the same result.

 

Smoothing works, but it is applied to everything after the game enters the state where the extended sprite is and even after every other state which starts after that.

 

Am I just doing it wrong or is it a bug?

 

Thanks!

Smoothing applied to texture not single image.

 

So if you are using spritesheet/atlas and applying smoothing to any image from it all other images will be smoothed too.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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