From 762b25c70b5c8b32d0138d0d5fddbd6b3142a1a6 Mon Sep 17 00:00:00 2001 From: SnekInAScarf Date: Sun, 1 Nov 2026 10:25:40 -0800 Subject: [PATCH] Testing out slight name change. --- Characters/player.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Characters/player.gd b/Characters/player.gd index 7084a70..14afe0e 100755 --- a/Characters/player.gd +++ b/Characters/player.gd @@ -37,7 +37,7 @@ const HOP_NO_CEILING_HEIGHT = 16.0 # Floor hop with nothing in reach, so you can const HOP_OVERSHOOT = 2.0 # Aim slightly past the surface so we arrive with some speed and stick. const ROTATE_TO_SURFACE_SPEED = 25.0 -const MIN_LAND_SPEED = 60.0 # Slower landings don't splat. +const MIN_LAND_SPEED_FOR_SPLAT = 60.0 const LAND_PITCH_MIN = 0.87 const LAND_PITCH_MAX = 1.15 @@ -153,7 +153,7 @@ func _physics_process(delta: float) -> void: var landedOnSomething := wasInAir and normal != Vector2.ZERO if landedOnSomething: var impactSpeed := velocityBeforeMove.dot(-normal) - if impactSpeed >= MIN_LAND_SPEED: + if impactSpeed >= MIN_LAND_SPEED_FOR_SPLAT: _splat(normal) _update_sprite_rotation(delta)