Merge pull request #6502 from samuele3hu/dev_compile_error

Add some deprecated functions and replace the Point related to Vector2
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into dev_compile_error