Is it possible to add sound when score distance is counting? I don't think it's possible but just wanna confirm thanks.
I think the best you could do is to use coin actions instead of distance and then you can add sound effect or music or whatever you want.
Hehe good thinking but i have both, score is based on distance and there are coins to collect to purchase characters.
Hmm maybe you can keep using distance score and place 0 coin actions to equal distances all over your scenes to make the sound...
Use event observers. Sample, on your UI_1, create an event observer that activates when distance = say 100. Connect it to UI_2(a copy of UI_1) with an intro sound. On UI_2, set the observer to 200... and so on. This works on regular intervals like every 50/100 but not on every single distance change. You can also do it like this: Sound every 50 distance until 500. Sound every 100 distance from 500 - 1000. Not an elegant solution but it works on short distances.
You can use coin action and set reward points, So have two coin actions one is set to coin reward 1 for your coins. and second action, opacity set to zero and have it reward point 1. and place apart at the required distance.