Testing out slight name change.

This commit is contained in:
SnekInAScarf 2026-11-01 10:25:40 -08:00
parent 571196f292
commit 762b25c70b

View file

@ -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)