Create tunnel wall

Hi

I have a png file of 256x256 i want to use this image to create curvy walls in space shooter game. I attached the image which i have and the screen which i want to create. Also ship should destroy when it touches the wall. Just guide me in the right direction, any link to similar problem or tutorial related to that will also be helpful. Even mention of which Object of cocos2dx is related to this kind to situation will be a great help.

Thanks


space.png (61.2 KB)


HelloWorld.png (138.8 KB)