diff --git a/test_uphone/tests/ParticleTest/ParticleTest.cpp b/test_uphone/tests/ParticleTest/ParticleTest.cpp index 48ba15d263..d9c293db07 100644 --- a/test_uphone/tests/ParticleTest/ParticleTest.cpp +++ b/test_uphone/tests/ParticleTest/ParticleTest.cpp @@ -139,7 +139,7 @@ void DemoBigFlower::onEnter() m_background->addChild(m_emitter, 10); m_emitter->release(); // win32 : use this line or remove this line and use autorelease() - m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_star1_scale) ); + m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_stars1) ); m_emitter->setDuration(-1); @@ -223,7 +223,7 @@ void DemoRotFlower::onEnter() m_background->addChild(m_emitter, 10); m_emitter->release(); // win32 : Remove this line - m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_star2_scale) ); + m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_stars2) ); // duration m_emitter->setDuration(-1); @@ -349,7 +349,7 @@ void DemoExplosion::onEnter() m_emitter = CCParticleExplosion::node(); m_background->addChild(m_emitter, 10); - m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_star1_scale) ); + m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_stars1) ); m_emitter->setIsAutoRemoveOnFinish(true); @@ -528,7 +528,7 @@ void DemoModernArt::onEnter() m_emitter->setEndSizeVar(8.0f); // texture - m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_fire_scale) ); + m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_fire) ); // additive m_emitter->setIsBlendAdditive(false); @@ -554,7 +554,7 @@ void DemoRing::onEnter() m_background->addChild(m_emitter, 10); - m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_star1_scale) ); + m_emitter->setTexture( CCTextureCache::sharedTextureCache()->addImage(s_stars1) ); m_emitter->setLifeVar(0); m_emitter->setLife(10); m_emitter->setSpeed(100); diff --git a/test_uphone/tests/testResource.h b/test_uphone/tests/testResource.h index 234bae7ccf..27f45de83a 100644 --- a/test_uphone/tests/testResource.h +++ b/test_uphone/tests/testResource.h @@ -15,10 +15,11 @@ static const char s_back1[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Imag static const char s_back2[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/background2.png"; static const char s_back3[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/background3.png"; static const char s_stars1[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars.png"; +static const char s_stars2[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars2.png"; static const char s_fire[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/fire.png"; static const char s_snow[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/snow.png"; -static const char s_star1_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars.png"; -static const char s_star2_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars2.png"; -static const char s_fire_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/fire.png"; +// static const char s_star1_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars.png"; +// static const char s_star2_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/stars2.png"; +// static const char s_fire_scale[] = "/NEWPLUS/TDA_DATA/Data/cocos2d_tests/Images/fire.png"; #endif diff --git a/test_uphone/tests/tests_post_commond.bat b/test_uphone/tests/tests_post_commond.bat index 1e5bdc36e9..8d32a0fa77 100644 --- a/test_uphone/tests/tests_post_commond.bat +++ b/test_uphone/tests/tests_post_commond.bat @@ -1,3 +1,5 @@ mkdir D:\Work7\NEWPLUS\TDA_DATA\Data\cocos2d_tests\Images copy .\Res\Images\*.* D:\Work7\NEWPLUS\TDA_DATA\Data\cocos2d_tests\Images -copy .\Res\Images\fire.png D:\Work7\NEWPLUS\TDA_DATA\UserData \ No newline at end of file +copy .\Res\Images\fire.png D:\Work7\NEWPLUS\TDA_DATA\UserData +copy .\Res\Images\fps_images.png D:\Work7\NEWPLUS\TDA_DATA\UserData +copy .\Res\Images\HelloWorld.png D:\Work7\NEWPLUS\TDA_DATA\UserData \ No newline at end of file