Cocos2D-x : File Template for Creating a new Game Scene

Hi All ! I have found that, in cocos2D-x, developer has to copy and paste GameScene files & then modify it again and again for each scene you create for your game.
Using following source code, one does not need to copy-paste-edit your existing game-scene for creating a new game-scene in cocos2d-x.
Create a new file with following contents which represents a default game-scene structure & logic. r>Cocos2D-x Add Scrollview

Leave a Reply

Your email address will not be published. Required fields are marked *