Sunday, 15 June 2014

android - cocos2dx C++ CCShatteredTiles3D is slow -



android - cocos2dx C++ CCShatteredTiles3D is slow -

i using cocos2dx c++ version 2.0.1 , trying add together shatter effect sprite. when run code see shatter effect slows frame rate downwards tremendously.

ccactioninterval* shatteredtiles = ccshatteredtiles3d::create(20 ,false,ccg(10,10), .5f);

grid[3][3].color->runaction(shatteredtiles);

(by way grid[3][3].color ccsprite)

i go way 60fps 30 code running. wanted on 16 different sprites @ 1 time , makes code run @ 3fps after that. doing wrong have been trying prepare issue total day straight now. help highly appreciated give thanks you.

is there special reason using deprecated version of cocos2dx ? current version 2.2.3 or 3.1. have been bug in build. suggest updating 2.2.3, should take minimum effort. if have reason 2.0.1, seek seeing effect in test-cpp project came cocos2dx. doing prove whether cocos2dx issue or @ end.

android c++ cocos2d-x-2.x

No comments:

Post a Comment