The cutter, or mask, operation in Harmony is used for cutting off drawings with custom shapes. The game engine SDK implements both cutters and inverted cutters with the following limitations:
- For a sprite, only a single cutter drawing can be applied when it is rendered. This also applies to a composite of multiple matte drawings. The game engine SDK will only use the first matte drawing during rendering and discard the others.
- A deformed drawing cannot be cut, but a cut drawing can be deformed.
NOTE Not currently available in the Cocos2d-x implementation of the game engine SDK.
Comments
0 comments
Article is closed for comments.