Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Image clipping


Fricken Hamster
 Share

Recommended Posts

Check this:

 

Horizontal Crop, Vertical Crop and Dynamic Crop... they seem to miss assets in the online examples but locally they work for me.

http://gametest.mobi/phaser/examples/_site/view_full.html?d=sprites&f=dynamic+crop.js&t=dynamic%20crop

 

and crop documentation:

http://gametest.mobi/phaser/docs/Phaser.Sprite.html#toc15

 

 

But maybe only rectangle shapes ... I don't know a way for a mask clipping with custom shapes...

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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