CCFollow is an action that “follows” a node. Eg: layer->runAction(CCFollow::actionWithTarget(hero)); Instead of using CCCamera as a “follower”, use this action instead.
Getting Started
Modding Tutorials
Geode Mods
Handbook
An Introduction to GD Modding (using Geode)