Converted Objective C to C++ codes

Converted Objective C to C++ codes
0.0 0


Objective C C++
object.position.x object->getPosition().x

Work in progress


may works for you.


oh crap, tnx for the correction. This thread is intended for new game programmer having a hard time converting objective c to c**. Currently while I’m learning and studying cocos2d-x or c** in general using cocos2d/objective c based tutorials I try to post some of the objective c that I’ve understood and try to convert them to c++.