Feat/14 movement overhaul #20

Merged
Dotts merged 86 commits from feat/14-movement-overhaul into main 2026-07-17 10:44:23 -07:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit ade3d54d20 - Show all commits
+2 -2
View File
@@ -192,10 +192,10 @@ func apply_skin(skin: PlayerSkin) -> void:
skin_model = null skin_model = null
_apply_color(skin.color_tint) _apply_color(skin.color_tint)
func _set_procedural_visible(visible: bool) -> void: func _set_procedural_visible(is_visible: bool) -> void:
for part in [torso, head, upper_arm_l, lower_arm_l, upper_arm_r, lower_arm_r, thigh_l, calf_l, thigh_r, calf_r]: for part in [torso, head, upper_arm_l, lower_arm_l, upper_arm_r, lower_arm_r, thigh_l, calf_l, thigh_r, calf_r]:
if part: if part:
part.visible = visible part.visible = is_visible
func _apply_color(col: Color) -> void: func _apply_color(col: Color) -> void:
var mat = StandardMaterial3D.new() var mat = StandardMaterial3D.new()
+1 -1
View File
@@ -33,7 +33,7 @@ func _ready() -> void:
dps_label.modulate = Color(1, 0.8, 0) dps_label.modulate = Color(1, 0.8, 0)
add_child(dps_label) add_child(dps_label)
func take_damage(amount: float, hit_position: Vector3, source: Node = null, impulse: Vector3 = Vector3.ZERO) -> void: func take_damage(amount: float, hit_position: Vector3, source: Node = null, _impulse: Vector3 = Vector3.ZERO) -> void:
var now = Time.get_ticks_msec() / 1000.0 var now = Time.get_ticks_msec() / 1000.0
damage_history.append({"time": now, "amount": amount}) damage_history.append({"time": now, "amount": amount})