playcanvas / playcanvas/engine

Audio Track Events

Open
#4,817 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: audio enhancement
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

While developing our games we find ourselves often in a position where we need to time certain events (like starting an animation or effect) with specific audio cues. Especially during voice overs in our tutorials we want to guide our players to specific parts of our game/ui. At the moment we need to manually create timeouts for these. This is a tedious process and prone to errors if anything changes.

It would be awesome to be able to set up events on audio tracks, similar to how we can already add events to animation tracks. Maybe the sound instance, sound slot or sound component could then propagate them. That would make it a lot easier for non-coder to set up these game flows.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the existing animation track event system and then compare how audio tracks, sound instances, sound slots, and sound components are represented. Done should include a defined way for audio cues to trigger events that non-coders can configure for game flows.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.