I’ve been all over the internet and can’t find the simple stuff for the newest version of Cocos2d-x. Can someone please post some code to, 1. touch rotate a sprite, and 2. pinch zoom on a layer. I need for the .h and .cpp files, not the .h and .mm files. Thanks muchly!
The samples directory is in your cocos2d-x folder on your computer where you installed cocos2d-x. There are xcode projects for each sample and one big one for TestCpp.
You can also find it on github: https://github.com/cocos2d/cocos2d-x/tree/master/samples