Open SeptemHuang opened 3 years ago
Could you attach code to reproduce an issue?
Yeah, the code is some thing just like that Make the draw call higher will easier to see the fps drop in v4
Could you attach code to reproduce an issue?
auto scene = Scene::create(); auto layer = Layer::create(); layer->setPosition(Director::getInstance()->getVisibleOrigin()); scene->addChild(layer); auto visibleSize = Director::getInstance()->getVisibleSize(); for (int i=0 ; i<3000 ; i++) { Sprite *sprite = Sprite::createWithSpriteFrameName("test.png"); sprite->setPosition(Vec2(random(0, (int)visibleSize.width), random(0, (int)visibleSize.height))); sprite->setScale(0.5); layer->addChild(sprite); Label *label = Label::createWithSystemFont(StringUtils::format("%d", i), "Arial", 15); sprite->addChild(label); } Director::getInstance()->runWithScene(scene);
any progress here?
any progress here?
No, I start to doubt the cocos2d team was gave up to maintain cocos2dx.
any progress here?
No, I start to doubt the cocos2d team was gave up to maintain cocos2dx. you maybe right, the official team has given up the cocos2dx project, it is a pity
Steps to Reproduce:
v4 fps much lower than v3.17
video link: v4 https://imgur.com/Eu2EHsH
v3.17 https://imgur.com/rGtFuQ6