Ajustes de camara

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-20 15:19:40 +02:00
1 parent 00804de7d9
commit 0ff8df6a6b
9 files changed
+42 -42

No files matched your search

+6 -6
View File
@@ -25,7 +25,7 @@ enum AttackState {
@export_category("Movement")
@export var move_speed: float = 21.5
@export var move_speed: float = 78.0
@export var max_fall_speed: float = 800.0
@@ -44,11 +44,11 @@ enum AttackState {
## Horizontal distance at which the Walker stops chasing and prepares a hit.
## This is intentionally wider than the final hitbox so entering range does not
## mean taking unavoidable damage.
@export var attack_trigger_distance: float = 63.0
@export var attack_trigger_distance: float = 140.0
## Keeps the Walker from starting a ground attack against a player far above or
## below it.
@export var attack_vertical_tolerance: float = 35.0
@export var attack_vertical_tolerance: float = 80.0
## Readable pause before the dangerous part of the attack starts. During this
## time the direction is locked, so moving behind the enemy is a valid dodge.
@@ -61,10 +61,10 @@ enum AttackState {
@export var attack_recovery_duration: float = 0.30
## Where the hitbox starts, relative to the enemy while facing right.
@export var attack_start_offset: Vector2 = Vector2(17.0, 0.0)
@export var attack_start_offset: Vector2 = Vector2(34.0, 0.0)
## Furthest horizontal position reached by the moving hitbox.
@export var attack_reach: float = 53.0
@export var attack_reach: float = 120.0
## A successful player hit briefly interrupts the Walker. This makes attacking
## during its windup useful instead of forcing an unavoidable damage trade.
@@ -72,7 +72,7 @@ enum AttackState {
## Strength of the knockback applied per point of damage. The final push is
## divided by the enemy's max health, so tougher enemies move less.
@export var knockback_strength: float = 250.0
@export var knockback_strength: float = 400.0
## How long the knockback impulse lasts before friction brings the enemy to a halt.
@export var knockback_duration: float = 0.4