I am thinking about how to make a marble game on iPhone. Whats the best way to play a "rolling" sound when the marble is rolling?
idea:
Ondraw: if (xvelocity > 0 && yvelocity > 0) playsound("marble_rolling"); hmmm. Will not work because playsound would be called every tick....
Andreas