Lots more things.

Got Puller integrated.
Need to make Puller shape responsive.
NEED MOAR PERFORMANCE. Somehow...

Overall module is pretty neat I think... just needs lots of refinement
This commit is contained in:
Amadeus Demarzi
2014-07-25 03:09:17 -07:00
parent afc8e3dbdf
commit 222cf2012b
12 changed files with 2465 additions and 11 deletions

View File

@@ -84,8 +84,10 @@ Engine.Polygon.prototype = {
this.c.pos.y * scale >> 0
);
ctx.closePath();
ctx.fillStyle = this.fillStyle;
ctx.fill();
if (!this.noFill) {
ctx.fillStyle = this.fillStyle;
ctx.fill();
}
if (!this.simple) {
ctx.lineWidth = 0.25 * scale;
ctx.strokeStyle = this.strokeStyle;