changeset 1448:e18c51c1c48f

Add setFrameRate
author wycc
date Mon, 11 Apr 2011 20:26:18 +0800
parents b916bb0dc7ca
children ef3908d9a3d2
files nodejs/examples/mce/mbmce.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/examples/mce/mbmce.js	Mon Apr 11 20:25:44 2011 +0800
+++ b/nodejs/examples/mce/mbmce.js	Mon Apr 11 20:26:18 2011 +0800
@@ -7,5 +7,6 @@
 var fs = require("fs");
 var main=require("./mainmenu");
 app = new mbapp.app(":0.0",1920,1080);
+app.setFrameRate(50);
 scene=new main.MainMenu(app);
 app.loop();