this.x = -1;
this.y = -1; // can be fractional
- this.zoom = 32; // pixels wide the images are to be
+ this.zoom = 32; // pixels wide the shards are to be
this.updateEdges();
}
// prototypes, some less... notable? methods are
const img = new Image(32, 32);
const name = round.value.join('_');
- img.src = name + '.png';
+ img.src = 'Chunks/' + name + '.png';
decode(img, loadedImage => {
this.place(img, round.value[0], round.value[1]);