Jump to content

Phaser Mask hard bug on WEBGL mode.


eguneys
 Share

Recommended Posts

I apply masking to a sprite. Mask is Phaser.Graphics and it doesn't appear at first, i tween it so that sprite appears with tween.

 

But initially the sprite doesn't respect the mask and shown anyway. When i start tweening the mask sprite disappears and mask starts working.

 

I created a jsbin showing the problem.

 

This problem occurs only on WEBGL mode, if you change to Phaser.CANVAS in the example it will work as i expect.

 

http://jsbin.com/vasuh/1/edit?js,output

 

I think this was not an issue on Phaser 2.0.6, I recently changed to 2.0.7 and now it broke.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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