TMXTiledMap怎样设置透明层?怎样设置碰撞块以及检测?html5版

cocos2d html5:
TMXTiledMap怎样将一个层设置为透明?怎样检测碰撞的tile?

每一个tile都是一个sprite