Spaces:
Running
Running
cutechicken
commited on
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -341,7 +341,7 @@
|
|
341 |
});
|
342 |
bullets.forEach(bullet => {
|
343 |
ctx.beginPath();
|
344 |
-
ctx.fillStyle = bullet.isEnemy ? 'red' : '
|
345 |
ctx.arc(bullet.x, bullet.y, bullet.size, 0, Math.PI * 2);
|
346 |
ctx.fill();
|
347 |
});
|
|
|
341 |
});
|
342 |
bullets.forEach(bullet => {
|
343 |
ctx.beginPath();
|
344 |
+
ctx.fillStyle = bullet.isEnemy ? 'red' : 'blue';
|
345 |
ctx.arc(bullet.x, bullet.y, bullet.size, 0, Math.PI * 2);
|
346 |
ctx.fill();
|
347 |
});
|