0
Easejを使用して小さなスネークブラウザゲームを作成しています。Easeljs埋め込みにビットマップを使用する
今、私たちは蛇の部品だけでなく、色のPNG画像を使用したい:
this.shape.graphics.beginFill("#e54d42");
this.shape.graphics.drawRect(this.x*this.grid.cell_width, this.y*this.grid.cell_height, this.grid.cell_width, this.grid.cell_height);
this.shape.graphics.endFill();
誰もがそれを行う方法を知っていますか? beginBitmapFillを使うか、どうやってやるのですか?