Very stange, but it helps! (Sample Programs)

by cub256, Monday, February 02, 2015, 21:00 (842 days ago) @ cub256

Sometimes the ball moves very slow, stops when hitting the paddle and an error message appears. But it helps when I place something like 'wavplay "hit.wav"' at the start of the program:

# c12_sprite_paddleball.kbs
# paddleball game made with sprites
# sounds from
# http://www.freesound.org/people/NoiseCollector

wavplay "hit.wav"

print "paddleball game"
....

Even more strange, when I comment it out

# wavplay "hit.wav"

it still works!!!???


Complete thread:

 RSS Feed of thread

powered by my little forum