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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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