public override bool applicationDidFinishLaunching() { //��ʼ��CCDirector CCDirector pDirector = CCDirector.sharedDirector(); pDirector.setOpenGLView(); //�Ƿ���ʾFPS��ÿ��֡���ʣ� pDirector.DisplayFPS = true; // ����������Updata�ļ�� pDirector.animationInterval = 1.0 / 60; // ����һ������ CCScene pScene = new TestScene(); // ����������� pDirector.runWithScene(pScene); return true; }
public override bool applicationDidFinishLaunching() { //初始化CCDirector CCDirector pDirector = CCDirector.sharedDirector(); pDirector.setOpenGLView(); //是否显示FPS(每秒帧速率) pDirector.DisplayFPS = true; // 在这里设置Updata的间隔 pDirector.animationInterval = 1.0 / 60; // 创建一个场景 CCScene pScene = new TestScene(); // 运行这个场景 pDirector.runWithScene(pScene); return(true); }