updated_at: 2024-12-15 04:08

pattern

const pattern = this.add.tileSprite(0, 0, 800, 600, 'grass').setOrigin(0, 0);;
const pieceShape = this.make.graphics({}, true).fillCircle(150, 150, 100);
pattern.setVisible(true);
pattern.setMask(pieceShape.createGeometryMask());

Table of contents 목차

평점을 남겨주세요
평점 : 2.5
총 투표수 : 1

질문 및 답글