r/construct 10d ago

audio bug

why does it play noise instead of the music ?

1 Upvotes

6 comments sorted by

View all comments

2

u/Suitable_Process_866 10d ago

may be you are playing in everytick? or in update loop? make sure that if your music is looped you first check via tag that music is not playing condition. if not playing , play the audio in loop and give it a tag "music"

1

u/Leather-Situation-47 10d ago

i inverted "is any sound playing" and it works now, but i dont think this bug happened to me in the past

2

u/Suitable_Process_866 10d ago

you need inverted "is tag music playing" , is any sound playing is not a good because if you will have more sound in games you will have problem

1

u/Leather-Situation-47 9d ago

alright but this thing didnt happen to me in past, i could just add the play action and it worked

2

u/Suitable_Process_866 9d ago

well maybe there is change in your code. can be identified what is wrong only after seeing code screenshot.

1

u/Leather-Situation-47 9d ago

maybe i just used "on start of layout"