Skip to content

feat: add pickup sound effect when collecting drops (fixes #1099)#2908

Open
sungdark wants to merge 1 commit intoFreezingMoon:masterfrom
sungdark:fix/pickup-drop-sfx-1099
Open

feat: add pickup sound effect when collecting drops (fixes #1099)#2908
sungdark wants to merge 1 commit intoFreezingMoon:masterfrom
sungdark:fix/pickup-drop-sfx-1099

Conversation

@sungdark
Copy link
Copy Markdown

Summary

When a creature picks up a drop, a pleasant chime sound now plays.

Changes

  • src/game.ts: Added sounds/pickup to the sound loading paths
  • src/drop.ts: Added game.soundsys.playSFX("sounds/pickup") call in the pickup() method
  • assets/sounds/pickup.ogg: New sound file - ascending 3-note chime (C5-E5-G5)

Testing

  • Sound plays when any creature picks up any drop in the game
  • Sound is preloaded with other game sounds

Bounty

Issue #1099 | 10 XTR bounty
收款地址:eB51DWp1uECrLZRLsE2cnyZUzfRWvzUzaJzkatTpQV9

…on#1099)

- Added 'sounds/pickup' to sound loading paths in game.ts
- Play pickup sound in Drop.pickup() method
- Created pickup.ogg: ascending 3-note chime (C5-E5-G5)
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant