Commit Graph

6 Commits

Author SHA1 Message Date
Will Thompson 96eaa49fbb Bind AudioStreamInteractive TRANSITION_TO_TIME_PREVIOUS_POSITION
In C++, enum AudioStreamInteractive::TransitionToTime has three "real"
members, plus MAX. Previously only TRANSITION_TO_TIME_SAME_POSITION and
TRANSITION_TO_TIME_START were bound for GDScript. But
TRANSITION_TO_TIME_PREVIOUS_POSITION can be set via the editor, so can
easily appear in an AudioStreamInteractive resource without needing to
drop down to C++. I can't see anything to suggest that it was
deliberately not exposed.

Bind this enum member. Add documentation.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-04-28 21:14:35 +01:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Akosmo 6b8eb8ebf1 Add missing info to some AudioStream docs 2026-02-28 12:04:08 -03:00
Micky 5c5460b026 Fix many untagged true/false/null in the documentation 2024-11-10 11:26:39 +01:00
bobby-the-epic 7e1bc00193 Fix grammar in AudioStreamInteractive.xml
Minor grammar fix to make the sentences flow better.
2024-09-05 17:42:41 -05:00
Juan Linietsky 43b78cd2ad Add interactive music support
This PR adds 3 types of audio streams used for interactive music support.

* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.

Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00