Why using static function to create Objects like scene, menu etc in cocos2d-x? Is it same in Cocos2d for iphone?
Will it cause problems if I use C*+ ways eg. ‘new’,‘delete’ to handle the objects? If static function is the only way or safe way to create those objects, I don’t think it is a good design because it breaks the flexibility of C*+ programing and increases the studying cost for cocos2dx.