My theme music is repeated indefinitely

Get help using Construct 2

Post » Wed Feb 17, 2016 10:19 am

Hello,

I have a problem, how i do to check is a audio file IS NOT PLAYING ?

I Have a button with 2 states, state 0, state 1.
For every state i'm playing a different theme music (duration about 16 seconds)
But the problem is, my audio file is repeated indefinitely like a mixer table loop function (every tick)

Do you understand ?

Look my example:
Image
http://www.noelshack.com/2016-07-1455703913-exemple.jpg

best regards
B
6
S
1
Posts: 50
Reputation: 502

Post » Wed Feb 17, 2016 12:26 pm

Although I didn't understand the problem, I suggest you to try the "trigger once while true" event to play the audio once.

event: ButtonEtat = 0 > (other actions)
sub-event: Trigger once > Play theme-rapids looping at volume 0 db (tag"")

If it doesn't fix the problem, please, share your capx.
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

Post » Wed Feb 17, 2016 1:23 pm

Omg, i never didn't see Trigger Once ^^

Thx you bro, you solved my problem ;)
B
6
S
1
Posts: 50
Reputation: 502


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests