Spaces:
Running
Running
cutechicken
commited on
Commit
β’
c4ac838
1
Parent(s):
540deca
Update game.js
Browse files
game.js
CHANGED
@@ -1849,7 +1849,7 @@ this.enemies.forEach(enemy => {
|
|
1849 |
|
1850 |
// μ μμΉλ₯Ό νλ©΄ μ’νλ‘ λ³ν
|
1851 |
const enemyPosition = enemy.mesh.position.clone();
|
1852 |
-
enemyPosition.y +=
|
1853 |
|
1854 |
const screenPosition = enemyPosition.project(this.camera);
|
1855 |
|
|
|
1849 |
|
1850 |
// μ μμΉλ₯Ό νλ©΄ μ’νλ‘ λ³ν
|
1851 |
const enemyPosition = enemy.mesh.position.clone();
|
1852 |
+
enemyPosition.y += 5; // μ 머리 μμ νμνκΈ° μν΄ λμ΄ μ‘°μ
|
1853 |
|
1854 |
const screenPosition = enemyPosition.project(this.camera);
|
1855 |
|