-1
我有一些問題了解了一些代碼瞭解CreateJs
(function (lib_p, img, cjs) {
var p; // shortcut to reference prototypes
// library properties:
lib_p.properties = {
width: 364,
height: 540,
fps: 20,
color: "#000000",
manifest: [
{src:"img/bot1_l.png", id:"bot1_l"}
]
};
// symbols
(lib_p.bot1_l = function() {
this.initialize(img.bot1_l);
}).prototype = p = new cjs.Bitmap();
p.nominalBounds = new cjs.Rectangle(0,0,116,344);
我在哪裏可以閱讀有關呢?據我所知,是createJS,但我不能老是搞清楚這一切意味着 - 尤其是:
(lib_p, img, cjs)
,(lib_p.bot1_l =函數(){ this.initialize(IMG。 bot1_l); })。prototype = p = new cjs.Bitmap(); p.nominalBounds = new cjs.Rectangle(0,0,116,344);