Open UnexomWid opened 2 years ago
After thinking about it for a while, I guess this works just fine:
Tale.Parallel(
Tale.Repeat(0, Tale.Sound.Play("sound"), true)
);
Therefore, I don't think we need a looping option for the sound actions.
@AndrewIGD what are your thoughts?
EDIT: if, for example, a sound channel is used for environmental sound effects which must loop seamlessly, then I can see a use for the loop option. Therefore, this should still be implemented in the future.
While this would work, perhaps even for environmental sound effects, I'd much rather have a loop option for the Play method, it would be much more easier for a beginner and cleaner overall.
An extra parameter should be added to the sound action, such that a specific sound can be looped on a channel. Something like this: