Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用位图数据来检测精灵与文本页面内的字母的冲突。我试图用它来getPixels测试颜色,但它似乎不够准确。我不尝试使用 bitmapdata 进行碰撞测试,因为我不知道如何仅查找黑色像素。
getPixels