Item resize

This commit is contained in:
ducdat0507 2022-12-22 22:11:34 +07:00
parent 49c170448a
commit 709d0d2294

View file

@ -769,7 +769,7 @@ const factory = createLayer(id, () => {
(y + yInc * 0.3 + (yInc == 0 ? Math.random() * 0.4 - 0.2 : 0)) * blockSize;
sprite.anchor.set(0.5);
sprite.width = blockSize / 2.5;
sprite.height = blockSize / 5;
sprite.height = blockSize / 2.5;
//console.log(sprite);
const block: Block = {
sprite,