Timeline audio playback

1 favourites
  • 4 posts
From the Asset Store
100+ Musical High Quality Sound Effects for your game!
  • r269 introduces audio tracks to be played in timelines. There are a few caveats which are not obvious about them. Here they are:

    1. The Audio plugin needs to be included in the project. Timelines playing audio use it under the hood, but they do not enforce it's existence in the project.
    2. A timeline can not play audio until there has been any meaningful user input. A single click is enough, but if there is no user input, no audio will be played.
    3. For better results, make sure the audio that is going to be played by a timeline is preloaded before the timeline starts playback.
    4. If a timeline is played backwards by using a negative playback rate, audio will not be played. A timeline will only trigger audio playback when playing with a positive playback rate.
    5. Audio tracks are created with the default audio source property track, but it is also possible to add an optional volume property track by right clicking on the track and selecting the Add properties context menu option.

    I think those are all the less obvious details.

  • is it used for some sort of syncing? like a music rhythm game? I don't entirely grasp what the usage would be.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Technically this is something you could already do, by setting a tag on a master keyframe and then going into an event sheet and setting up an on keyframe reached trigger you could then start playing an audio file in the corresponding action using the audio plugin.

    The audio track just rolls all of that together and you can also see in the timeline bar the amount of time the audio will be playing in relation to everything else going on in the same timeline.

    At least that is the main use case I was thinking about when I was implementing the feature.

  • All improvements to the audio system are very welcome :) It needs love.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)