delete files in nickes
This commit is contained in:
@@ -128,10 +128,10 @@ func _update_z_position(_delta):
|
||||
if sprite:
|
||||
sprite.position.y = -position_z * 0.5
|
||||
|
||||
# Update shadow based on height
|
||||
# Update shadow based on height (use same logic as base class _update_client_visuals for consistency)
|
||||
if shadow:
|
||||
var shadow_scale = 1.0 - (position_z / 50.0) * 0.5
|
||||
shadow.scale = Vector2.ONE * max(0.3, shadow_scale) * Vector2(0.8, 0.4)
|
||||
shadow.scale = Vector2.ONE * max(0.3, shadow_scale)
|
||||
shadow.modulate.a = 0.5 - (position_z / 50.0) * 0.2
|
||||
|
||||
func _update_client_visuals():
|
||||
|
||||
Reference in New Issue
Block a user