当前位置: 首页>>代码示例>>C++>>正文


C++ CCScene::release方法代码示例

本文整理汇总了C++中CCScene::release方法的典型用法代码示例。如果您正苦于以下问题:C++ CCScene::release方法的具体用法?C++ CCScene::release怎么用?C++ CCScene::release使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CCScene的用法示例。


在下文中一共展示了CCScene::release方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: nextCallback

void EaseSpriteDemo::nextCallback(CCObject* pSender)
{
	CCScene* s = new EaseActionsTestScene();//CCScene::node();
	s->addChild( nextEaseAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:ccjimmy,项目名称:TweeJump4wp8,代码行数:7,代码来源:EaseActionsTest.cpp

示例2: nextCallback

void CommonDemo::nextCallback(CCObject* pSender)
{
    CCScene* s = new CommonTestScene();
    s->addChild( nextAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:DavidYangNO1,项目名称:cocos2dx-better,代码行数:7,代码来源:CommonTest.cpp

示例3: backCallback

void TextInputTest::backCallback(CCObject* pSender)
{
    CCScene* s = new TextInputTestScene();
    s->addChild( backTextInputTest() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:Bahamut,项目名称:cocos2d-x,代码行数:7,代码来源:TextInputTest.cpp

示例4: backCallback

void ActionsDemo::backCallback(NSObject* pSender)
{
    CCScene* s = new ActionsTestScene();
    s->addChild( BackAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:shootan,项目名称:Terraria,代码行数:7,代码来源:ActionsTest.cpp

示例5: backCallback

void TestCocosNodeDemo::backCallback(CCObject* pSender)
{
	CCScene* s = new CocosNodeTestScene();//CCScene::node();
	s->addChild( backCocosNodeAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
} 
开发者ID:issamux,项目名称:WebGame,代码行数:7,代码来源:CocosNodeTest.cpp

示例6: nextCallback

void ActionManagerTest::nextCallback(CCObject* pSender)
{
	CCScene* s = new ActionManagerTestScene();
	s->addChild( nextActionManagerAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:9miao,项目名称:cocos2dx-win8,代码行数:7,代码来源:ActionManagerTest.cpp

示例7: backCallback

void ShopScheduleTest::backCallback(CCObject* pSender)
{
    CCScene* s = new ShopScheduleTestScene();
    s->addChild( backShopScheduleTest() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:groovenauts,项目名称:libgss_cocos2dx_sample,代码行数:7,代码来源:ShopScheduleTest.cpp

示例8: restartCallback

void AnimDemo::restartCallback(CCObject* pSender)
{
    CCScene* s = new AnimTestScene();
    s->addChild( restartAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:Cocos2d-x-vn,项目名称:cocos2dx-better,代码行数:7,代码来源:AnimTest.cpp

示例9: nextCallback

void ArmatureTestLayer::nextCallback(CCObject* pSender)
{
	CCScene* s = new ArmatureTestScene();
	s->addChild( NextTest() );
	CCDirector::sharedDirector()->replaceScene(s);
	s->release();
}
开发者ID:binarycooker,项目名称:cocos2d-x,代码行数:7,代码来源:ArmatureScene.cpp

示例10: backCallback

void ParticleDemo::backCallback(CCObject* pSender)
{
	CCScene* s = new ParticleTestScene();
	s->addChild( backParticleAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
} 
开发者ID:Openxlive,项目名称:cocos2d-x-win8-tests-metro-style,代码行数:7,代码来源:ParticleTest.cpp

示例11: backCallback

void MotionStreakTest::backCallback(CCObject* pSender)
{
    CCScene* s = new MotionStreakTestScene;//CCScene::create();
    s->addChild( backMotionAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
} 
开发者ID:wenhulove333,项目名称:ScutServer,代码行数:7,代码来源:MotionStreakTest.cpp

示例12: nextCallback

void ParallaxDemo::nextCallback(CCObject* pSender)
{
    CCScene* s = new ParallaxTestScene();
    s->addChild( nextParallaxAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:haiweizhang,项目名称:MyCocos2d-xV2.0,代码行数:7,代码来源:ParallaxTest.cpp

示例13: backCallback

void EffectAdvanceTextLayer::backCallback(CCObject* pSender)
{
    CCScene* s = new EffectAdvanceScene();
    s->addChild( backEffectAdvanceAction() );
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
} 
开发者ID:ZheNanXu,项目名称:Billiard-2D,代码行数:7,代码来源:EffectsAdvancedTest.cpp

示例14: backCallback

void SceneEditorTestLayer::backCallback(CCObject *pSender)
{
    CCScene *s = new SceneEditorTestScene();
    s->addChild(Back());
    CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:fuguelike,项目名称:cocos2d-x,代码行数:7,代码来源:SceneEditorTest.cpp

示例15: nextCallback

void SpriteDemo::nextCallback(CCObject* pSender)
{
	CCScene* s = new ProgressActionsTestScene();
	s->addChild( nextAction() );
	CCDirector::sharedDirector()->replaceScene(s);
    s->release();
}
开发者ID:BigHand,项目名称:cocos2d-x,代码行数:7,代码来源:ProgressActionsTest.cpp


注:本文中的CCScene::release方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。