Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 cocos2d 制作一个小游戏。
现在我想删除屏幕左下角显示的值。
像这样
[[Director sharedDirector] setDisplayFPS:NO];
这是帧率显示。
这不是你的加速度或重力的问题。它是帧速率。要删除该帧速率,请尝试这样。
在 AppDelegate.m
你可以找到这样的线..
[director setDisplayFPS:YES];
将其更改为:
[director setDisplayFPS:NO];