Decreased enemy health. Increased player health. Increased enemy spawn delay. Fixed enemy weapon count generation

This commit is contained in:
2026-01-03 01:04:43 +03:00
parent 75c072db5d
commit 5bd04f131e
6 changed files with 8 additions and 8 deletions
@@ -54,7 +54,7 @@ offset_top = 27.0
offset_bottom = 27.0 offset_bottom = 27.0
[node name="Health" parent="." index="1"] [node name="Health" parent="." index="1"]
max_hull = 200 max_hull = 100
[node name="First" type="Node2D" parent="WeaponSlots" index="0"] [node name="First" type="Node2D" parent="WeaponSlots" index="0"]
position = Vector2(-8, 0) position = Vector2(-8, 0)
@@ -54,7 +54,7 @@ offset_top = 19.0
offset_bottom = 19.0 offset_bottom = 19.0
[node name="Health" parent="." index="1"] [node name="Health" parent="." index="1"]
max_hull = 100 max_hull = 50
[node name="First" type="Node2D" parent="WeaponSlots" index="0"] [node name="First" type="Node2D" parent="WeaponSlots" index="0"]
position = Vector2(4, -8) position = Vector2(4, -8)
@@ -54,7 +54,7 @@ offset_top = 11.0
offset_bottom = 11.0 offset_bottom = 11.0
[node name="Health" parent="." index="1"] [node name="Health" parent="." index="1"]
max_hull = 50 max_hull = 25
[node name="First" type="Node2D" parent="WeaponSlots" index="0"] [node name="First" type="Node2D" parent="WeaponSlots" index="0"]
position = Vector2(5, 0) position = Vector2(5, 0)
+2 -2
View File
@@ -75,8 +75,8 @@ offset_bottom = 19.0
position = Vector2(-11, 0) position = Vector2(-11, 0)
[node name="Health" parent="." index="1"] [node name="Health" parent="." index="1"]
max_shield = 250 max_shield = 500
max_hull = 1000 max_hull = 2000
[node name="First" type="Node2D" parent="WeaponSlots" index="0"] [node name="First" type="Node2D" parent="WeaponSlots" index="0"]
position = Vector2(-2, -8) position = Vector2(-2, -8)
+1 -1
View File
@@ -72,4 +72,4 @@ func _full_scene(data: EnemyData, type: EnemyType) -> void:
func _full_weapon(data: EnemyData, type: EnemyType) -> void: func _full_weapon(data: EnemyData, type: EnemyType) -> void:
data.weapon_count = randi_range(1, ENEMY_MAX_WEAPON_COUNT[type]) data.weapon_count = weapon_rng.randi_range(1, ENEMY_MAX_WEAPON_COUNT[type])
+2 -2
View File
@@ -2,8 +2,8 @@ class_name PassageGenerator
extends Node extends Node
const ENEMY_DELAY_MEAN = 3.0 const ENEMY_DELAY_MEAN = 5.0
const ENEMY_DELAY_DEVIATION = 2.0 const ENEMY_DELAY_DEVIATION = 3.0
const LENGTH_MEAN = 300.0 const LENGTH_MEAN = 300.0
const LENGTH_DEVIATION = 50.0 const LENGTH_DEVIATION = 50.0