Баланс + картинки 3 босс, конец игры

This commit is contained in:
Georgiy Gorin
2026-04-23 16:51:43 +03:00
parent d36a2cf9ec
commit 0d9890c370
14 changed files with 130 additions and 10 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ class_name GameSettings
static var difficulty: String = "immortal"
## enemy spawn interval in seconds
static var enemy_spawn_interval: float = 10.0
static var enemy_spawn_interval: float = 6.0
## item (rock/stick) respawn delay in seconds
static var item_respawn_delay: float = 20.0
static var item_respawn_delay: float = 10.0
+1 -1
View File
@@ -398,7 +398,7 @@ func _start_boss_phase() -> void:
if boss_active or not game_active:
return
boss_active = true
boss_timer = 90.0
boss_timer = 120.0
boss_timer_label.visible = true
boss_hint_label.visible = true
_spawn_portal()
+3 -3
View File
@@ -208,9 +208,9 @@ func _build_difficulty_panel() -> void:
vbox.add_child(hbox)
var spawn_options := [
["Медленно", 15.0, 35.0],
["Нормально", 10.0, 20.0],
["Быстро", 5.0, 8.0],
["Медленно", 10.0, 15.0],
["Нормально", 8.0, 15.0],
["Быстро", 6.0, 10.0],
]
var spawn_btns: Array[Button] = []
for opt in spawn_options:
+1 -1
View File
@@ -180,7 +180,7 @@ func _do_kick() -> void:
var obj_toughness: int = best.get("toughness_tier") if best.get("toughness_tier") != null else 0
var diff_tier := kick_tier - obj_toughness
var force: float
if GameSettings.difficulty == "survival":
if GameSettings.difficulty == "immortal":
force = 50.0
elif diff_tier < 0:
force = 15.0