Add short fade-in ramp to local movement footsteps
This commit is contained in:
@@ -1136,7 +1136,7 @@ function handleMovement(): void {
|
||||
persistPlayerPosition();
|
||||
state.player.lastMoveTime = now;
|
||||
void refreshAudioSubscriptions(true);
|
||||
void audio.playSample(randomFootstepUrl(), FOOTSTEP_GAIN);
|
||||
void audio.playSample(randomFootstepUrl(), FOOTSTEP_GAIN, 40);
|
||||
signaling.send({ type: 'update_position', x: nextX, y: nextY });
|
||||
|
||||
const namesOnTile = getPeerNamesAtPosition(nextX, nextY);
|
||||
|
||||
Reference in New Issue
Block a user