Spaces:
Running
Running
Update game.js
Browse files
game.js
CHANGED
@@ -19,7 +19,7 @@ const GAME_CONSTANTS = {
|
|
19 |
ENEMY_COUNT: 4,
|
20 |
MISSILE_COUNT: 6,
|
21 |
AMMO_COUNT: 940, // 940발로 변경
|
22 |
-
BULLET_DAMAGE:
|
23 |
MAX_HEALTH: 1000 // 체력 1000
|
24 |
};
|
25 |
|
@@ -36,7 +36,7 @@ class Fighter {
|
|
36 |
this.rotation = new THREE.Euler(0, 0, 0);
|
37 |
|
38 |
// 비행 제어
|
39 |
-
this.throttle = 0.
|
40 |
this.speed = 350; // 초기 속도 350kt
|
41 |
this.altitude = 2000;
|
42 |
this.gForce = 1.0;
|
|
|
19 |
ENEMY_COUNT: 4,
|
20 |
MISSILE_COUNT: 6,
|
21 |
AMMO_COUNT: 940, // 940발로 변경
|
22 |
+
BULLET_DAMAGE: 50, // 발당 25 데미지
|
23 |
MAX_HEALTH: 1000 // 체력 1000
|
24 |
};
|
25 |
|
|
|
36 |
this.rotation = new THREE.Euler(0, 0, 0);
|
37 |
|
38 |
// 비행 제어
|
39 |
+
this.throttle = 0.7; // 초기 스로틀 70%
|
40 |
this.speed = 350; // 초기 속도 350kt
|
41 |
this.altitude = 2000;
|
42 |
this.gForce = 1.0;
|