Hi,
I've been working with the Paster plugin to create a fancy pageflip animation when I came across a bug when using spritesheeted images with Canvas2d instead of WebGL (the current project required it).
The bug itself is very minor, but it took me some time to find the culprit! The offset of the frame in the spritesheet isn't set correctly (when using canvas2d).
I'm too new to post links or PM you, so I'll type it out. I've added the underlined code to fix the problem.
Runtime.js line 595
if (sprite && sprite.spritesheeted)
{
this.points[0].x=x1;
this.points[0].y=y1;
this.points[0].u=sprite.offx;
this.points[0].v=sprite.offy;
this.points[1].x=x2;
this.points[1].y=y2;
this.points[1].u=sprite.offx + sprite.width;
this.points[1].v=sprite.offy;
this.points[2].x=x3;
this.points[2].y=y3;
this.points[2].u=sprite.offx + sprite.width;
this.points[2].v=sprite.offy + sprite.height;
this.points[3].x=x4;
this.points[3].y=y4;
this.points[3].u=sprite.offx;
this.points[3].v=sprite.offy + sprite.height;
}
Hope this helps!
EDIT: Also, thanks so much for this plugin, it's awesome!