Updated to Cocos2d-X 3.2

Updated to Cocos2d-X 3.2
Compatibility with 3.1 was kept.