diff nodejs/examples/scene/scene.js @ 979:380464725e75

Add scene demo program
author wycc
date Sat, 20 Nov 2010 20:04:48 +0800
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nodejs/examples/scene/scene.js	Sat Nov 20 20:04:48 2010 +0800
@@ -0,0 +1,11 @@
+// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
+// vim: sw=4:ts=8:sts=4
+var svg = require("svg");
+var mbapp = require("mbapp");
+var sys=require("sys");
+var animate=require("animate");
+var fs = require("fs");
+var main=require("./mainmenu");
+app = new mbapp.app(":0.0",800,600);
+scene=new main.MainMenu(app);
+app.loop();