little optimize

This commit is contained in:
Anton Lavrenov
2023-06-05 10:25:36 -05:00
parent d410ceee24
commit 72cbc8d289
3 changed files with 13 additions and 8 deletions

View File

@@ -96,6 +96,7 @@
perfectDrawEnabled: false,
width: wabbitTexture.width,
height: wabbitTexture.height,
fill: 'yellow',
});
bunny.speedX = Math.random() * 10;