Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disabling the cocos2d-x left down corner texts

In all codes I've written with cocos2d-x there is a part in the screen at left down corner. It has 3 lines. I've found that the first line is for counting nodes in the scene. What exactly it is and how can I remove it from the screen?

like image 564
akrami Avatar asked Feb 17 '23 14:02

akrami


1 Answers

I think the 3rd line is the FPS. for disabling this part, Go to AppDelegate.cpp file , then go to the function: applicationDidFinishLaunching and delete or comment this line:

pDirector->setDisplayStats(true);

OR, set the input value to false

like image 131
kianoosh Avatar answered May 08 '23 09:05

kianoosh