How to hide FPS numbers in bottom left of screen in Cocos2d - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Thursday, April 5, 2012

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

Question:

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.

Answer : 

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];

No comments:

Post a Comment