[Cocos2d-x] direction use gl function.
rearrance resource
add auto tiled background.