Jump to content

Unable to get the Mask on iPad2 working


Bart
 Share

Recommended Posts

Hey Guys

 

I'm having trouble with using a mask on an iPad2.

It works fine on any PC, android and even on a macbook, but not the ipad.

 

Using the following code:

this.mask = this.game.add.graphics(0, 0);
this.mask.beginFill(0xff00ff);
this.mask.drawRoundedRect(30, 30, this.game.world.width - 60, this.game.world.height - 60, 10);
this.mask.endFill();
this.mask.name = "Mask";

Any ideas?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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