From 34a9b6b18f1db9e21751fbd2a6208006d2a40fcc Mon Sep 17 00:00:00 2001 From: Georgiy Gorin Date: Thu, 23 Apr 2026 16:11:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=8C=D1=8E=20=D0=B1=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D0=BD=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/Boulder.gd | 2 +- scripts/Enemy.gd | 6 +++--- scripts/Essence.gd | 2 +- scripts/Iron.gd | 4 ++-- scripts/Leather.gd | 2 +- scripts/Main.gd | 10 +++++----- scripts/Player.gd | 2 +- scripts/Rock.gd | 2 +- scripts/Stick.gd | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/Boulder.gd b/scripts/Boulder.gd index 2c18b49..ed15de3 100644 --- a/scripts/Boulder.gd +++ b/scripts/Boulder.gd @@ -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) diff --git a/scripts/Enemy.gd b/scripts/Enemy.gd index 4222aae..3c8c93c 100644 --- a/scripts/Enemy.gd +++ b/scripts/Enemy.gd @@ -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 diff --git a/scripts/Essence.gd b/scripts/Essence.gd index 5b6cbb6..5ef3821 100644 --- a/scripts/Essence.gd +++ b/scripts/Essence.gd @@ -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) diff --git a/scripts/Iron.gd b/scripts/Iron.gd index b0d7328..e7a9275 100644 --- a/scripts/Iron.gd +++ b/scripts/Iron.gd @@ -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) diff --git a/scripts/Leather.gd b/scripts/Leather.gd index fd3ac2e..c777b32 100644 --- a/scripts/Leather.gd +++ b/scripts/Leather.gd @@ -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) diff --git a/scripts/Main.gd b/scripts/Main.gd index 3a46cac..ba1afe1 100644 --- a/scripts/Main.gd +++ b/scripts/Main.gd @@ -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() diff --git a/scripts/Player.gd b/scripts/Player.gd index a1e3d59..5590dec 100644 --- a/scripts/Player.gd +++ b/scripts/Player.gd @@ -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 diff --git a/scripts/Rock.gd b/scripts/Rock.gd index 4d7d01c..113f671 100644 --- a/scripts/Rock.gd +++ b/scripts/Rock.gd @@ -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) diff --git a/scripts/Stick.gd b/scripts/Stick.gd index 6f7dcef..93326d6 100644 --- a/scripts/Stick.gd +++ b/scripts/Stick.gd @@ -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)