Closed
Description
Version
- Phaser Version: 3.55.2
Description
When called on a Shape game object, createBitmapMask(shape)
makes a working mask but createBitmapMask()
doesn't.
Example Test Code
Given a Shape:
const rect = this.add.rectangle(0, 0, 200, 150, 0xffff00);
This makes a working mask:
const mask = rect.createBitmapMask(rect);
This doesn't:
const mask = rect.createBitmapMask();
Both calls succeed, but only the first mask has a visual effect.
Metadata
Metadata
Assignees
Labels
No labels