Mercurial > MadButterfly
view nodejs/examples/mce/mbmce.js @ 1450:6644ef3d75eb
Add get_child method for coord in JS
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 13 Apr 2011 14:36:32 +0800 |
parents | e18c51c1c48f |
children |
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(":0.0",1920,1080); app.setFrameRate(50); scene=new main.MainMenu(app); app.loop();