Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -305,7 +305,7 @@
|
|
305 |
// Draw player
|
306 |
ctx.font = '24px Arial';
|
307 |
ctx.fillStyle = 'white';
|
308 |
-
ctx.fillText('
|
309 |
|
310 |
// Draw player bullets
|
311 |
ctx.fillStyle = 'yellow';
|
@@ -319,7 +319,7 @@
|
|
319 |
game.enemies.forEach(enemy => {
|
320 |
// Enemy
|
321 |
ctx.fillStyle = 'white';
|
322 |
-
ctx.fillText('
|
323 |
|
324 |
// Health bar
|
325 |
ctx.fillStyle = '#600';
|
|
|
305 |
// Draw player
|
306 |
ctx.font = '24px Arial';
|
307 |
ctx.fillStyle = 'white';
|
308 |
+
ctx.fillText('🐁', game.player.x - 12, game.player.y + 8);
|
309 |
|
310 |
// Draw player bullets
|
311 |
ctx.fillStyle = 'yellow';
|
|
|
319 |
game.enemies.forEach(enemy => {
|
320 |
// Enemy
|
321 |
ctx.fillStyle = 'white';
|
322 |
+
ctx.fillText('🐈', enemy.x - 12, enemy.y + 8);
|
323 |
|
324 |
// Health bar
|
325 |
ctx.fillStyle = '#600';
|