Tuesday, November 8, 2022
HomeGame DevelopmentAdd and take away node trigger efficiency situation in Android - Cocos...

Add and take away node trigger efficiency situation in Android – Cocos Creator


Hello everybody.
Default scroll view with a number of youngsters (for instance, I’ve 1000 objects within the array) makes unhealthy efficiency.
So, I implement recycle listview will pool ( like android listing view with adapter), each scroll, i’ll take away node that’s outdoors guardian node and fill a node to clean. In iOS and internet, the efficiency is nice, however in Android, fps drop down from 59,60 to 35 when scrolling.
Please assist me repair this drawback.




1 Like

In case you publish your recycle listview within the discussion board, individuals who see will probably be completely satisfied that can assist you out.

Thank for reply, right here is my instance:

NewProject_2.zip (2.2 MB)

And right here is display report:

As you may see, i solely add and take away node when scrolling, it means, i don’t replace any youngster view, however the fps nonetheless dropdown.
I take a look at in my android POCO C40, it not good machine, however it’s nonetheless horrible efficiency.

Does anybody should face this drawback?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments