摘要:
3.20 内存及效率的一些总结3.21 设置竖屏1、androidAndroidManifest.xml文件中,screenOrientation="landscape" 为横屏,screenOrientation="portrait"为竖屏2、IOS-(NSUInteger)supportedInterfaceOrientations{ #ifdef__IPHONE_6_0 //横屏显示 //returnUIInterfaceOrientationMaskLandscape; //竖屏显示 returnUIInterfaceOrientationMas 阅读全文
摘要:
CCProgressTimer * pross = CCProgressTimer::create(CCSprite::create("Icon.png")); pross->setPosition(ccp(100,180)); //设置进度条的样式 扇形 pross->setType( kCCProgressTimerTypeRadial); //设置进度值范围[0,100] pross->setPercentage(100); //反进度计时 pross->setReverseProgress... 阅读全文