标签: swift skcropnode
我有一个包含16个SKCropNode对象的网格。每个包含一个用作掩码的SKShapeNode和一个SKSpriteNoe。在未设置遮罩的此图像中,您可以看到所有16个对象都出现在网格中。
https://github.com/soggybag/Grid
互动也很奇怪。点击使图像精灵向下移动并消失,从掩模中移出。您可以点击橙色下方的区域,隐藏精灵,并识别点击事件。
更奇怪的是你没有点击右上方的精灵?