Cocos Creator 判断Touch位置在节点(Node)内

cocos Creator2.01 没有cc.rectContainsPoint api了
cocos creator 2.0.1之后使用如下方法

onLoad()
    {
        this.node.on("touchstart", this.on_touch_begin, this);
        self = this;
    },
    
on_touch_begin(event)
    {
        if(!self.area_node.getBoundingBoxToWorld().contains(event.getLocation()))
        {
            
        }
    }

创建了一个小游戏交流群,加群或者有问题交流可以加我微信 备注“微信小游戏”
Cocos Creator 判断Touch位置在节点(Node)内

推广一下自己做的简单的小游戏
Cocos Creator 判断Touch位置在节点(Node)内
Cocos Creator 判断Touch位置在节点(Node)内