Pocket Counter One-Shot Player 1.0.0 Scripts 4.6 Community
Submitted by user VpitonAI; MIT; 2026-12-04
Play a sound by action name when a player opens a pouch, turns a page, or presses a button. Give each action two or more distinct AudioStreams to avoid an immediate repeat on its next trigger. Each action remembers its own last stream.
Add a PocketCounterPlayer node and populate its Gestures array with PocketCounterGesture resources. Set each resource's Id and Takes, then call play_gesture(&"page_turn") on the player. Max Voices caps overlapping sounds and reuses the oldest voice when needed. Bus and Volume Db control routing and gain.
This download is the MIT-licensed GDScript addon. Tested with Godot 4.6.2. The screenshot shows the separate six-sound demo available from the linked GitHub release. AI assisted the implementation, tests and documentation.
View files Download Submit an issue Recent Edits