Jump to content

Button overFrame, outFrame, downFrame


friendlygiraffe2
 Share

Recommended Posts

Not sur but, if button are sprite. You can probably do something with this.

http://docs.phaser.io/Phaser.Sprite.html#alpha

or maby play with bitmap alpha mask, never try.

http://examples.phaser.io/_site/view_full.html?d=bitmapdata&f=alpha+mask.js&t=alpha%20mask

 

in doc there is also 

http://docs.phaser.io/Phaser.BitmapData.html

function like copy have an alpha param.

 

Let me know if you experiment are successful.  :rolleyes:

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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