Нью баланс
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Boulder\nRock+Rock\nVery heavy. High damage"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.4, 0)
|
||||
_tooltip.modulate = Color(1.0, 0.95, 0.8)
|
||||
|
||||
+3
-3
@@ -89,13 +89,13 @@ func setup(type: String, wave: int) -> void:
|
||||
match type:
|
||||
"slime":
|
||||
move_speed = 2.8 + wave * 0.12
|
||||
health = 25 + wave * 4
|
||||
health = 40 + wave * 4
|
||||
score_value = 10
|
||||
damage_to_player = 8
|
||||
enemy_level = 1
|
||||
"bat":
|
||||
move_speed = 5 + wave * 0.15
|
||||
health = 40 + wave * 2
|
||||
health = 100 + wave * 2
|
||||
score_value = 20
|
||||
damage_to_player = 6
|
||||
base_scale = 0.7
|
||||
@@ -107,7 +107,7 @@ func setup(type: String, wave: int) -> void:
|
||||
#mesh_node1.set_visible(true)
|
||||
"ogre":
|
||||
move_speed = 3 + wave * 0.08
|
||||
health = 150 + wave * 12
|
||||
health = 200 + wave * 12
|
||||
score_value = 50
|
||||
damage_to_player = 18
|
||||
base_scale = 1.5
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Magic Essence\nKick into\nEnchanting Table → Sphere"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.2, 0)
|
||||
_tooltip.modulate = Color(0.85, 0.7, 1.0)
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ var kick_tier: int = 0
|
||||
var toughness_tier: int = 2
|
||||
var state: State = State.IDLE
|
||||
var fly_vel: Vector3 = Vector3.ZERO
|
||||
var health: float = 80.0
|
||||
var health: float = 400.0
|
||||
var dead: bool = false
|
||||
var damage_modifier: float = 0.9
|
||||
|
||||
@@ -34,7 +34,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Iron\nHeavy weapon\n+Leather → Iron Shield\nForge → Metal Plate"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.1, 0)
|
||||
_tooltip.modulate = Color(1.0, 0.95, 0.8)
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Leather\n+Stick → Boots\n+Rock → Leather Armor\n+Iron → Iron Shield"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.0, 0)
|
||||
_tooltip.modulate = Color(1.0, 0.95, 0.8)
|
||||
|
||||
+5
-5
@@ -10,7 +10,7 @@ const CAM_DIST := 8.0
|
||||
const MOUSE_SENS := 0.18
|
||||
const PITCH_MIN := 5.0
|
||||
const PITCH_MAX := 70.0
|
||||
const SPAWN_TIME := 10
|
||||
const SPAWN_TIME := 5
|
||||
|
||||
var arena_size: float = 14.0
|
||||
var cam_yaw: float = 0.0
|
||||
@@ -149,7 +149,7 @@ var rocks_on_field: int = 0
|
||||
var rocks_pending: int = 0
|
||||
|
||||
func _get_rock_limit() -> int:
|
||||
return mini(2 + (wave + 1) / 2, 7)
|
||||
return mini(3 + (wave + 1) / 2, 7)
|
||||
|
||||
func _spawn_rocks() -> void:
|
||||
var limit := _get_rock_limit()
|
||||
@@ -158,7 +158,7 @@ func _spawn_rocks() -> void:
|
||||
|
||||
var sticks_on_field: int = 0
|
||||
var sticks_pending: int = 0
|
||||
const STICK_LIMIT := 2
|
||||
const STICK_LIMIT := 3
|
||||
|
||||
func _spawn_sticks() -> void:
|
||||
for i in range(STICK_LIMIT):
|
||||
@@ -177,7 +177,7 @@ func _on_stick_destroyed() -> void:
|
||||
return
|
||||
if sticks_on_field + sticks_pending < STICK_LIMIT:
|
||||
sticks_pending += 1
|
||||
await get_tree().create_timer(20.0).timeout
|
||||
await get_tree().create_timer(10.0).timeout
|
||||
sticks_pending -= 1
|
||||
if game_active:
|
||||
_spawn_single_stick()
|
||||
@@ -213,7 +213,7 @@ func _on_rock_destroyed() -> void:
|
||||
return
|
||||
if rocks_on_field + rocks_pending < _get_rock_limit():
|
||||
rocks_pending += 1
|
||||
await get_tree().create_timer(20.0).timeout
|
||||
await get_tree().create_timer(10.0).timeout
|
||||
rocks_pending -= 1
|
||||
if game_active:
|
||||
_spawn_single_rock()
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ signal health_changed(current: int, maximum: int)
|
||||
@export var kick_force: float = 60.0
|
||||
@export var kick_cooldown: float = 0.6
|
||||
@export var kick_angle: float = 60.0
|
||||
@export var max_health: int = 100
|
||||
@export var max_health: int = 300
|
||||
|
||||
var health: int = max_health
|
||||
var kick_tier: int = 0
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Rock\n+Rock → Boulder\n+Stick → Wood Shield"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.1, 0)
|
||||
_tooltip.modulate = Color(1.0, 0.95, 0.8)
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ func _ready() -> void:
|
||||
_tooltip = Label3D.new()
|
||||
_tooltip.text = "Stick\n+Leather → Boots\n+Stick → Stick Armor\n+Rock → Wood Shield"
|
||||
_tooltip.billboard = BaseMaterial3D.BILLBOARD_ENABLED
|
||||
_tooltip.font_size = 28
|
||||
_tooltip.font_size = 56
|
||||
_tooltip.outline_size = 6
|
||||
_tooltip.position = Vector3(0, 1.2, 0)
|
||||
_tooltip.modulate = Color(1.0, 0.95, 0.8)
|
||||
|
||||
Reference in New Issue
Block a user