摘要: Hit-testing an unregular area is important when you're creating some game UI. Here is a cheap way.When I say cheap, it's extremely fast, and has very tiny memory foot print.Here is the idea:1. Write a program to process the image which represents the unregular area, and produce some binary d 阅读全文
posted @ 2013-10-21 22:26 wane 阅读(229) 评论(0) 推荐(0)