Skip to content

Commit

Permalink
Final towerdefence upt 9/11
Browse files Browse the repository at this point in the history
  • Loading branch information
GreeningSiren committed Nov 17, 2024
1 parent f8c00b8 commit eaacca1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion towerdefence/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function draw() {

// Draw enemies
for (let i = 0; i < enemies.length; i++) {
drawImage(enemyImage, enemies[i].x, enemies[i].y+15, enemies[i].size, enemies[i].size);
drawImage(enemyImage, enemies[i].x, enemies[i].y, enemies[i].size, enemies[i].size);

// Enemy health bar
let w = enemies[i].health * 10;
Expand Down
Binary file modified towerdefence/images/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified towerdefence/images/enemy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified towerdefence/images/tower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eaacca1

Please sign in to comment.