socket.io game engine module
0.0.3
var uhyoooooo=require('uhyoooooo'), http=require('http');
var srv=http.createServer();
srv.on("request",function(req,res){
res.serveClient();
});
srv.listen(8080);
var app=uhyoooooo.createServer(srv);
app.init("game.js",{
title: "test game",
});
- nested-events transfer is corrected
- user event transfer identity is corrected
- Better rendering on Game.ClientDOMView; f5 is improved and bug fix
- app.init can take Array scripts.
- Game.ClientCanvasView#init, Game.ClientDOMView#init now use DOMContentLoaded.
- Game.ClientCanvasView#init, Game.ClientDOMView#init is expanded; can take a callback function.
- Game#readfile: at server(node), BOM is removed from the top of text file.
- A bug of reconnection was fixed.
- EventEmitter for browsers are new. Now it's merged into engine.js.
- Game.Timer and Game#getTimer is added.
- Rerendering is improved. Less DOM nodes are rewrited.
- Game#getItem, game#newItem has a new attribute. It can be applied to any object.