mirror of https://github.com/axmolengine/axmol.git
70000bcc84
* Modified the layer follow action class to include a horizontal (x) and vertical (y) offset on the screen from which the node is to be followed. * Added offsetX and offsetY parameters in Follow::clone() method. * Added test case for follow action with offset. * Made changes to the test case on follow action with offset. * Added new createWithOffset function to create a follow action with offset. * Modified the test case for followWithoffset to use the newly added createWithOffsets function for follow action. * Refined the code for creating follow action with offsets. * Modified test case for follow with offset as per updated create method. * Code refined in createWithOffset method of follow action. * Refined AppController.mm,RootViewController.mm and HelloWorldScene.cpp to load the cocos2d-x scene more effectively.Also included the procedure to dismiss the game scene and navigate back to iOS screen. |
||
---|---|---|
.. | ||
AppDelegate.cpp | ||
AppDelegate.h | ||
HelloWorldScene.cpp | ||
HelloWorldScene.h |