Jump to content

Phaser 2.4.4 ~ 2.4.8 WEBGL mode bug?


bapho
 Share

Recommended Posts

Hi,

I just encountered this recently while testing out 2.4.8 and WEBGL. I've explicitly set my project to use Canvas, so I just discovered this pretty recently. I'm tweening a sprite object like so:

//this.bgPreloader is a sprite;

this.preloaderTween = this.game.add.tween(this.bgPreloader).to( { y: 100, alpha: 0 }, 1000, Phaser.Easing.Elastic.In, true, 0, 0, false);

So what's supposed to happen is the sprite fades out while moving up 100 pixels. This happens smoothly as expected with Canvas mode. But in WEBGL mode, it moves up, but it appears blinking; no smooth alpha transition at all. Has anyone encountered this already? Is this a bug? I tried this on 2.4.4 and 2.4.8 and they appear on both versions.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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