Help creating custom transition class

Help creating custom transition class
0.0 0



I am after some basic help on creating my own custom transition class. I basically want to create a variant of CCTransitionSplitCols but with only two cols. Is it a case of extracting the class CCTransitionSplitCols from cocos2dx / renaming / modifying and adding to my own project to achieve what I want. I don’t want to override methods as I can see my new class working differently in certain parts especially as I further develop it. Examples I have found for custom transitions seem to be mainly cocos2d based rather than cocos2dx and my c++ is a bit rusty. So just some pointers in what to do would be great just to get me started.