Cocos Creator v2.0.1 版本在 C++ 层面如何获得设备屏幕的像素宽高尺寸？

rohitk
Thu, 28 Feb 2019 06:27:53 +0000

Director class has been removed now. Functions written in Director class are managed by CCApplication.h and also By EventDispatcher like
cocos2d::EventDispatcher::dispatchResizeEvent(width, height);

阅读整个主题