Mercurial > MadButterfly
view nodejs/examples/mce/mbmce.js @ 912:a934ad0c8968
Add the sample app framework. The scene framework will be added latter for multi scene applications.
author | wycc |
---|---|
date | Tue, 19 Oct 2010 04:07:47 +0800 |
parents | |
children | 30cd14b11bc7 |
line wrap: on
line source
// -*- 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(); scene=new main.MainMenu(app); app.loop();