Forum Moderators: open
The code is as follows basically I want it to run the IF statement ONCE so when it sees that the posions are stoped play sound once!
// Sound when completly stopped
if (dots[i].dx == 0 &&
dots[i].dy == 0 &&
dots[i].dx == dots[i].dy)
{
playSound(2);
}
Any help is really appreciated!
Kind Regards
Walker