uhyoooooo
socket.io game engine module
version
0.0.3
usage
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",
});
docs
used module
changelogs
0.0.3-4
- nested-events transfer is corrected
- user event transfer identity is corrected
0.0.3-3
- Better rendering on Game.ClientDOMView; f5 is improved and bug fix
0.0.3-2
- app.init can take Array scripts.
- Game.ClientCanvasView#init, Game.ClientDOMView#init now use DOMContentLoaded.
0.0.3-1
- Game.ClientCanvasView#init, Game.ClientDOMView#init is expanded; can take a callback function.
0.0.3
- 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.
0.0.2
- 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.