- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://cutjs.org/
- 软件文档: http://cutjs.org/
软件介绍
CutJS 是一个轻量级的、快速的、可交互的 2D HTML5 渲染引擎,用于跨平台的游戏开发。可用来开发 Web 游戏、iOS 和 Android 等游戏。CutJS 是一个开源的 Canvas 库。
示例代码:
// Create new app
Cut(function(root, container) {
// Subscribe to Cut.Mouse
Cut.Mouse(root, container);
// Set view box
root.viewbox(500, 300);
// Create an image node
Cut.image("base:box").appendTo(root)
// on mouse click on this node
.on(Cut.Mouse.CLICK, function(ev, point) {
// Tween scale values of this node
this.tween().clear().pin({
scaleX : Math.random() + 0.5,
scaleY : Math.random() + 0.5
});
return true;
});
});
// Register an image texture
Cut.addTexture({
name : "base",
imagePath : "base.png",
cutouts : [
{ name : "box", x : 0, y : 0, width : 30, height : 30 }
]
});
High Performance Python
Micha Gorelick、Ian Ozsvald / O'Reilly Media / 2014-9-10 / USD 39.99
If you're an experienced Python programmer, High Performance Python will guide you through the various routes of code optimization. You'll learn how to use smarter algorithms and leverage peripheral t......一起来看看 《High Performance Python》 这本书的介绍吧!
