Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide FPS numbers in bottom left of screen in Cocos2d

How do I get rid of the numbers in the bottom left of the screen when I am making a cocos2d game? This is probably a newb question, but still.

like image 635
skippy_winks Avatar asked Apr 05 '11 22:04

skippy_winks


1 Answers

There is a ShowFPS var in one of the files when you create the initial cocos project. But this should work from anywhere:

[[Director sharedDirector] setDisplayFPS:NO];
like image 190
Sup3rpanda Avatar answered Oct 19 '22 02:10

Sup3rpanda